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