libimobiledevice-vl.spec 7.0 KB

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