Summary: Library to access the iPod Summary(ja): iPod にアクセスするためのライブラリ Name: libgpod Version: 0.8.0 Release: 2%{?_dist_release} Group: System Environment/Libraries License: LGPLv2+ URL: http://www.gtkpod.org/libgpod.html Source: %{name}-%{version}.tar.gz Patch0: libgpod-0.8.0-x86-32.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: docbook-style-xsl BuildRequires: glib2-devel BuildRequires: gtk2-devel BuildRequires: gettext BuildRequires: intltool BuildRequires: libimobiledevice-devel >= 1.0.2 BuildRequires: libplist-devel >= 1.0 BuildRequires: libusb1-devel BuildRequires: libxml2-devel BuildRequires: libxslt BuildRequires: libffi-devel BuildRequires: perl(XML::Parser) BuildRequires: pygobject-devel BuildRequires: python-devel BuildRequires: python-mutagen BuildRequires: sg3_utils-devel BuildRequires: sqlite3-devel BuildRequires: swig Requires: udev Vendor: Project Vine Distribution: Vine Linux Packager: daisuke %description libgpod is a library meant to abstract access to an iPod content. It provides an easy to use API to retrieve the list of files and playlist stored on an iPod, to modify them and to save them back to the iPod. %description -l ja libgpod は iPod のコンテンツにアクセスするためのライブラリです。 iPod に格納されているファイルリストやプレイリストを取得し、変更し、 iPod に書き戻すための API が提供されています。 %package devel Summary: Support files necessary to compile applications with libgpod. Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル. Group: Development/Libraries Requires: libgpod = %{version}-%{release} Requires: glib2-devel Requires: gtk2-devel %description devel Libraries, headers, and support files necessary to compile applications using libgpod. %description -l ja devel libgpod を使ったアプリケーションのコンパイルに必要なライブラリ, ヘッダファイルなどが含まれています. %package -n python-gpod Summary: Python module to access iPod content Group: Development/Languages Requires: %{name} = %{version}-%{release} Requires: python-mutagen %description -n python-gpod A python module to access iPod content. This module provides bindings to the libgpod library. %prep %setup -q %patch0 -p1 -b .x86-32 chmod -x bindings/python/examples/*.py %build %configure \ --without-hal \ --enable-udev \ --with-temp-mount-dir=%{_localstatedir}/run/%{name} make %{?_smp_mflags} %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi make DESTDIR=%{buildroot} install %find_lang %{name} rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} rm -f $RPM_BUILD_ROOT%{python_sitearch}/gpod/*.{a,la} %clean if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING README %{_bindir}/* %{_libdir}/lib*.so.* %dir %{_localstatedir}/run/%{name} /lib/udev/iphone-set-info /lib/udev/ipod-set-info /lib/udev/rules.d/*.rules %files devel %defattr(-, root, root, 0755) %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/gpod-1.0/ %{_datadir}/gtk-doc/html/%{name} %files -n python-gpod %defattr(-, root, root, 0755) %doc COPYING bindings/python/README bindings/python/examples %{python_sitearch}/gpod %changelog * Fri Jul 28 2012 Daisuke SUZUKI 0.8.0-2 - rebuild to remove unexpected dependency * Fri Jun 10 2011 Daisuke SUZUKI 0.8.0-1 - update to 0.8.0 * Tue Sep 28 2010 Shu KONNO 0.7.93-2 - rebuilt with rpm-4.8.1 for pkg-config * Sat Jun 26 2010 Daisuke SUZUKI 0.7.93-1 - new upstream release - add configure option (disable hal, enable udev, specify temp mount dir) - add python subpackage - add BR: * Wed Jun 10 2009 Daisuke SUZUKI 0.7.2-1 - new upstream release - remove static library * Sat Oct 11 2008 Ryoichi INAGAKI 0.6.0-3vl5 - added BuildRequires: libffi-devel * Thu Oct 09 2008 Shu KONNO 0.6.0-2vl5 - spec in utf-8 * Thu Apr 10 2008 Ryoichi INAGAKI 0.6.0-1vl5 - applied new versioning policy * Thu Jan 03 2008 Satoshi MACHINO 0.6.0-0vl1 - new upstream release * Tue May 29 2007 MATSUBAYASHI Kohji 0.4.2-0vl2 - for VineSeedPlus - new upstream release - built with new toolchain * Sun Oct 1 2006 Ryoichi INAGAKI 0.4.0-0vl1 - new upstream release - build with dbus-0.62 * Mon Mar 13 2006 Daisuke SUZUKI 0.3.2-0vl1 - new upstream release - build with dbus-0.61 * Wed Dec 14 2005 Ryoichi INAGAKI 0.3.0-0vl1 - initial package