libimobiledevice-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. Name: libimobiledevice
  2. Version: 1.1.1
  3. Release: 1%{?_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. %build
  59. %configure --disable-static
  60. # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
  61. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  62. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  63. make %{?_smp_mflags} V=1
  64. %install
  65. rm -rf %{buildroot}
  66. make install DESTDIR=%{buildroot}
  67. #Remove libtool archives.
  68. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  69. %clean
  70. rm -rf %{buildroot}
  71. %post -p /sbin/ldconfig
  72. %postun -p /sbin/ldconfig
  73. %files
  74. %defattr(-,root,root,-)
  75. %doc AUTHORS COPYING.LESSER README
  76. %doc %{_datadir}/man/man1/idevice*
  77. %{_bindir}/idevice*
  78. %{_libdir}/libimobiledevice.so.*
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %doc docs/html/
  82. %{_libdir}/pkgconfig/libimobiledevice-1.0.pc
  83. %{_libdir}/libimobiledevice.so
  84. %{_includedir}/libimobiledevice/
  85. %files python
  86. %defattr(-,root,root,-)
  87. %{python_sitearch}/imobiledevice/
  88. %changelog
  89. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  90. - new upstream release
  91. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
  92. - new upstream release
  93. * Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  94. - new upstream release
  95. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.2-2
  96. - rebuilt with rpm-4.8.1 for pkg-config
  97. * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
  98. - new upstream release
  99. * Sat May 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-2
  100. - updated devel package Requires
  101. * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  102. - initial build for Vine Linux
  103. * Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
  104. - New upstream stable 1.0.0 release
  105. * Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
  106. - Add patch to fix DSO linking. Fixes bug 565084
  107. * Wed Feb 3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
  108. - Package review updates, add developer docs
  109. * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1
  110. - New package for new library name. Update to 0.9.7
  111. * Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1
  112. - Update to 0.9.6 release
  113. * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3
  114. - Updated to the new python sysarch spec file reqs
  115. * Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2
  116. - Update python bindings
  117. * Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1
  118. - Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final
  119. * Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3
  120. - Rebuild for libplist .so bump
  121. * Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2
  122. - Update from libusb to libusb1
  123. * Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1
  124. - Update to 0.9.4 release for new usbmuxd 1.0.0-rc1
  125. * Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1
  126. - Update to 0.9.3 release
  127. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
  128. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  129. * Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2
  130. - Add new build reqs
  131. * Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1
  132. - Update to official 0.9.1 release
  133. * Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8
  134. - Update to latest master version
  135. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554
  136. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  137. * Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554
  138. - Add back gnutls version patch
  139. * Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554
  140. - Upload bzipped source file
  141. * Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554
  142. - New git snapshot
  143. * Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
  144. - Fix devel dependency
  145. * Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
  146. - Fix gnutls check for new rawhide version
  147. * Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
  148. - Rebuild for pkgconfig
  149. * Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e
  150. - Fix git file generation
  151. * Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e
  152. - Updates for package review
  153. * Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1
  154. - Initial package