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

Revision 9572, 7.0 KB checked in by inagaki, 9 years ago (diff)

2015-05-22 Ryoichi INAGAKI <ryo1@…>

  • digikam, libimobiledevice, libplist, libusbmuxd: updated
  • gnome-mplayer, gtkpod, gvfs, ifuse, libgpod, rhythmbox, upower, usbmuxd: rebuilt


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