source: projects/specs/trunk/u/usbmuxd/usbmuxd-vl.spec @ 909

Revision 909, 3.2 KB checked in by daisuke, 14 years ago (diff)

libplist: new package
libimobiledevice: new package
usbmuxd: new package

Line 
1Name:           usbmuxd
2Version:        1.0.3
3Release:        1%{?_dist_release}
4Summary:        Daemon for communicating with Apple's iPod Touch and iPhone
5
6Group:          Applications/System
7# All code is dual licenses as GPLv3+ or GPLv2+, except libusbmuxd which is LGPLv2+.
8License:        GPLv3+ or GPLv2+ and LGPLv2+
9URL:            http://marcansoft.com/uploads/
10
11Source0:        http://marcansoft.com/uploads/usbmuxd/%{name}-%{version}.tar.bz2
12Patch0:         usbmuxd-udevuser.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires:  libusb1-devel
16BuildRequires:  cmake
17Requires(pre): shadow-utils
18
19%description
20usbmuxd is a daemon used for communicating with Apple's iPod Touch and iPhone
21devices. It allows multiple services on the device to be accessed
22simultaneously.
23
24%package devel
25Summary: Development package for %{name}
26Group: Development/Libraries
27Requires: usbmuxd = %{version}-%{release}
28Requires: pkgconfig
29Requires: libusb1-devel
30
31%description devel
32Files for development with %{name}.
33
34%prep
35%setup -q
36%patch0 -p1 -b .udevuser
37
38%build
39export CMAKE_PREFIX_PATH=/usr
40%{cmake} .
41
42make %{?_smp_mflags}
43
44%install
45export CMAKE_PREFIX_PATH=/usr$RPM_BUILD_ROOT
46rm -rf $RPM_BUILD_ROOT
47make install DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%pre
53getent group usbmuxd >/dev/null || groupadd -r usbmuxd -g 113
54getent passwd usbmuxd >/dev/null || \
55useradd -r -g usbmuxd -d / -s /sbin/nologin \
56        -c "usbmuxd user" -u 113 usbmuxd
57exit 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 COPYING.LGPLv2.1 README.devel
66/lib/udev/rules.d/85-usbmuxd.rules
67%{_bindir}/iproxy
68%{_sbindir}/usbmuxd
69%{_libdir}/libusbmuxd.so.*
70
71%files devel
72%defattr(-,root,root,-)
73%doc README.devel
74%{_includedir}/*.h
75%{_libdir}/libusbmuxd.so
76%{_libdir}/pkgconfig/libusbmuxd.pc
77
78%changelog
79* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp>  1.0.3-1
80- initial build for Vine Linux
81
82* Mon Mar 22 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.3-1
83- New stable 1.0.3 release
84
85* Thu Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.2-1
86- New stable 1.0.2 release
87
88* Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3
89- Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above
90
91* Fri Jan 29 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
92- Run deamon under the usbmuxd user
93
94* Mon Dec  7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
95- New stable 1.0.0 release
96
97* Sat Oct 31 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc2
98- New 1.0.0-rc2 test release
99
100* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.2.rc1
101- Add patch to fix install of 64 bit libs
102
103* Tue Oct 27 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc1
104- New 1.0.0-rc1 test release
105
106* Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2
107- Make usbmuxd autostart on newer kernels
108- (Still doesn't exit properly though)
109
110* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-1
111- Update to 0.1.4
112
113* Tue Aug  4 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.3-1
114- Update to 0.1.3, review input
115
116* Mon Aug  3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-1
117- Update to 0.1.2
118
119* Mon Aug  3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.1-1
120- Initial packaging
Note: See TracBrowser for help on using the repository browser.