|
|
0f7b43 |
Name: usbmuxd
|
|
|
0f7b43 |
Version: 1.0.8
|
|
|
f94fe2 |
Release: 11%{?dist}
|
|
|
0f7b43 |
Summary: Daemon for communicating with Apple's iOS devices
|
|
|
0f7b43 |
|
|
|
0f7b43 |
Group: Applications/System
|
|
|
0f7b43 |
# All code is dual licenses as GPLv3+ or GPLv2+, except libusbmuxd which is LGPLv2+.
|
|
|
0f7b43 |
License: GPLv3+ or GPLv2+ and LGPLv2+
|
|
|
0f7b43 |
URL: http://www.libimobiledevice.org/
|
|
|
0f7b43 |
Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
|
|
0f7b43 |
Patch0: 0001-Use-systemd-to-start-usbmuxd.patch
|
|
|
0f7b43 |
|
|
|
0f7b43 |
BuildRequires: libplist-devel
|
|
|
0f7b43 |
BuildRequires: libusbx-devel
|
|
|
0f7b43 |
BuildRequires: cmake
|
|
|
0f7b43 |
# For the systemd RPM macros
|
|
|
0f7b43 |
BuildRequires: systemd
|
|
|
0f7b43 |
Requires(pre): shadow-utils
|
|
|
0f7b43 |
Requires(post): systemd-units
|
|
|
0f7b43 |
Requires(preun): systemd-units
|
|
|
0f7b43 |
Requires(postun): systemd-units
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%description
|
|
|
0f7b43 |
usbmuxd is a daemon used for communicating with Apple's iPod Touch, iPhone,
|
|
|
0f7b43 |
iPad and Apple TV devices. It allows multiple services on the device to be
|
|
|
0f7b43 |
accessed simultaneously.
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%package devel
|
|
|
0f7b43 |
Summary: Development package for %{name}
|
|
|
0f7b43 |
Group: Development/Libraries
|
|
|
0f7b43 |
Requires: usbmuxd = %{version}-%{release}
|
|
|
0f7b43 |
Requires: pkgconfig
|
|
|
0f7b43 |
Requires: libusbx-devel
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%description devel
|
|
|
0f7b43 |
Files for development with %{name}.
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%prep
|
|
|
0f7b43 |
%setup -q
|
|
|
0f7b43 |
%patch0 -p1 -b .systemd
|
|
|
0f7b43 |
|
|
|
0f7b43 |
# Set the owner of the device node to be usbmuxd
|
|
|
0f7b43 |
sed -i.owner 's/OWNER="usbmux"/OWNER="usbmuxd"/' udev/85-usbmuxd.rules.in
|
|
|
0f7b43 |
sed -i.user 's/-U usbmux/-U usbmuxd/' udev/usbmuxd.service.in
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%build
|
|
|
0f7b43 |
export CMAKE_PREFIX_PATH=/usr
|
|
|
0f7b43 |
%{cmake} .
|
|
|
0f7b43 |
|
|
|
0f7b43 |
make %{?_smp_mflags}
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%install
|
|
|
0f7b43 |
export CMAKE_PREFIX_PATH=/usr$RPM_BUILD_ROOT
|
|
|
0f7b43 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%pre
|
|
|
0f7b43 |
getent group usbmuxd >/dev/null || groupadd -r usbmuxd -g 113
|
|
|
0f7b43 |
getent passwd usbmuxd >/dev/null || \
|
|
|
0f7b43 |
useradd -r -g usbmuxd -d / -s /sbin/nologin \
|
|
|
0f7b43 |
-c "usbmuxd user" -u 113 usbmuxd
|
|
|
0f7b43 |
exit 0
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%post
|
|
|
0f7b43 |
/sbin/ldconfig
|
|
|
0f7b43 |
%systemd_post usbmuxd.service
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%preun
|
|
|
0f7b43 |
%systemd_preun usbmuxd.service
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%postun
|
|
|
0f7b43 |
/sbin/ldconfig
|
|
|
0f7b43 |
%systemd_postun_with_restart usbmuxd.service
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%files
|
|
|
0f7b43 |
%doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 README.devel
|
|
|
0f7b43 |
/lib/udev/rules.d/85-usbmuxd.rules
|
|
|
0f7b43 |
/lib/systemd/system/usbmuxd.service
|
|
|
0f7b43 |
%{_bindir}/iproxy
|
|
|
0f7b43 |
%{_sbindir}/usbmuxd
|
|
|
0f7b43 |
%{_libdir}/libusbmuxd.so.*
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%files devel
|
|
|
0f7b43 |
%doc README.devel
|
|
|
0f7b43 |
%{_includedir}/*.h
|
|
|
0f7b43 |
%{_libdir}/libusbmuxd.so
|
|
|
0f7b43 |
%{_libdir}/pkgconfig/libusbmuxd.pc
|
|
|
0f7b43 |
|
|
|
0f7b43 |
%changelog
|
|
|
f94fe2 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.8-11
|
|
|
f94fe2 |
- Mass rebuild 2014-01-24
|
|
|
f94fe2 |
|
|
|
f94fe2 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.8-10
|
|
|
f94fe2 |
- Mass rebuild 2013-12-27
|
|
|
f94fe2 |
|
|
|
0f7b43 |
* Wed Nov 06 2013 Bastien Nocera <bnocera@redhat.com> 1.0.8-9
|
|
|
0f7b43 |
- Add BR so scriptlets are expanded
|
|
|
0f7b43 |
Resolves: #1017894
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Nov 4 2013 Matthias Clasen <mclasen@redhat.com> - 1.0.8-8
|
|
|
0f7b43 |
- Fix %%postun scriptlet
|
|
|
0f7b43 |
- Resolves: #1017894
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-7
|
|
|
0f7b43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Nov 19 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-6
|
|
|
0f7b43 |
- Fix source URL
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Thu Oct 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.8-5
|
|
|
0f7b43 |
- Make use of the new systemd macros
|
|
|
0f7b43 |
- Minor updates to spec
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-4
|
|
|
0f7b43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Jul 09 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-3
|
|
|
0f7b43 |
- Use systemd to start usbmuxd instead of udev (#786853)
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Sat Apr 28 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-2
|
|
|
0f7b43 |
- Fix usbmuxd not starting under udev
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Apr 9 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.8-1
|
|
|
0f7b43 |
- New stable 1.0.8 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Thu Feb 2 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.7-3
|
|
|
0f7b43 |
- Add debian patch for CVE-2012-0065. Fixes RHBZ 783523
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
|
|
|
0f7b43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Tue Mar 22 2011 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.7-1
|
|
|
0f7b43 |
- New stable 1.0.7 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
|
|
|
0f7b43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Sun Oct 24 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.6-1
|
|
|
0f7b43 |
- New stable 1.0.6 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.5-1
|
|
|
0f7b43 |
- New stable 1.0.5 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Fri May 28 2010 Bastien Nocera <bnocera@redhat.com> 1.0.4-3
|
|
|
0f7b43 |
- Fix udev rule to use the usbmuxd user
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Wed May 12 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.4-2
|
|
|
0f7b43 |
- Actually upload a source file
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Tue May 11 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.4-1
|
|
|
0f7b43 |
- New stable 1.0.4 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Mar 22 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.3-1
|
|
|
0f7b43 |
- New stable 1.0.3 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Thu Feb 11 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-1
|
|
|
0f7b43 |
- New stable 1.0.2 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3
|
|
|
0f7b43 |
- Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Fri Jan 29 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-2
|
|
|
0f7b43 |
- Run deamon under the usbmuxd user
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Dec 7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-1
|
|
|
0f7b43 |
- New stable 1.0.0 release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Sat Oct 31 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.1.rc2
|
|
|
0f7b43 |
- New 1.0.0-rc2 test release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Thu Oct 29 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.2.rc1
|
|
|
0f7b43 |
- Add patch to fix install of 64 bit libs
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Tue Oct 27 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.1.rc1
|
|
|
0f7b43 |
- New 1.0.0-rc1 test release
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2
|
|
|
0f7b43 |
- Make usbmuxd autostart on newer kernels
|
|
|
0f7b43 |
- (Still doesn't exit properly though)
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Aug 10 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.4-1
|
|
|
0f7b43 |
- Update to 0.1.4
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Tue Aug 4 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.3-1
|
|
|
0f7b43 |
- Update to 0.1.3, review input
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Aug 3 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.2-1
|
|
|
0f7b43 |
- Update to 0.1.2
|
|
|
0f7b43 |
|
|
|
0f7b43 |
* Mon Aug 3 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.1-1
|
|
|
0f7b43 |
- Initial packaging
|