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

Revision 909, 5.5 KB checked in by daisuke, 14 years ago (diff)

libplist: new package
libimobiledevice: new package
usbmuxd: new package

Line 
1Name:          libimobiledevice
2Version:       1.0.0
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): Development package for libimobiledevice
35Group: Development/Libraries
36Requires: libimobiledevice = %{version}-%{release}
37Requires: pkgconfig
38Provides: libiphone-devel = %{version}
39Obsoletes: libiphone-devel < 0.9.7
40
41%description devel
42Files for development with libimobiledevice.
43
44%package python
45Summary: Python bindings for libimobiledevice
46Summary(ja): Python bindings for libimobiledevice
47Group: Development/Libraries
48Requires: libimobiledevice = %{version}-%{release}
49Requires: pkgconfig
50Provides: libiphone-python = %{version}
51Obsoletes: libiphone-python < 0.9.7
52
53%description python
54Python bindings for libimobiledevice.
55
56%prep
57%setup -q
58%patch0 -p1 -b .fixdso
59
60# Fix dir permissions on html docs
61chmod +x docs/html
62
63%build
64%configure --disable-static
65# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
66sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
67sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
68
69make %{?_smp_mflags} V=1
70
71%install
72rm -rf %{buildroot}
73make install DESTDIR=%{buildroot}
74
75#Remove libtool archives.
76find %{buildroot} -name '*.la' -exec rm -f {} ';'
77
78%clean
79rm -rf %{buildroot}
80
81%post -p /sbin/ldconfig
82
83%postun -p /sbin/ldconfig
84
85%files
86%defattr(-,root,root,-)
87%doc AUTHORS COPYING.LESSER README
88%doc %{_datadir}/man/man1/idevice*
89%{_bindir}/idevice*
90%{_libdir}/libimobiledevice.so.1
91%{_libdir}/libimobiledevice.so.1.0.0
92
93%files devel
94%defattr(-,root,root,-)
95%doc docs/html/
96%{_libdir}/pkgconfig/libimobiledevice-1.0.pc
97%{_libdir}/libimobiledevice.so
98%{_includedir}/libimobiledevice/
99
100%files python
101%defattr(-,root,root,-)
102%{python_sitearch}/imobiledevice/
103
104%changelog
105* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
106- initial build for Vine Linux
107
108* Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
109- New upstream stable 1.0.0 release
110
111* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
112- Add patch to fix DSO linking. Fixes bug 565084
113
114* Wed Feb  3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
115- Package review updates, add developer docs
116
117* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1
118- New package for new library name. Update to 0.9.7
119
120* Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1
121- Update to 0.9.6 release
122
123* Sat Jan  9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3
124- Updated to the new python sysarch spec file reqs
125
126* Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2
127- Update python bindings
128
129* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1
130- Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final
131
132* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3
133- Rebuild for libplist .so bump
134
135* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2
136- Update from libusb to libusb1
137
138* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1
139- Update to 0.9.4 release for new usbmuxd 1.0.0-rc1
140
141* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1
142- Update to 0.9.3 release
143
144* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
145- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
146
147* Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2
148- Add new build reqs
149
150* Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1
151- Update to official 0.9.1 release
152
153* Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8
154- Update to latest master version
155
156* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554
157- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
158
159* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554
160- Add back gnutls version patch
161
162* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554
163- Upload bzipped source file
164
165* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554
166- New git snapshot
167
168* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
169- Fix devel dependency
170
171* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
172- Fix gnutls check for new rawhide version
173
174* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
175- Rebuild for pkgconfig
176
177* Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e
178- Fix git file generation
179
180* Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e
181- Updates for package review
182
183* Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1
184- Initial package
Note: See TracBrowser for help on using the repository browser.