usbmuxd-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. #define gittag c24463e
  2. #define tarfile %{name}-%{version}-%{gittag}.tar.bz2
  3. Summary: Daemon for communicating with Apple's iPod Touch and iPhone
  4. Summary(ja): Apple の iPod Touch や iPhone と通信するためのデーモン
  5. Name: usbmuxd
  6. Version: 1.0.9
  7. Release: 2%{?_dist_release}
  8. Group: Applications/System
  9. # All code is dual licenses as GPLv3+ or GPLv2+
  10. License: GPLv3+ or GPLv2+
  11. URL: http://www.libimobiledevice.org/
  12. Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: libusb1-devel
  15. BuildRequires: libimobiledevice-devel
  16. BuildRequires: libplist-devel
  17. Requires(pre): shadow-utils
  18. Obsoletes: usbmuxd-devel < 1.0.9
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: daisuke
  22. %description
  23. usbmuxd is a daemon used for communicating with Apple's iPod Touch and iPhone
  24. devices. It allows multiple services on the device to be accessed
  25. simultaneously.
  26. %prep
  27. %setup -q
  28. # Set the owner of the device node to be usbmuxd
  29. sed -i.owner 's/OWNER="usbmux"/OWNER="usbmuxd"/' udev/39-usbmuxd.rules.in
  30. sed -i.user 's/-U usbmux/-U usbmuxd/' udev/39-usbmuxd.rules.in
  31. %build
  32. #NOCONFIGURE=1 ./autogen.sh
  33. %configure --without-systemd
  34. make %{?_smp_mflags}
  35. %install
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %pre
  40. getent group usbmuxd >/dev/null || groupadd -r usbmuxd
  41. getent passwd usbmuxd >/dev/null || \
  42. useradd -r -g usbmuxd -d / -s /sbin/nologin \
  43. -c "usbmuxd user" usbmuxd
  44. exit 0
  45. #post -p /sbin/ldconfig
  46. #postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3
  50. /lib/udev/rules.d/39-usbmuxd.rules
  51. %{_sbindir}/usbmuxd
  52. %{_mandir}/man1/*
  53. %changelog
  54. * Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.9-2
  55. - rebuilt with libimobiledevice 1.2.0 and libplist 1.12
  56. - added --without-systemd option
  57. * Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.0.9-1
  58. - update to 1.0.9
  59. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
  60. - rebuild with VineSeed environment
  61. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  62. - new upstream release
  63. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1
  64. - new upstream release
  65. * Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
  66. - new upstream release
  67. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.4-3
  68. - rebuilt with rpm-4.8.1 for pkg-config
  69. * Sun Jun 27 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2
  70. - set the owner of the device node to be usbmuxd
  71. * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  72. - new upstream release
  73. * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
  74. - initial build for Vine Linux
  75. * Mon Mar 22 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.3-1
  76. - New stable 1.0.3 release
  77. * Thu Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.2-1
  78. - New stable 1.0.2 release
  79. * Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3
  80. - Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above
  81. * Fri Jan 29 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
  82. - Run deamon under the usbmuxd user
  83. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
  84. - New stable 1.0.0 release
  85. * Sat Oct 31 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc2
  86. - New 1.0.0-rc2 test release
  87. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.2.rc1
  88. - Add patch to fix install of 64 bit libs
  89. * Tue Oct 27 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc1
  90. - New 1.0.0-rc1 test release
  91. * Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2
  92. - Make usbmuxd autostart on newer kernels
  93. - (Still doesn't exit properly though)
  94. * Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-1
  95. - Update to 0.1.4
  96. * Tue Aug 4 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.3-1
  97. - Update to 0.1.3, review input
  98. * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-1
  99. - Update to 0.1.2
  100. * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.1-1
  101. - Initial packaging