diff --git a/libgpod.spec b/libgpod.spec index e5ee024..138598c 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -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)