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: 2%{?_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: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 |
---|
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 --without-systemd |
---|
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 | #postun -p /sbin/ldconfig |
---|
61 | |
---|
62 | %files |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3 |
---|
65 | /lib/udev/rules.d/39-usbmuxd.rules |
---|
66 | %{_sbindir}/usbmuxd |
---|
67 | %{_mandir}/man1/* |
---|
68 | |
---|
69 | %changelog |
---|
70 | * Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.9-2 |
---|
71 | - rebuilt with libimobiledevice 1.2.0 and libplist 1.12 |
---|
72 | - added --without-systemd option |
---|
73 | |
---|
74 | * Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.0.9-1 |
---|
75 | - update to 1.0.9 |
---|
76 | |
---|
77 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2 |
---|
78 | - rebuild with VineSeed environment |
---|
79 | |
---|
80 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
81 | - new upstream release |
---|
82 | |
---|
83 | * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1 |
---|
84 | - new upstream release |
---|
85 | |
---|
86 | * Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.4-3 |
---|
90 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
91 | |
---|
92 | * Sun Jun 27 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2 |
---|
93 | - set the owner of the device node to be usbmuxd |
---|
94 | |
---|
95 | * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1 |
---|
99 | - initial build for Vine Linux |
---|
100 | |
---|
101 | * Mon Mar 22 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.3-1 |
---|
102 | - New stable 1.0.3 release |
---|
103 | |
---|
104 | * Thu Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.2-1 |
---|
105 | - New stable 1.0.2 release |
---|
106 | |
---|
107 | * Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3 |
---|
108 | - Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above |
---|
109 | |
---|
110 | * Fri Jan 29 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2 |
---|
111 | - Run deamon under the usbmuxd user |
---|
112 | |
---|
113 | * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1 |
---|
114 | - New stable 1.0.0 release |
---|
115 | |
---|
116 | * Sat Oct 31 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc2 |
---|
117 | - New 1.0.0-rc2 test release |
---|
118 | |
---|
119 | * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.2.rc1 |
---|
120 | - Add patch to fix install of 64 bit libs |
---|
121 | |
---|
122 | * Tue Oct 27 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc1 |
---|
123 | - New 1.0.0-rc1 test release |
---|
124 | |
---|
125 | * Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2 |
---|
126 | - Make usbmuxd autostart on newer kernels |
---|
127 | - (Still doesn't exit properly though) |
---|
128 | |
---|
129 | * Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-1 |
---|
130 | - Update to 0.1.4 |
---|
131 | |
---|
132 | * Tue Aug 4 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.3-1 |
---|
133 | - Update to 0.1.3, review input |
---|
134 | |
---|
135 | * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-1 |
---|
136 | - Update to 0.1.2 |
---|
137 | |
---|
138 | * Mon Aug 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.1-1 |
---|
139 | - Initial packaging |
---|