libusbmuxd-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Name: libusbmuxd
  2. Version: 1.0.9
  3. Release: 1%{?_dist_release}
  4. Summary: Client library USB multiplex daemon for Apple's iOS devices
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.libimobiledevice.org/
  8. Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
  9. BuildRequires: libplist-devel >= 1.11
  10. Conflicts: usbmuxd < 1.0.9
  11. %description
  12. libusbmuxd is the client library used for communicating with Apple's iPod Touch,
  13. iPhone, iPad and Apple TV devices. It allows multiple services on the device
  14. to be accessed simultaneously.
  15. %package utils
  16. Summary: Utilities for communicating with Apple's iOS devices
  17. Group: Applications/System
  18. License: GPLv2+
  19. Requires: %{name} = %{version}-%{release}
  20. Conflicts: usbmuxd < 1.0.9
  21. %description utils
  22. Utilities for Apple's iOS devices
  23. %package devel
  24. Summary: Development package for %{name}
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Conflicts: usbmuxd-devel < 1.0.9
  28. %description devel
  29. Files for development with %{name}.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --disable-static
  34. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  35. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  36. make %{?_smp_mflags} V=1
  37. %install
  38. make install DESTDIR=%{buildroot} INSTALL='install -p'
  39. #Remove libtool archives.
  40. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  41. %check
  42. make check
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. # License is covered in README, upstream notified about COPYING files
  47. # will be fixed in next release
  48. %doc README AUTHORS
  49. %{_libdir}/libusbmuxd.so.2*
  50. %files utils
  51. %{_bindir}/iproxy
  52. %files devel
  53. %{_includedir}/usbmuxd*
  54. %{_libdir}/pkgconfig/libusbmuxd.pc
  55. %{_libdir}/libusbmuxd.so
  56. %changelog
  57. * Tue Jul 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.0.9-1
  58. - initial build for Vine Linux
  59. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  61. * Sat Mar 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-1
  62. - Initial package