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

Revision 7582, 6.7 KB checked in by Takemikaduchi, 11 years ago (diff)

Cython,gparted,gstreamer1,libimobiledevice,libplist,thunderbird,udisks2,upower: new upstream release
others: rebuild with libimobiledevice-1.1.5

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