rpms/libgpod/FC-6 .cvsignore, 1.2, 1.3 libgpod.spec, 1.5, 1.6 sources, 1.2, 1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 16 09:49:32 UTC 2007


Author: alexl

Update of /cvs/dist/rpms/libgpod/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv24874

Modified Files:
	.cvsignore libgpod.spec sources 
Log Message:
* Sun Jan 14 2007 Todd Zullinger <tmz at pobox.com> - 0.4.2-0.1
- Update to 0.4.2
- Change %description to reflect newer features
- Make %setup quiet
- Remove TODO file from %doc as it's not included anymore
- Explicitly disable the python bindings, they are in the python-gpod package in
  Extras until the Core/Extras merge
- Add compatibility package for libgpod-0.3.2



Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/libgpod/FC-6/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	4 Jan 2006 19:08:33 -0000	1.2
+++ .cvsignore	16 Jan 2007 09:49:30 -0000	1.3
@@ -1 +1,2 @@
-libgpod-0.3.0.tar.gz
+libgpod-0.4.2.tar.gz
+libgpod-0.3.2.tar.gz


Index: libgpod.spec
===================================================================
RCS file: /cvs/dist/rpms/libgpod/FC-6/libgpod.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libgpod.spec	12 Jul 2006 06:52:52 -0000	1.5
+++ libgpod.spec	16 Jan 2007 09:49:30 -0000	1.6
@@ -1,66 +1,133 @@
+%define compat_ver 0.3.2
+
 Summary: Library to access the contents of an iPod
 Name: libgpod
-Version: 0.3.0
-Release: 3.1
+Version: 0.4.2
+Release: 0.1%{?dist}
 License: LGPL
 Group: System Environment/Libraries
 URL: http://www.gtkpod.org/libgpod.html
-Source: libgpod-%{version}.tar.gz
+Source0: http://prdownloads.sf.net/gtkpod/libgpod-%{version}.tar.gz
+Source1: http://prdownloads.sf.net/gtkpod/libgpod-%{compat_ver}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: glib2-devel, gettext, perl(XML::Parser)
+BuildRequires: glib2-devel
+BuildRequires: gtk2-devel
+BuildRequires: gettext
+BuildRequires: perl(XML::Parser)
 
 %description
 Libgpod is a library to access the contents of an iPod. It supports playlists,
-smart playlists, playcounts, ratings, podcasts etc.
+smart playlists, playcounts, ratings, podcasts, album artwork, photos, etc.
 
 
 %package devel
 Summary: Development files for the libgpod library
 Group: Development/Libraries
-Requires: %{name} = %{version}, pkgconfig
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
 
 %description devel
 Libgpod is a library to access the contents of an iPod. It supports playlists,
-smart playlists, playcounts, ratings, podcasts etc.
+smart playlists, playcounts, ratings, podcasts, album artwork, photos, etc.
 
 This package contains the files required to develop programs that will use
 libgpod.
 
 
+%package -n compat-libgpod
+Summary: Library to access the contents of an iPod
+Group: System Environment/Libraries
+Version: %{compat_ver}
+
+%description -n compat-libgpod
+Libgpod is a library to access the contents of an iPod. It supports playlists,
+smart playlists, playcounts, ratings, podcasts, album artwork, photos, etc.
+
+This is a compatibility package for applications that require an older libgpod.
+
+
 %prep
-%setup
+%setup -q -a 1
 
+pushd %{name}-%{compat_ver}
+sed -e 's/PACKAGE=libgpod/PACKAGE=compat-%{name}/' \
+    -e 's/GETTEXT_PACKAGE=libgpod/GETTEXT_PACKAGE=compat-%{name}/' \
+    -i configure
+popd
 
 %build
+pushd %{name}-%{compat_ver}
 %configure
 %{__make} %{?_smp_mflags}
+popd
+
+%configure --without-python
+%{__make} %{?_smp_mflags}
 
 
 %install
 %{__rm} -rf %{buildroot}
+pushd %{name}-%{compat_ver}
+%makeinstall
+popd
+
 %makeinstall
+
 %find_lang %{name}
+%find_lang compat-%{name}
 
 
 %clean
 %{__rm} -rf %{buildroot}
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post -n compat-libgpod -p /sbin/ldconfig
+%postun -n compat-libgpod -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(-, root, root, 0755)
-%doc AUTHORS ChangeLog COPYING README TODO
-%{_libdir}/*.so.*
+%doc AUTHORS ChangeLog COPYING README
+%{_libdir}/*.so.1*
 
 %files devel
 %defattr(-, root, root, 0755)
 %{_includedir}/gpod-1.0/
 %{_libdir}/pkgconfig/libgpod-1.0.pc
-%{_libdir}/*.a
+%{_datadir}/gtk-doc/html/libgpod
+%exclude %{_libdir}/*.a
 %exclude %{_libdir}/*.la
 %{_libdir}/*.so
 
+%files -n compat-libgpod -f compat-libgpod.lang
+%defattr(-, root, root, 0755)
+%doc libgpod-%{compat_ver}/AUTHORS
+%doc libgpod-%{compat_ver}/ChangeLog
+%doc libgpod-%{compat_ver}/COPYING
+%doc libgpod-%{compat_ver}/README
+%doc libgpod-%{compat_ver}/TODO
+%{_libdir}/*.so.0*
+
 
 %changelog
+* Sun Jan 14 2007 Todd Zullinger <tmz at pobox.com> - 0.4.2-0.1
+- Update to 0.4.2
+- Change %%description to reflect newer features
+- Make %%setup quiet
+- Remove TODO file from %%doc as it's not included anymore
+- Explicitly disable the python bindings, they are in the python-gpod package in
+  Extras until the Core/Extras merge
+- Add compatibility package for libgpod-0.3.2
+
+* Mon Nov 20 2006 Alexander Larsson <alexl at redhat.com> - 0.4.0-2
+- Add ldconfig calls in post/postun
+
+* Mon Nov 13 2006 Matthias Clasen <mclasen at redhat.com> - 0.4.0-1
+- Update to 0.4.0
+- Include docs in the -devel package
+- Don't ship static libraries
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 0.3.0-3.1
 - rebuild
 


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/libgpod/FC-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	4 Jan 2006 19:08:33 -0000	1.2
+++ sources	16 Jan 2007 09:49:30 -0000	1.3
@@ -1 +1,2 @@
-bdb4f727f062f957dc227dae8348647c  libgpod-0.3.0.tar.gz
+c3c031dc6f1f6eff422598c84f2621bd  libgpod-0.4.2.tar.gz
+c9c41625347a33efd9441c4e71fdd04e  libgpod-0.3.2.tar.gz




More information about the fedora-cvs-commits mailing list