|
 |
50e7fc5 |
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
 |
50e7fc5 |
|
|
 |
aeaedec |
Summary: Library to access the contents of an iPod
|
|
 |
aeaedec |
Name: libgpod
|
|
 |
ac9f7f0 |
Version: 0.6.0
|
|
 |
cd6b67c |
Release: 3%{?dist}
|
|
 |
50e7fc5 |
License: LGPLv2+
|
|
 |
aeaedec |
Group: System Environment/Libraries
|
|
 |
aeaedec |
URL: http://www.gtkpod.org/libgpod.html
|
|
 |
50e7fc5 |
Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
|
|
 |
ac9f7f0 |
Patch0: libgpod-0.6.0-photoremove.patch
|
|
 |
ac9f7f0 |
Patch1: libgpod-0.6.0-ipod-touch-typos.patch
|
|
 |
ac9f7f0 |
Patch2: libgpod-0.6.0-spl-tracklen.patch
|
|
 |
aeaedec |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
 |
cd6b67c |
BuildRequires: docbook-style-xsl
|
|
 |
fbcec2d |
BuildRequires: glib2-devel
|
|
 |
fbcec2d |
BuildRequires: gtk2-devel
|
|
 |
fbcec2d |
BuildRequires: gettext
|
|
 |
ac9f7f0 |
BuildRequires: hal-devel
|
|
 |
50e7fc5 |
BuildRequires: libxslt
|
|
 |
fbcec2d |
BuildRequires: perl(XML::Parser)
|
|
 |
ac9f7f0 |
BuildRequires: pygobject2-devel
|
|
 |
50e7fc5 |
Buildrequires: python-devel
|
|
 |
50e7fc5 |
Buildrequires: python-mutagen
|
|
 |
ac9f7f0 |
Buildrequires: sg3_utils-devel
|
|
 |
50e7fc5 |
Buildrequires: swig
|
|
 |
aeaedec |
|
|
 |
aeaedec |
%description
|
|
 |
aeaedec |
Libgpod is a library to access the contents of an iPod. It supports playlists,
|
|
 |
ec80e5d |
smart playlists, playcounts, ratings, podcasts, album artwork, photos, etc.
|
|
 |
aeaedec |
|
|
 |
aeaedec |
|
|
 |
aeaedec |
%package devel
|
|
 |
aeaedec |
Summary: Development files for the libgpod library
|
|
 |
aeaedec |
Group: Development/Libraries
|
|
 |
4ff4459 |
Requires: %{name} = %{version}-%{release}
|
|
 |
4ff4459 |
Requires: pkgconfig
|
|
 |
aeaedec |
|
|
 |
aeaedec |
%description devel
|
|
 |
aeaedec |
Libgpod is a library to access the contents of an iPod. It supports playlists,
|
|
 |
ec80e5d |
smart playlists, playcounts, ratings, podcasts, album artwork, photos, etc.
|
|
 |
aeaedec |
|
|
 |
aeaedec |
This package contains the files required to develop programs that will use
|
|
 |
aeaedec |
libgpod.
|
|
 |
aeaedec |
|
|
 |
aeaedec |
|
|
 |
3915c86 |
%package doc
|
|
 |
3915c86 |
Summary: API documentation for the libgpod library
|
|
 |
3915c86 |
Group: Documentation
|
|
 |
3915c86 |
License: GFDL
|
|
 |
3915c86 |
Requires: gtk-doc
|
|
 |
3915c86 |
|
|
 |
3915c86 |
%description doc
|
|
 |
3915c86 |
Libgpod is a library to access the contents of an iPod. It supports playlists,
|
|
 |
3915c86 |
smart playlists, playcounts, ratings, podcasts, album artwork, photos, etc.
|
|
 |
3915c86 |
|
|
 |
3915c86 |
This package contains the API documentation.
|
|
 |
3915c86 |
|
|
 |
3915c86 |
|
|
 |
50e7fc5 |
%package -n python-gpod
|
|
 |
50e7fc5 |
Summary: Python module to access iPod content
|
|
 |
50e7fc5 |
Group: Development/Languages
|
|
 |
50e7fc5 |
Requires: %{name} = %{version}-%{release}
|
|
 |
50e7fc5 |
Requires: python-mutagen
|
|
 |
50e7fc5 |
|
|
 |
50e7fc5 |
%description -n python-gpod
|
|
 |
50e7fc5 |
A python module to access iPod content. This module provides bindings to the
|
|
 |
50e7fc5 |
libgpod library.
|
|
 |
50e7fc5 |
|
|
 |
50e7fc5 |
|
|
 |
aeaedec |
%prep
|
|
 |
50e7fc5 |
%setup -q
|
|
 |
ac9f7f0 |
%patch0 -p0 -b .photoremove
|
|
 |
ac9f7f0 |
%patch1 -p0 -b .ipod-touch-typos
|
|
 |
ac9f7f0 |
%patch2 -p0 -b .spl-tracklen
|
|
 |
50e7fc5 |
|
|
 |
50e7fc5 |
# remove execute perms on the python examples as they'll be installed in %doc
|
|
 |
50e7fc5 |
%{__chmod} -x bindings/python/examples/*.py
|
|
 |
aeaedec |
|
|
 |
aeaedec |
|
|
 |
aeaedec |
%build
|
|
 |
50e7fc5 |
%configure
|
|
 |
aeaedec |
%{__make} %{?_smp_mflags}
|
|
 |
aeaedec |
|
|
 |
aeaedec |
|
|
 |
aeaedec |
%install
|
|
 |
aeaedec |
%{__rm} -rf %{buildroot}
|
|
 |
50e7fc5 |
%{__make} DESTDIR=%{buildroot} install
|
|
 |
aeaedec |
%find_lang %{name}
|
|
 |
aeaedec |
|
|
 |
50e7fc5 |
# remove Makefiles from the python examples dir
|
|
 |
50e7fc5 |
%{__rm} -rf bindings/python/examples/Makefile*
|
|
 |
50e7fc5 |
|
|
 |
aeaedec |
|
|
 |
aeaedec |
%clean
|
|
 |
aeaedec |
%{__rm} -rf %{buildroot}
|
|
 |
aeaedec |
|
|
 |
50e7fc5 |
|
|
 |
e3cf9ee |
%post -p /sbin/ldconfig
|
|
 |
e3cf9ee |
%postun -p /sbin/ldconfig
|
|
 |
aeaedec |
|
|
 |
50e7fc5 |
|
|
 |
aeaedec |
%files -f %{name}.lang
|
|
 |
aeaedec |
%defattr(-, root, root, 0755)
|
|
 |
3915c86 |
%doc AUTHORS ChangeLog COPYING NEWS README*
|
|
 |
ac9f7f0 |
%{_bindir}/*
|
|
 |
aeaedec |
%{_libdir}/*.so.*
|
|
 |
ac9f7f0 |
%{_libdir}/hal/*
|
|
 |
ac9f7f0 |
%{_datadir}/hal/fdi/policy/20thirdparty/*.fdi
|
|
 |
aeaedec |
|
|
 |
50e7fc5 |
|
|
 |
aeaedec |
%files devel
|
|
 |
aeaedec |
%defattr(-, root, root, 0755)
|
|
 |
aeaedec |
%{_includedir}/gpod-1.0/
|
|
 |
aeaedec |
%{_libdir}/pkgconfig/libgpod-1.0.pc
|
|
 |
4ff4459 |
%exclude %{_libdir}/*.a
|
|
 |
aeaedec |
%exclude %{_libdir}/*.la
|
|
 |
aeaedec |
%{_libdir}/*.so
|
|
 |
aeaedec |
|
|
 |
aeaedec |
|
|
 |
3915c86 |
%files doc
|
|
 |
3915c86 |
%defattr(-, root, root, 0755)
|
|
 |
3915c86 |
%{_datadir}/gtk-doc/html/libgpod
|
|
 |
3915c86 |
|
|
 |
3915c86 |
|
|
 |
50e7fc5 |
%files -n python-gpod
|
|
 |
3915c86 |
%defattr(-, root, root, 0755)
|
|
 |
50e7fc5 |
%doc COPYING bindings/python/README bindings/python/examples
|
|
 |
50e7fc5 |
%{python_sitearch}/gpod
|
|
 |
50e7fc5 |
%exclude %{python_sitearch}/gpod/*.a
|
|
 |
50e7fc5 |
%exclude %{python_sitearch}/gpod/*.la
|
|
 |
50e7fc5 |
|
|
 |
50e7fc5 |
|
|
 |
aeaedec |
%changelog
|
|
 |
cd6b67c |
* Wed Dec 19 2007 Todd Zullinger <tmz@pobox.com> - 0.6.0-3
|
|
 |
cd6b67c |
- BR docbook-style-xsl to ensure the python docs are built correctly
|
|
 |
cd6b67c |
|
|
 |
3915c86 |
* Wed Dec 19 2007 Todd Zullinger <tmz@pobox.com> - 0.6.0-2
|
|
 |
3915c86 |
- add the NEWS file, which contains some info on getting newer iPods working
|
|
 |
3915c86 |
- split out API docs into a separate package
|
|
 |
3915c86 |
- set %%defattr for python-gpod
|
|
 |
3915c86 |
|
|
 |
ac9f7f0 |
* Wed Nov 21 2007 Todd Zullinger <tmz@pobox.com> - 0.6.0-1
|
|
 |
ac9f7f0 |
- update to 0.6.0
|
|
 |
ac9f7f0 |
- apply a few upstream patches that just missed the release
|
|
 |
ac9f7f0 |
|
|
 |
ecc9898 |
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 0.5.2-2
|
|
 |
ecc9898 |
- Rebuild for build ID
|
|
 |
ecc9898 |
|
|
 |
50e7fc5 |
* Sat Aug 04 2007 Todd Zullinger <tmz@pobox.com> - 0.5.2-1
|
|
 |
50e7fc5 |
- update to 0.5.2
|
|
 |
50e7fc5 |
- replace %%makeinstall with %%{__make} DESTDIR=%%{buildroot} install
|
|
 |
50e7fc5 |
- build python bindings, merging python-gpod package from extras
|
|
 |
50e7fc5 |
- make %%setup quiet
|
|
 |
50e7fc5 |
- patch to fixup building of the python docs, BR libxslt
|
|
 |
50e7fc5 |
- update license tag
|
|
 |
50e7fc5 |
|
|
 |
ec80e5d |
* Tue Jan 16 2007 Alexander Larsson <alexl@redhat.com> - 0.4.2-1
|
|
 |
ec80e5d |
- update to 0.4.2
|
|
 |
ec80e5d |
- Change %%description to reflect newer features
|
|
 |
ec80e5d |
- Remove TODO file from %%doc as it's not included anymore
|
|
 |
ec80e5d |
- Explicitly disable the python bindings, they are in the python-gpod package in
|
|
 |
ec80e5d |
Extras until the Core/Extras merge
|
|
 |
ec80e5d |
|
|
 |
e3cf9ee |
* Mon Nov 20 2006 Alexander Larsson <alexl@redhat.com> - 0.4.0-2
|
|
 |
e3cf9ee |
- Add ldconfig calls in post/postun
|
|
 |
e3cf9ee |
|
|
 |
4ff4459 |
* Mon Nov 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.4.0-1
|
|
 |
4ff4459 |
- Update to 0.4.0
|
|
 |
4ff4459 |
- Include docs in the -devel package
|
|
 |
4ff4459 |
- Don't ship static libraries
|
|
 |
4ff4459 |
|
|
 |
aabfd90 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-3.1
|
|
 |
aabfd90 |
- rebuild
|
|
 |
aabfd90 |
|
|
 |
35532c9 |
* Tue Jun 06 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-3
|
|
 |
35532c9 |
- Add missing BR of perl-XML-Parser
|
|
 |
35532c9 |
|
|
 |
ab2cdf9 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-2.2
|
|
 |
ab2cdf9 |
- bump again for double-long bug on ppc(64)
|
|
 |
ab2cdf9 |
|
|
 |
15263f4 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-2.1
|
|
 |
15263f4 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
 |
15263f4 |
|
|
 |
aeaedec |
* Wed Jan 04 2006 John (J5) Palmieri <johnp@redhat.com> 0.3.0-2
|
|
 |
aeaedec |
- Modified Matthias Saou's SPEC file found on freshrpms.net
|
|
 |
aeaedec |
- Added to Fedora Core
|
|
 |
aeaedec |
|
|
 |
aeaedec |
* Mon Dec 19 2005 Matthias Saou <http://freshrpms.net/> 0.3.0-1
|
|
 |
aeaedec |
- Initial RPM release.
|
|
 |
aeaedec |
|