source: projects/specs/branches/6/lib/libi/libimobiledevice/libimobiledevice-vl.spec @ 3471

Revision 3471, 6.1 KB checked in by daisuke, 13 years ago (diff)

libimobiledevice: update to 1.0.6

Line 
1Name:          libimobiledevice
2Version:       1.0.6
3Release:       1%{?_dist_release}
4Summary:       Library for connecting to mobile devices
5Summary(ja):   モバイルデバイスに接続するためのライブラリ
6
7Group:         System Environment/Libraries
8License:       LGPLv2+
9URL:           http://matt.colyer.name/projects/iphone-linux/
10
11Source0:       http://cloud.github.com/downloads/MattColyer/libiphone/%{name}-%{version}.tar.bz2
12Patch0:        libimobiledevice-fixdso.patch
13
14BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires: libxml2-devel
16BuildRequires: libusb1-devel
17BuildRequires: libtasn1-devel
18BuildRequires: libplist-devel
19BuildRequires: glib2-devel
20BuildRequires: gnutls-devel
21BuildRequires: python-devel
22BuildRequires: swig
23BuildRequires: usbmuxd-devel
24
25Provides: libiphone = %{version}
26Obsoletes: libiphone < 0.9.7
27
28%description
29libimobiledevice is a library for connecting to mobile devices including phones
30and music players
31
32%package devel
33Summary: Development package for libimobiledevice
34Summary(ja): libimobiledevice の開発用パッケージ
35Group: Development/Libraries
36Requires: libimobiledevice = %{version}-%{release}
37Requires: libplist-devel >= 0.12
38Requires: usbmuxd-devel >= 0.1.0
39Requires: glib2-devel >= 2.14.1
40Requires: gnutls-devel >= 1.6.3
41Requires: libtasn1-devel >= 1.1
42Requires: pkgconfig
43Provides: libiphone-devel = %{version}
44Obsoletes: libiphone-devel < 0.9.7
45
46%description devel
47Files for development with libimobiledevice.
48
49%package python
50Summary: Python bindings for libimobiledevice
51Summary(ja): libimobiledevice の Python バインディング
52Group: Development/Libraries
53Requires: libimobiledevice = %{version}-%{release}
54Requires: pkgconfig
55Provides: libiphone-python = %{version}
56Obsoletes: libiphone-python < 0.9.7
57
58%description python
59Python bindings for libimobiledevice.
60
61%prep
62%setup -q
63%patch0 -p1 -b .fixdso
64
65# Fix dir permissions on html docs
66chmod +x docs/html
67
68%build
69%configure --disable-static
70# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
71sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
72sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
73
74make %{?_smp_mflags} V=1
75
76%install
77rm -rf %{buildroot}
78make install DESTDIR=%{buildroot}
79
80#Remove libtool archives.
81find %{buildroot} -name '*.la' -exec rm -f {} ';'
82
83%clean
84rm -rf %{buildroot}
85
86%post -p /sbin/ldconfig
87
88%postun -p /sbin/ldconfig
89
90%files
91%defattr(-,root,root,-)
92%doc AUTHORS COPYING.LESSER README
93%doc %{_datadir}/man/man1/idevice*
94%{_bindir}/idevice*
95%{_libdir}/libimobiledevice.so.*
96
97%files devel
98%defattr(-,root,root,-)
99%doc docs/html/
100%{_libdir}/pkgconfig/libimobiledevice-1.0.pc
101%{_libdir}/libimobiledevice.so
102%{_includedir}/libimobiledevice/
103
104%files python
105%defattr(-,root,root,-)
106%{python_sitearch}/imobiledevice/
107
108%changelog
109* Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
110- new upstream release
111
112* Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
113- new upstream release
114
115* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.2-2
116- rebuilt with rpm-4.8.1 for pkg-config
117
118* Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
119- new upstream release
120
121* Sat May 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-2
122- updated devel package Requires
123
124* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
125- initial build for Vine Linux
126
127* Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
128- New upstream stable 1.0.0 release
129
130* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
131- Add patch to fix DSO linking. Fixes bug 565084
132
133* Wed Feb  3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
134- Package review updates, add developer docs
135
136* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1
137- New package for new library name. Update to 0.9.7
138
139* Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1
140- Update to 0.9.6 release
141
142* Sat Jan  9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3
143- Updated to the new python sysarch spec file reqs
144
145* Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2
146- Update python bindings
147
148* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1
149- Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final
150
151* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3
152- Rebuild for libplist .so bump
153
154* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2
155- Update from libusb to libusb1
156
157* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1
158- Update to 0.9.4 release for new usbmuxd 1.0.0-rc1
159
160* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1
161- Update to 0.9.3 release
162
163* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
164- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
165
166* Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2
167- Add new build reqs
168
169* Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1
170- Update to official 0.9.1 release
171
172* Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8
173- Update to latest master version
174
175* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554
176- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
177
178* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554
179- Add back gnutls version patch
180
181* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554
182- Upload bzipped source file
183
184* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554
185- New git snapshot
186
187* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
188- Fix devel dependency
189
190* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
191- Fix gnutls check for new rawhide version
192
193* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
194- Rebuild for pkgconfig
195
196* Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e
197- Fix git file generation
198
199* Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e
200- Updates for package review
201
202* Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1
203- Initial package
Note: See TracBrowser for help on using the repository browser.