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