libimobiledevice-vl.spec 6.1 KB

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