rpms/libgpod/devel libgpod.spec,1.31,1.32

Bastien Nocera hadess at fedoraproject.org
Thu Mar 4 15:43:49 UTC 2010


Author: hadess

Update of /cvs/pkgs/rpms/libgpod/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24500

Modified Files:
	libgpod.spec 
Log Message:
fix patch application


Index: libgpod.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libgpod/devel/libgpod.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -p -r1.31 -r1.32
--- libgpod.spec	4 Mar 2010 14:54:31 -0000	1.31
+++ libgpod.spec	4 Mar 2010 15:43:49 -0000	1.32
@@ -8,8 +8,6 @@ License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtkpod.org/libgpod.html
 Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
-# See http://www.redhat.com/archives/fedora-selinux-list/2009-January/msg00005.html
-Patch0: 0001-Make-the-temporary-mount-point-configurable.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: docbook-style-xsl
 BuildRequires: glib2-devel
@@ -31,6 +29,10 @@ BuildRequires: libimobiledevice-devel
 BuildRequires: swig
 Requires: udev
 
+# See http://www.redhat.com/archives/fedora-selinux-list/2009-January/msg00005.html
+Patch0: 0001-Make-the-temporary-mount-point-configurable.patch
+BuildRequires: automake autoconf libtool intltool
+
 %description
 Libgpod is a library to access the contents of an iPod. It supports playlists,
 smart playlists, playcounts, ratings, podcasts, album artwork, photos, etc.
@@ -83,6 +85,7 @@ libgpod library.
 %prep
 %setup -q
 %patch0 -p1 -b .mount-dir
+autoreconf -f
 
 # remove execute perms on the python examples as they'll be installed in %doc
 %{__chmod} -x bindings/python/examples/*.py
@@ -101,6 +104,7 @@ libgpod library.
 # remove Makefiles from the python examples dir
 %{__rm} -rf bindings/python/examples/Makefile*
 
+%{__mkdir_p} %{buildroot}/%{_localstatedir}/run/libgpod
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -115,10 +119,10 @@ libgpod library.
 %doc AUTHORS ChangeLog COPYING NEWS README*
 %{_bindir}/*
 %{_libdir}/*.so.*
+%dir %{_localstatedir}/run/libgpod/
 /lib/udev/iphone-set-info
 /lib/udev/ipod-set-info
 /lib/udev/rules.d/libgpod.rules
-%dir %{_localstatedir}/run/libgpod
 
 %files devel
 %defattr(-, root, root, 0755)



More information about the scm-commits mailing list