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

Revision 4616, 6.3 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

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