libimobiledevice-vl.spec 6.4 KB

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