| 1 | Summary: Library to access the iPod |
|---|
| 2 | Summary(ja): iPod にアクセスするためのライブラリ |
|---|
| 3 | Name: libgpod |
|---|
| 4 | Version: 0.7.93 |
|---|
| 5 | Release: 2%{?_dist_release} |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: LGPL |
|---|
| 8 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 9 | |
|---|
| 10 | Source: %{name}-%{version}.tar.gz |
|---|
| 11 | URL: http://www.gtkpod.org/libgpod.html |
|---|
| 12 | |
|---|
| 13 | BuildRequires: docbook-style-xsl |
|---|
| 14 | BuildRequires: glib2-devel |
|---|
| 15 | BuildRequires: gtk2-devel |
|---|
| 16 | BuildRequires: gettext |
|---|
| 17 | BuildRequires: intltool |
|---|
| 18 | BuildRequires: libimobiledevice-devel >= 1.0.2 |
|---|
| 19 | BuildRequires: libplist-devel >= 1.0 |
|---|
| 20 | BuildRequires: libusb1-devel |
|---|
| 21 | BuildRequires: libxml2-devel |
|---|
| 22 | BuildRequires: libxslt |
|---|
| 23 | BuildRequires: libffi-devel |
|---|
| 24 | BuildRequires: perl(XML::Parser) |
|---|
| 25 | BuildRequires: pygobject-devel |
|---|
| 26 | BuildRequires: python-devel |
|---|
| 27 | BuildRequires: python-mutagen |
|---|
| 28 | BuildRequires: sg3_utils-devel |
|---|
| 29 | BuildRequires: sqlite3-devel |
|---|
| 30 | BuildRequires: swig |
|---|
| 31 | Requires: udev |
|---|
| 32 | |
|---|
| 33 | Vendor: Project Vine |
|---|
| 34 | Distribution: Vine Linux |
|---|
| 35 | Packager: daisuke |
|---|
| 36 | |
|---|
| 37 | %description |
|---|
| 38 | libgpod is a library meant to abstract access to an iPod content. It |
|---|
| 39 | provides an easy to use API to retrieve the list of files and playlist |
|---|
| 40 | stored on an iPod, to modify them and to save them back to the iPod. |
|---|
| 41 | |
|---|
| 42 | %package devel |
|---|
| 43 | Summary: Support files necessary to compile applications with libgpod. |
|---|
| 44 | Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル. |
|---|
| 45 | Group: Development/Libraries |
|---|
| 46 | Requires: libgpod = %{version}-%{release} |
|---|
| 47 | Requires: glib2-devel |
|---|
| 48 | Requires: gtk2-devel |
|---|
| 49 | |
|---|
| 50 | %description devel |
|---|
| 51 | Libraries, headers, and support files necessary to compile applications |
|---|
| 52 | using libgpod. |
|---|
| 53 | |
|---|
| 54 | %description -l ja devel |
|---|
| 55 | libgpod を使ったアプリケーションのコンパイルに必要なライブラリ, |
|---|
| 56 | ヘッダファイルなどが含まれています. |
|---|
| 57 | |
|---|
| 58 | %package -n python-gpod |
|---|
| 59 | Summary: Python module to access iPod content |
|---|
| 60 | Group: Development/Languages |
|---|
| 61 | Requires: %{name} = %{version}-%{release} |
|---|
| 62 | Requires: python-mutagen |
|---|
| 63 | |
|---|
| 64 | %description -n python-gpod |
|---|
| 65 | A python module to access iPod content. This module provides bindings |
|---|
| 66 | to the libgpod library. |
|---|
| 67 | |
|---|
| 68 | |
|---|
| 69 | %prep |
|---|
| 70 | %setup -q |
|---|
| 71 | |
|---|
| 72 | %build |
|---|
| 73 | %configure \ |
|---|
| 74 | --without-hal \ |
|---|
| 75 | --enable-udev \ |
|---|
| 76 | --with-temp-mount-dir=%{_localstatedir}/run/%{name} |
|---|
| 77 | make %{?_smp_mflags} |
|---|
| 78 | |
|---|
| 79 | %install |
|---|
| 80 | if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
|---|
| 81 | |
|---|
| 82 | make DESTDIR=%{buildroot} install |
|---|
| 83 | |
|---|
| 84 | %find_lang %{name} |
|---|
| 85 | |
|---|
| 86 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
|---|
| 87 | rm -f $RPM_BUILD_ROOT%{python_sitearch}/gpod/*.{a,la} |
|---|
| 88 | |
|---|
| 89 | %clean |
|---|
| 90 | if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
|---|
| 91 | |
|---|
| 92 | %post -p /sbin/ldconfig |
|---|
| 93 | |
|---|
| 94 | %postun -p /sbin/ldconfig |
|---|
| 95 | |
|---|
| 96 | %files -f %{name}.lang |
|---|
| 97 | %defattr(-, root, root, 0755) |
|---|
| 98 | %doc AUTHORS ChangeLog COPYING README |
|---|
| 99 | %{_bindir}/* |
|---|
| 100 | %{_libdir}/lib*.so.* |
|---|
| 101 | %dir %{_localstatedir}/run/%{name} |
|---|
| 102 | /lib/udev/iphone-set-info |
|---|
| 103 | /lib/udev/ipod-set-info |
|---|
| 104 | /lib/udev/rules.d/*.rules |
|---|
| 105 | |
|---|
| 106 | %files devel |
|---|
| 107 | %defattr(-, root, root, 0755) |
|---|
| 108 | %{_libdir}/lib*.so |
|---|
| 109 | %{_libdir}/pkgconfig/*.pc |
|---|
| 110 | %{_includedir}/gpod-1.0/ |
|---|
| 111 | %{_datadir}/gtk-doc/html/%{name} |
|---|
| 112 | |
|---|
| 113 | %files -n python-gpod |
|---|
| 114 | %defattr(-, root, root, 0755) |
|---|
| 115 | %doc COPYING bindings/python/README bindings/python/examples |
|---|
| 116 | %{python_sitearch}/gpod |
|---|
| 117 | |
|---|
| 118 | %changelog |
|---|
| 119 | * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.7.93-2 |
|---|
| 120 | - rebuilt with rpm-4.8.1 for pkg-config |
|---|
| 121 | |
|---|
| 122 | * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.93-1 |
|---|
| 123 | - new upstream release |
|---|
| 124 | - add configure option (disable hal, enable udev, specify temp mount dir) |
|---|
| 125 | - add python subpackage |
|---|
| 126 | - add BR: |
|---|
| 127 | |
|---|
| 128 | * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1 |
|---|
| 129 | - new upstream release |
|---|
| 130 | - remove static library |
|---|
| 131 | |
|---|
| 132 | * Sat Oct 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-3vl5 |
|---|
| 133 | - added BuildRequires: libffi-devel |
|---|
| 134 | |
|---|
| 135 | * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.0-2vl5 |
|---|
| 136 | - spec in utf-8 |
|---|
| 137 | |
|---|
| 138 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1vl5 |
|---|
| 139 | - applied new versioning policy |
|---|
| 140 | |
|---|
| 141 | * Thu Jan 03 2008 Satoshi MACHINO <machino@vinelinux.org> 0.6.0-0vl1 |
|---|
| 142 | - new upstream release |
|---|
| 143 | |
|---|
| 144 | * Tue May 29 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.4.2-0vl2 |
|---|
| 145 | - for VineSeedPlus |
|---|
| 146 | - new upstream release |
|---|
| 147 | - built with new toolchain |
|---|
| 148 | |
|---|
| 149 | * Sun Oct 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1 |
|---|
| 150 | - new upstream release |
|---|
| 151 | - build with dbus-0.62 |
|---|
| 152 | |
|---|
| 153 | * Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1 |
|---|
| 154 | - new upstream release |
|---|
| 155 | - build with dbus-0.61 |
|---|
| 156 | |
|---|
| 157 | * Wed Dec 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl1 |
|---|
| 158 | - initial package |
|---|