|
@@ -1,7 +1,7 @@
|
|
Summary: Library to access the iPod
|
|
Summary: Library to access the iPod
|
|
Summary(ja): iPod にアクセスするためのライブラリ
|
|
Summary(ja): iPod にアクセスするためのライブラリ
|
|
Name: libgpod
|
|
Name: libgpod
|
|
-Version: 0.7.2
|
|
|
|
|
|
+Version: 0.7.93
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: LGPL
|
|
License: LGPL
|
|
@@ -10,10 +10,29 @@ Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Source: %{name}-%{version}.tar.gz
|
|
Source: %{name}-%{version}.tar.gz
|
|
URL: http://www.gtkpod.org/libgpod.html
|
|
URL: http://www.gtkpod.org/libgpod.html
|
|
|
|
|
|
-BuildRequires: glib2-devel >= 2.8.0
|
|
|
|
|
|
+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: libffi-devel
|
|
-#BuildRequires: dbus-devel >= 0.61
|
|
|
|
-BuildRequires: gtk-doc
|
|
|
|
|
|
+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
|
|
%description
|
|
libgpod is a library meant to abstract access to an iPod content. It
|
|
libgpod is a library meant to abstract access to an iPod content. It
|
|
@@ -25,7 +44,8 @@ Summary: Support files necessary to compile applications with libgpod.
|
|
Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル.
|
|
Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル.
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: libgpod = %{version}-%{release}
|
|
Requires: libgpod = %{version}-%{release}
|
|
-Requires: glib2-devel >= 2.8.0
|
|
|
|
|
|
+Requires: glib2-devel
|
|
|
|
+Requires: gtk2-devel
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
Libraries, headers, and support files necessary to compile applications
|
|
Libraries, headers, and support files necessary to compile applications
|
|
@@ -35,21 +55,36 @@ using libgpod.
|
|
libgpod を使ったアプリケーションのコンパイルに必要なライブラリ,
|
|
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
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure
|
|
|
|
|
|
+%configure \
|
|
|
|
+ --without-hal \
|
|
|
|
+ --enable-udev \
|
|
|
|
+ --with-temp-mount-dir=%{_localstatedir}/run/%{name}
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
|
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
|
|
|
|
|
-%makeinstall
|
|
|
|
|
|
+make DESTDIR=%{buildroot} install
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
|
|
|
|
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/gpod/*.{a,la}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
|
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
|
@@ -59,18 +94,34 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
-%defattr(644,root,root,755)
|
|
|
|
|
|
+%defattr(-, root, root, 0755)
|
|
%doc AUTHORS ChangeLog COPYING README
|
|
%doc AUTHORS ChangeLog COPYING README
|
|
|
|
+%{_bindir}/*
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/lib*.so.*
|
|
|
|
+%dir %{_localstatedir}/run/%{name}
|
|
|
|
+/lib/udev/iphone-set-info
|
|
|
|
+/lib/udev/ipod-set-info
|
|
|
|
+/lib/udev/rules.d/*.rules
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
-%defattr(644,root,root,755)
|
|
|
|
|
|
+%defattr(-, root, root, 0755)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
-%{_includedir}/*
|
|
|
|
-%{_datadir}/gtk-doc/html/libgpod
|
|
|
|
|
|
+%{_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
|
|
%changelog
|
|
|
|
+* Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 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 <daisuke@linux.or.jp> 0.7.2-1
|
|
* Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- remove static library
|
|
- remove static library
|