Blame SPECS/usbmuxd.spec

747662
Name:          usbmuxd
747662
Version:       1.1.0
747662
Release:       13%{?dist}
747662
Summary:       Daemon for communicating with Apple's iOS devices
747662
# All code is dual licenses as GPLv3+ or GPLv2+, except libusbmuxd which is LGPLv2+.
747662
License:       GPLv3+ or GPLv2+
747662
URL:           http://www.libimobiledevice.org/
747662
Source0:       http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
747662
747662
BuildRequires: gcc
747662
BuildRequires: libimobiledevice-devel
747662
BuildRequires: libplist-devel
747662
BuildRequires: libusbx-devel
747662
BuildRequires: systemd
747662
747662
Requires(pre): shadow-utils
747662
Requires(post): systemd
747662
Requires(preun): systemd
747662
Requires(postun): systemd
747662
747662
BuildRequires: autoconf libtool automake
747662
Patch0: 0001-udev-ensure-that-all-events-relating-to-device-are-t.patch
747662
Patch1: 0002-udev-Handle-all-events-only-once.patch
747662
Patch2: 0001-udev-Work-around-systemd-bug-related-to-bind-events.patch
747662
747662
%description
747662
usbmuxd is a daemon used for communicating with Apple's iPod Touch, iPhone, 
747662
iPad and Apple TV devices. It allows multiple services on the device to be 
747662
accessed simultaneously.
747662
747662
%prep
747662
%autosetup -p1
747662
autoreconf -f -i
747662
747662
# Set the owner of the device node to be usbmuxd
747662
sed -i.owner 's/OWNER="usbmux"/OWNER="usbmuxd"/' udev/39-usbmuxd.rules.in
747662
sed -i.user 's/--user usbmux/--user usbmuxd/' systemd/usbmuxd.service.in
747662
747662
%build
747662
%configure
747662
747662
make %{?_smp_mflags} V=1
747662
747662
%install
747662
make install DESTDIR=$RPM_BUILD_ROOT
747662
747662
%pre
747662
getent group usbmuxd >/dev/null || groupadd -r usbmuxd -g 113
747662
getent passwd usbmuxd >/dev/null || \
747662
useradd -r -g usbmuxd -d / -s /sbin/nologin \
747662
	-c "usbmuxd user" -u 113 usbmuxd
747662
exit 0
747662
747662
%post
747662
%systemd_post usbmuxd.service
747662
747662
%preun
747662
%systemd_preun usbmuxd.service
747662
747662
%postun
747662
%systemd_postun_with_restart usbmuxd.service 
747662
747662
%files
747662
%license COPYING.GPLv2 COPYING.GPLv3
747662
%doc AUTHORS README
747662
%{_unitdir}/usbmuxd.service
747662
%{_udevrulesdir}/39-usbmuxd.rules
747662
%{_sbindir}/usbmuxd
747662
%{_datadir}/man/man1/usbmuxd.1.gz
747662
747662
%changelog
747662
* Wed Apr 18 2018 Bastien Nocera <bnocera@redhat.com> - 1.1.0-13
747662
+ usbmuxd-1.1.0-13
747662
- Fix usbmuxd not starting up a second time, and properties being lost
747662
  with kernel >= 4.12
747662
747662
* Fri Mar  9 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.0-12
747662
- Add gcc BR
747662
747662
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
747662
747662
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
747662
747662
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
747662
747662
* Tue May 16 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.0-8
747662
- Use _udevrulesdir macro
747662
747662
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
747662
747662
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
747662
747662
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
747662
747662
* Wed Feb 11 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-4
747662
- Rebuild (libimobiledevice)
747662
747662
* Tue Feb  3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-3
747662
- Use %%license
747662
747662
* Tue Oct 21 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-2
747662
- (rebuild)
747662
747662
* Fri Oct 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-1
747662
- New stable 1.1.0 release
747662
747662
* Fri Oct 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-3
747662
- Bump for correct overrides
747662
747662
* Fri Oct 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-2
747662
- Refresh usbmuxd owner bits
747662
747662
* Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-1
747662
- New stable 1.0.9 release
747662
747662
* Tue Sep 09 2014 Rex Dieter <rdieter@fedoraproject.org> - 1.0.9-0.6.c24463e
747662
- Obsoletes: usbmuxd < 1.0.9 (multilib upgrade path)
747662
- move Obsoletes: usbmuxd-devel to libusbmuxd-devel
747662
747662
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-0.5.c24463e
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
747662
747662
* Wed Jul 30 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-0.4.c24463e
747662
- Add upstream patch for systemd support
747662
747662
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-0.3.c24463e
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
747662
747662
* Mon Apr 21 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-0.2
747662
- Minor update
747662
747662
* Mon Apr 21 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-0.1
747662
- Initial 1.0.9 snapshot
747662
747662
* Thu Oct 10 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.0.8-10
747662
- Add BR: systemd for systemd.macros (RHBZ #1017493).
747662
747662
* Tue Oct 8  2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.8-9
747662
- Fix rpm scripts
747662
747662
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-8
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
747662
747662
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-7
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
747662
747662
* Mon Nov 19 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-6
747662
- Fix source URL
747662
747662
* Thu Oct  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.8-5
747662
- Make use of the new systemd macros
747662
- Minor updates to spec
747662
747662
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-4
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
747662
747662
* Mon Jul 09 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-3
747662
- Use systemd to start usbmuxd instead of udev (#786853)
747662
747662
* Sat Apr 28 2012 Bastien Nocera <bnocera@redhat.com> 1.0.8-2
747662
- Fix usbmuxd not starting under udev
747662
747662
* Mon Apr  9 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.8-1
747662
- New stable 1.0.8 release
747662
747662
* Thu Feb  2 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.7-3
747662
- Add debian patch for CVE-2012-0065. Fixes RHBZ 783523
747662
747662
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
747662
747662
* Tue Mar 22 2011 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.7-1
747662
- New stable 1.0.7 release
747662
747662
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
747662
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
747662
747662
* Sun Oct 24 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.6-1
747662
- New stable 1.0.6 release
747662
747662
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.5-1
747662
- New stable 1.0.5 release
747662
747662
* Fri May 28 2010 Bastien Nocera <bnocera@redhat.com> 1.0.4-3
747662
- Fix udev rule to use the usbmuxd user
747662
747662
* Wed May 12 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.4-2
747662
- Actually upload a source file
747662
747662
* Tue May 11 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.4-1
747662
- New stable 1.0.4 release
747662
747662
* Mon Mar 22 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.3-1
747662
- New stable 1.0.3 release
747662
747662
* Thu Feb 11 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.2-1
747662
- New stable 1.0.2 release
747662
747662
* Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3
747662
- Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above
747662
747662
* Fri Jan 29 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-2
747662
- Run deamon under the usbmuxd user
747662
747662
* Mon Dec  7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-1
747662
- New stable 1.0.0 release
747662
747662
* Sat Oct 31 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.1.rc2
747662
- New 1.0.0-rc2 test release
747662
747662
* Thu Oct 29 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.2.rc1
747662
- Add patch to fix install of 64 bit libs
747662
747662
* Tue Oct 27 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-0.1.rc1
747662
- New 1.0.0-rc1 test release
747662
747662
* Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2
747662
- Make usbmuxd autostart on newer kernels
747662
- (Still doesn't exit properly though)
747662
747662
* Mon Aug 10 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.4-1
747662
- Update to 0.1.4
747662
747662
* Tue Aug  4 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.3-1
747662
- Update to 0.1.3, review input
747662
747662
* Mon Aug  3 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.2-1
747662
- Update to 0.1.2
747662
747662
* Mon Aug  3 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.1-1
747662
- Initial packaging