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