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

Revision 8119, 7.0 KB checked in by Takemikaduchi, 10 years ago (diff)

rebuild or new upstream release

Line 
1Name:          libimobiledevice
2Version:       1.1.5
3Release:       2%{?_dist_release}
4Summary:       Library for connecting to mobile devices
5Summary(ja):   モバイルデバイスに接続するためのライブラリ
6
7Group:         System Environment/Libraries
8License:       LGPLv2+
9URL:           http://www.libimobiledevice.org/
10
11Source0:       http://cloud.github.com/downloads/MattColyer/libiphone/%{name}-%{version}.tar.bz2
12
13Patch0:        libimobiledevice-fixdso.patch
14Patch1:        libimobiledevice-1.1.4-pkgconfig.patch
15Patch2:        libimobiledevice-1.1.5-cython.patch
16
17BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
18BuildRequires: libxml2-devel
19BuildRequires: libusb1-devel
20BuildRequires: libtasn1-devel
21BuildRequires: libplist-devel >= 1.10
22BuildRequires: glib2-devel
23BuildRequires: gnutls-devel
24BuildRequires: python-devel
25BuildRequires: Cython
26BuildRequires: swig
27BuildRequires: usbmuxd-devel >= 1.0.8
28BuildRequires: openssl-devel
29
30Provides: libiphone = %{version}
31Obsoletes: libiphone < 0.9.7
32
33Vendor: Project Vine
34Distribution: Vine Linux
35
36%description
37libimobiledevice is a library for connecting to mobile devices including phones
38and music players
39
40%package devel
41Summary: Development package for libimobiledevice
42Summary(ja): libimobiledevice の開発用パッケージ
43Group: Development/Libraries
44Requires: pkgconfig
45Requires: %{name} = %{version}-%{release}
46Requires: libplist-devel >= 1.10
47Requires: usbmuxd-devel >= 0.1.0
48Requires: openssl-devel >= 0.9.8
49Provides: libiphone-devel = %{version}
50Obsoletes: libiphone-devel < 0.9.7
51
52%description devel
53Files for development with libimobiledevice.
54
55%package python
56Summary: Python bindings for libimobiledevice
57Summary(ja): libimobiledevice の Python バインディング
58Group: Development/Libraries
59Requires: %{name} = %{version}-%{release}
60Provides: libiphone-python = %{version}
61Obsoletes: libiphone-python < 0.9.7
62
63%description python
64Python bindings for libimobiledevice.
65
66%prep
67%setup -q
68%patch0 -p1 -b .fixdso
69%patch1 -p1 -b .pkgconfig
70%patch2 -p1 -b .pkgconfig
71
72# Fix dir permissions on html docs
73chmod +x docs/html
74
75# Allow build against swig 2.0.0. A proper fix would be nicer.
76sed -i 's|1.3.21|2.0.0|g' configure
77
78%build
79%configure --disable-static
80# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
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%files python
115%defattr(-,root,root,-)
116%{python_sitearch}/imobiledevice.so
117
118%changelog
119* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-2
120- rebuild with VineSeed environment
121- add Patch2 (libimobiledevice-1.1.5-cython.patch)
122
123* Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-1
124- new upstream release
125
126* Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-1
127- new upstream release
128- add BuildRequires: openssl-devel, Cython
129- add Patch1 (libimobiledevice-1.1.4-pkgconfig.patch)
130
131* Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-2
132- rebuild with python-2.7.2
133
134* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
135- new upstream release
136
137* Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
138- new upstream release
139
140* Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
141- new upstream release
142
143* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.2-2
144- rebuilt with rpm-4.8.1 for pkg-config
145
146* Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
147- new upstream release
148
149* Sat May 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-2
150- updated devel package Requires
151
152* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
153- initial build for Vine Linux
154
155* Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
156- New upstream stable 1.0.0 release
157
158* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
159- Add patch to fix DSO linking. Fixes bug 565084
160
161* Wed Feb  3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
162- Package review updates, add developer docs
163
164* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1
165- New package for new library name. Update to 0.9.7
166
167* Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1
168- Update to 0.9.6 release
169
170* Sat Jan  9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3
171- Updated to the new python sysarch spec file reqs
172
173* Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2
174- Update python bindings
175
176* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1
177- Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final
178
179* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3
180- Rebuild for libplist .so bump
181
182* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2
183- Update from libusb to libusb1
184
185* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1
186- Update to 0.9.4 release for new usbmuxd 1.0.0-rc1
187
188* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1
189- Update to 0.9.3 release
190
191* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
192- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
193
194* Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2
195- Add new build reqs
196
197* Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1
198- Update to official 0.9.1 release
199
200* Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8
201- Update to latest master version
202
203* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554
204- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
205
206* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554
207- Add back gnutls version patch
208
209* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554
210- Upload bzipped source file
211
212* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554
213- New git snapshot
214
215* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
216- Fix devel dependency
217
218* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
219- Fix gnutls check for new rawhide version
220
221* Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
222- Rebuild for pkgconfig
223
224* Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e
225- Fix git file generation
226
227* Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e
228- Updates for package review
229
230* Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1
231- Initial package
Note: See TracBrowser for help on using the repository browser.