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

RevLine 
[8766]1%bcond_with python
2
[909]3Name:          libimobiledevice
[9572]4Version:       1.2.0
[9910]5Release:       2%{?_dist_release}
[909]6Summary:       Library for connecting to mobile devices
7Summary(ja):   モバイルデバイスに接続するためのライブラリ
8
9Group:         System Environment/Libraries
10License:       LGPLv2+
[6011]11URL:           http://www.libimobiledevice.org/
[909]12
[9572]13Source0:       http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
[9910]14# for gnutls-3.4
15Patch0:        issue225.patch
[6011]16
[9910]17
[909]18BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
[9910]19BuildRequires: automake
20BuildRequires: autoconf
[909]21BuildRequires: libxml2-devel
22BuildRequires: libusb1-devel
23BuildRequires: libtasn1-devel
[8766]24BuildRequires: libplist-devel >= 1.11
25BuildRequires: libplist-python
[909]26BuildRequires: glib2-devel
27BuildRequires: gnutls-devel
28BuildRequires: python-devel
[8766]29%if %{with python}
[6011]30BuildRequires: Cython
[8766]31%endif
[909]32BuildRequires: swig
[8766]33BuildRequires: libusbmuxd-devel >= 1.0.9
34BuildRequires: libgcrypt-devel
[9572]35#BuildRequires: readline-devel
[909]36
37Provides: libiphone = %{version}
38Obsoletes: libiphone < 0.9.7
39
[4616]40Vendor: Project Vine
41Distribution: Vine Linux
[8766]42Packager: daisuke
[4616]43
[909]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
[1060]50Summary(ja): libimobiledevice の開発用パッケージ
[909]51Group: Development/Libraries
[6011]52Requires: %{name} = %{version}-%{release}
[909]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
[1060]61Summary(ja): libimobiledevice の Python バインディング
[9572]62Group: System Environment/Libraries
[6011]63Requires: %{name} = %{version}-%{release}
[909]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
[9910]73%patch0 -p1
74
[909]75# Fix dir permissions on html docs
76chmod +x docs/html
77
[8766]78%build
[9910]79aclocal
80automake --add-missing --copy
81autoconf
82
[8766]83%configure \
84  --disable-static \
85  --disable-openssl \
86%if %{with python}
87  --without-cython \
88  --without-python \
89%endif
[9572]90  ;
[5701]91
[909]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*
[1246]116%{_libdir}/libimobiledevice.so.*
[909]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
[8766]125%if %{with python}
[909]126%files python
127%defattr(-,root,root,-)
[6011]128%{python_sitearch}/imobiledevice.so
[8766]129%endif
[909]130
131%changelog
[9910]132* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
133- built with gnutls-3.4.x.
134
[9572]135* Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.0-1
136- new upstream release
137
[8766]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
[8119]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
[7582]148* Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-1
149- new upstream release
150
[6011]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
[5701]156* Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-2
157- rebuild with python-2.7.2
158
[4616]159* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
160- new upstream release
161
[3471]162* Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
163- new upstream release
164
[2446]165* Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
166- new upstream release
167
[1954]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
[1246]171* Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
172- new upstream release
173
[1060]174* Sat May 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-2
175- updated devel package Requires
176
[909]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
[8119]240* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
[909]241- Fix devel dependency
242
[8119]243* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
[909]244- Fix gnutls check for new rawhide version
245
[8119]246* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
[909]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.