| 1 | Summary: Daemon for communicating with Apple's iPod Touch and iPhone |
|---|
| 2 | Summary(ja): Apple の iPod Touch や iPhone と通信するためのデーモン |
|---|
| 3 | |
|---|
| 4 | Name: usbmuxd |
|---|
| 5 | Version: 1.0.8 |
|---|
| 6 | Release: 1%{?_dist_release} |
|---|
| 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} |
|---|
| 27 | Summary(ja): %{name} の開発パッケージ |
|---|
| 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 | |
|---|
| 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 | |
|---|
| 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 |
|---|
| 58 | getent group usbmuxd >/dev/null || groupadd -r usbmuxd |
|---|
| 59 | getent passwd usbmuxd >/dev/null || \ |
|---|
| 60 | useradd -r -g usbmuxd -d / -s /sbin/nologin \ |
|---|
| 61 | -c "usbmuxd user" usbmuxd |
|---|
| 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 |
|---|
| 84 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
|---|
| 85 | - new upstream release |
|---|
| 86 | |
|---|
| 87 | * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1 |
|---|
| 88 | - new upstream release |
|---|
| 89 | |
|---|
| 90 | * Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
|---|
| 91 | - new upstream release |
|---|
| 92 | |
|---|
| 93 | * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.4-3 |
|---|
| 94 | - rebuilt with rpm-4.8.1 for pkg-config |
|---|
| 95 | |
|---|
| 96 | * Sun Jun 27 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2 |
|---|
| 97 | - set the owner of the device node to be usbmuxd |
|---|
| 98 | |
|---|
| 99 | * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
|---|
| 100 | - new upstream release |
|---|
| 101 | |
|---|
| 102 | * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1 |
|---|
| 103 | - initial build for Vine Linux |
|---|
| 104 | |
|---|
| 105 | * Mon Mar 22 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.3-1 |
|---|
| 106 | - New stable 1.0.3 release |
|---|
| 107 | |
|---|
| 108 | * Thu Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.2-1 |
|---|
| 109 | - New stable 1.0.2 release |
|---|
| 110 | |
|---|
| 111 | * Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3 |
|---|
| 112 | - Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above |
|---|
| 113 | |
|---|
| 114 | * Fri Jan 29 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2 |
|---|
| 115 | - Run deamon under the usbmuxd user |
|---|
| 116 | |
|---|
| 117 | * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1 |
|---|
| 118 | - New stable 1.0.0 release |
|---|
| 119 | |
|---|
| 120 | * Sat Oct 31 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc2 |
|---|
| 121 | - New 1.0.0-rc2 test release |
|---|
| 122 | |
|---|
| 123 | * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.2.rc1 |
|---|
| 124 | - Add patch to fix install of 64 bit libs |
|---|
| 125 | |
|---|
| 126 | * Tue Oct 27 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc1 |
|---|
| 127 | - New 1.0.0-rc1 test release |
|---|
| 128 | |
|---|
| 129 | * Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2 |
|---|
| 130 | - Make usbmuxd autostart on newer kernels |
|---|
| 131 | - (Still doesn't exit properly though) |
|---|
| 132 | |
|---|
| 133 | * Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-1 |
|---|
| 134 | - Update to 0.1.4 |
|---|
| 135 | |
|---|
| 136 | * Tue Aug 4 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.3-1 |
|---|
| 137 | - Update to 0.1.3, review input |
|---|
| 138 | |
|---|
| 139 | * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-1 |
|---|
| 140 | - Update to 0.1.2 |
|---|
| 141 | |
|---|
| 142 | * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.1-1 |
|---|
| 143 | - Initial packaging |
|---|