source: projects/specs/trunk/lib/libi/libimobiledevice/libimobiledevice-vl.spec @ 9910

Revision 9910, 7.2 KB checked in by tomop, 8 years ago (diff)

libimobiledevice-1.2.0-2

Line 
1%bcond_with python
2
3Name:          libimobiledevice
4Version:       1.2.0
5Release:       2%{?_dist_release}
6Summary:       Library for connecting to mobile devices
7Summary(ja):   モバイルデバイスに接続するためのライブラリ
8
9Group:         System Environment/Libraries
10License:       LGPLv2+
11URL:           http://www.libimobiledevice.org/
12
13Source0:       http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
14# for gnutls-3.4
15Patch0:        issue225.patch
16
17
18BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires: automake
20BuildRequires: autoconf
21BuildRequires: libxml2-devel
22BuildRequires: libusb1-devel
23BuildRequires: libtasn1-devel
24BuildRequires: libplist-devel >= 1.11
25BuildRequires: libplist-python
26BuildRequires: glib2-devel
27BuildRequires: gnutls-devel
28BuildRequires: python-devel
29%if %{with python}
30BuildRequires: Cython
31%endif
32BuildRequires: swig
33BuildRequires: libusbmuxd-devel >= 1.0.9
34BuildRequires: libgcrypt-devel
35#BuildRequires: readline-devel
36
37Provides: libiphone = %{version}
38Obsoletes: libiphone < 0.9.7
39
40Vendor: Project Vine
41Distribution: Vine Linux
42Packager: daisuke
43
44%description
45libimobiledevice is a library for connecting to mobile devices including phones
46and music players
47
48%package devel
49Summary: Development package for libimobiledevice
50Summary(ja): libimobiledevice の開発用パッケージ
51Group: Development/Libraries
52Requires: %{name} = %{version}-%{release}
53Provides: libiphone-devel = %{version}
54Obsoletes: libiphone-devel < 0.9.7
55
56%description devel
57Files for development with libimobiledevice.
58
59%package python
60Summary: Python bindings for libimobiledevice
61Summary(ja): libimobiledevice の Python バインディング
62Group: System Environment/Libraries
63Requires: %{name} = %{version}-%{release}
64Provides: libiphone-python = %{version}
65Obsoletes: libiphone-python < 0.9.7
66
67%description python
68Python bindings for libimobiledevice.
69
70%prep
71%setup -q
72
73%patch0 -p1
74
75# Fix dir permissions on html docs
76chmod +x docs/html
77
78%build
79aclocal
80automake --add-missing --copy
81autoconf
82
83%configure \
84  --disable-static \
85  --disable-openssl \
86%if %{with python}
87  --without-cython \
88  --without-python \
89%endif
90  ;
91
92sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
93sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
94
95make %{?_smp_mflags} V=1
96
97%install
98rm -rf %{buildroot}
99make install DESTDIR=%{buildroot}
100
101#Remove libtool archives.
102find %{buildroot} -name '*.la' -exec rm -f {} ';'
103
104%clean
105rm -rf %{buildroot}
106
107%post -p /sbin/ldconfig
108
109%postun -p /sbin/ldconfig
110
111%files
112%defattr(-,root,root,-)
113%doc AUTHORS COPYING.LESSER README
114%doc %{_datadir}/man/man1/idevice*
115%{_bindir}/idevice*
116%{_libdir}/libimobiledevice.so.*
117
118%files devel
119%defattr(-,root,root,-)
120%doc docs/html/
121%{_libdir}/pkgconfig/libimobiledevice-1.0.pc
122%{_libdir}/libimobiledevice.so
123%{_includedir}/libimobiledevice/
124
125%if %{with python}
126%files python
127%defattr(-,root,root,-)
128%{python_sitearch}/imobiledevice.so
129%endif
130
131%changelog
132* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
133- built with gnutls-3.4.x.
134
135* Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.0-1
136- new upstream release
137
138* Tue Jul 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.1.6-1
139- update to 1.1.6
140- add BR: libusbmuxd-devel >= 1.0.9, libgcrypt-devel, readline-devel
141- disable python
142- disable openssl
143
144* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-2
145- rebuild with VineSeed environment
146- add Patch2 (libimobiledevice-1.1.5-cython.patch)
147
148* Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-1
149- new upstream release
150
151* Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-1
152- new upstream release
153- add BuildRequires: openssl-devel, Cython
154- add Patch1 (libimobiledevice-1.1.4-pkgconfig.patch)
155
156* Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-2
157- rebuild with python-2.7.2
158
159* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
160- new upstream release
161
162* Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
163- new upstream release
164
165* Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
166- new upstream release
167
168* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.2-2
169- rebuilt with rpm-4.8.1 for pkg-config
170
171* Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
172- new upstream release
173
174* Sat May 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-2
175- updated devel package Requires
176
177* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
178- initial build for Vine Linux
179
180* Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
181- New upstream stable 1.0.0 release
182
183* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
184- Add patch to fix DSO linking. Fixes bug 565084
185
186* Wed Feb  3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
187- Package review updates, add developer docs
188
189* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1
190- New package for new library name. Update to 0.9.7
191
192* Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1
193- Update to 0.9.6 release
194
195* Sat Jan  9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3
196- Updated to the new python sysarch spec file reqs
197
198* Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2
199- Update python bindings
200
201* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1
202- Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final
203
204* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3
205- Rebuild for libplist .so bump
206
207* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2
208- Update from libusb to libusb1
209
210* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1
211- Update to 0.9.4 release for new usbmuxd 1.0.0-rc1
212
213* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1
214- Update to 0.9.3 release
215
216* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
217- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
218
219* Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2
220- Add new build reqs
221
222* Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1
223- Update to official 0.9.1 release
224
225* Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8
226- Update to latest master version
227
228* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554
229- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
230
231* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554
232- Add back gnutls version patch
233
234* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554
235- Upload bzipped source file
236
237* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554
238- New git snapshot
239
240* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
241- Fix devel dependency
242
243* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
244- Fix gnutls check for new rawhide version
245
246* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
247- Rebuild for pkgconfig
248
249* Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e
250- Fix git file generation
251
252* Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e
253- Updates for package review
254
255* Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1
256- Initial package
Note: See TracBrowser for help on using the repository browser.