[3470] | 1 | Summary: Daemon for communicating with Apple's iPod Touch and iPhone |
---|
| 2 | Summary(ja): Apple の iPod Touch や iPhone と通信するためのデーモン |
---|
| 3 | |
---|
[909] | 4 | Name: usbmuxd |
---|
[3470] | 5 | Version: 1.0.7 |
---|
[2445] | 6 | Release: 1%{?_dist_release} |
---|
[909] | 7 | |
---|
| 8 | Group: Applications/System |
---|
| 9 | # All code is dual licenses as GPLv3+ or GPLv2+, except libusbmuxd which is LGPLv2+. |
---|
| 10 | License: GPLv3+ or GPLv2+ and LGPLv2+ |
---|
| 11 | URL: http://marcansoft.com/uploads/ |
---|
| 12 | |
---|
| 13 | Source0: http://marcansoft.com/uploads/usbmuxd/%{name}-%{version}.tar.bz2 |
---|
| 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 16 | BuildRequires: libusb1-devel |
---|
| 17 | BuildRequires: cmake |
---|
| 18 | Requires(pre): shadow-utils |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | usbmuxd is a daemon used for communicating with Apple's iPod Touch and iPhone |
---|
| 22 | devices. It allows multiple services on the device to be accessed |
---|
| 23 | simultaneously. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development package for %{name} |
---|
[3470] | 27 | Summary(ja): %{name} の開発パッケージ |
---|
[909] | 28 | Group: Development/Libraries |
---|
| 29 | Requires: usbmuxd = %{version}-%{release} |
---|
| 30 | Requires: pkgconfig |
---|
| 31 | Requires: libusb1-devel |
---|
| 32 | |
---|
| 33 | %description devel |
---|
| 34 | Files for development with %{name}. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
[1253] | 39 | # Set the owner of the device node to be usbmuxd |
---|
| 40 | sed -i.owner 's/ATTR{idVendor}=="05ac"/OWNER="usbmuxd", ATTR{idVendor}=="05ac"/' udev/85-usbmuxd.rules.in |
---|
| 41 | sed -i.user 's/-U usbmux/-U usbmuxd/' udev/85-usbmuxd.rules.in |
---|
| 42 | |
---|
[909] | 43 | %build |
---|
| 44 | export CMAKE_PREFIX_PATH=/usr |
---|
| 45 | %{cmake} . |
---|
| 46 | |
---|
| 47 | make %{?_smp_mflags} |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | export CMAKE_PREFIX_PATH=/usr$RPM_BUILD_ROOT |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | %pre |
---|
[2445] | 58 | getent group usbmuxd >/dev/null || groupadd -r usbmuxd |
---|
[909] | 59 | getent passwd usbmuxd >/dev/null || \ |
---|
| 60 | useradd -r -g usbmuxd -d / -s /sbin/nologin \ |
---|
[2445] | 61 | -c "usbmuxd user" usbmuxd |
---|
[909] | 62 | exit 0 |
---|
| 63 | |
---|
| 64 | %post -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %postun -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | %files |
---|
| 69 | %defattr(-,root,root,-) |
---|
| 70 | %doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 README.devel |
---|
| 71 | /lib/udev/rules.d/85-usbmuxd.rules |
---|
| 72 | %{_bindir}/iproxy |
---|
| 73 | %{_sbindir}/usbmuxd |
---|
| 74 | %{_libdir}/libusbmuxd.so.* |
---|
| 75 | |
---|
| 76 | %files devel |
---|
| 77 | %defattr(-,root,root,-) |
---|
| 78 | %doc README.devel |
---|
| 79 | %{_includedir}/*.h |
---|
| 80 | %{_libdir}/libusbmuxd.so |
---|
| 81 | %{_libdir}/pkgconfig/libusbmuxd.pc |
---|
| 82 | |
---|
| 83 | %changelog |
---|
[3470] | 84 | * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[2445] | 87 | * Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[1954] | 90 | * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.4-3 |
---|
| 91 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 92 | |
---|
[1253] | 93 | * Sun Jun 27 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2 |
---|
| 94 | - set the owner of the device node to be usbmuxd |
---|
| 95 | |
---|
[1247] | 96 | * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
| 99 | * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1 |
---|
[909] | 100 | - initial build for Vine Linux |
---|
| 101 | |
---|
| 102 | * Mon Mar 22 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.3-1 |
---|
| 103 | - New stable 1.0.3 release |
---|
| 104 | |
---|
| 105 | * Thu Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.2-1 |
---|
| 106 | - New stable 1.0.2 release |
---|
| 107 | |
---|
| 108 | * Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3 |
---|
| 109 | - Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above |
---|
| 110 | |
---|
| 111 | * Fri Jan 29 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2 |
---|
| 112 | - Run deamon under the usbmuxd user |
---|
| 113 | |
---|
| 114 | * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1 |
---|
| 115 | - New stable 1.0.0 release |
---|
| 116 | |
---|
| 117 | * Sat Oct 31 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc2 |
---|
| 118 | - New 1.0.0-rc2 test release |
---|
| 119 | |
---|
| 120 | * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.2.rc1 |
---|
| 121 | - Add patch to fix install of 64 bit libs |
---|
| 122 | |
---|
| 123 | * Tue Oct 27 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc1 |
---|
| 124 | - New 1.0.0-rc1 test release |
---|
| 125 | |
---|
| 126 | * Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2 |
---|
| 127 | - Make usbmuxd autostart on newer kernels |
---|
| 128 | - (Still doesn't exit properly though) |
---|
| 129 | |
---|
| 130 | * Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-1 |
---|
| 131 | - Update to 0.1.4 |
---|
| 132 | |
---|
| 133 | * Tue Aug 4 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.3-1 |
---|
| 134 | - Update to 0.1.3, review input |
---|
| 135 | |
---|
| 136 | * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-1 |
---|
| 137 | - Update to 0.1.2 |
---|
| 138 | |
---|
| 139 | * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.1-1 |
---|
| 140 | - Initial packaging |
---|