Blame SPECS/libusbmuxd.spec

121f36
Name:          libusbmuxd
121f36
Version:       1.0.10
121f36
Release:       5%{?dist}
121f36
Summary:       Client library USB multiplex daemon for Apple's iOS devices
121f36
121f36
Group:         System Environment/Libraries
121f36
License:       LGPLv2+
121f36
URL:           http://www.libimobiledevice.org/
121f36
Source0:       http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
121f36
Patch0:        CVE-2016-5104.patch
121f36
121f36
BuildRequires: libplist-devel >= 1.11
121f36
121f36
%description
121f36
libusbmuxd is the client library used for communicating with Apple's iPod Touch,
121f36
iPhone, iPad and Apple TV devices. It allows multiple services on the device 
121f36
to be accessed simultaneously.
121f36
121f36
%package utils
121f36
Summary: Utilities for communicating with Apple's iOS devices
121f36
Group: Applications/System
121f36
License: GPLv2+
121f36
Requires: %{name}%{?_isa} = %{version}-%{release}
121f36
121f36
%description utils
121f36
Utilities for Apple's iOS devices
121f36
121f36
%package devel
121f36
Summary: Development package for %{name}
121f36
Group: Development/Libraries
121f36
Requires: %{name}%{?_isa} = %{version}-%{release}
121f36
Obsoletes: usbmuxd-devel < 1.0.9
121f36
121f36
%description devel
121f36
Files for development with %{name}.
121f36
121f36
%prep
121f36
%setup -q
121f36
%patch0 -p1 -b .soc
121f36
121f36
%build
121f36
%configure --disable-static
121f36
121f36
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
121f36
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
121f36
121f36
make %{?_smp_mflags} V=1
121f36
121f36
%install
121f36
make install DESTDIR=%{buildroot} INSTALL='install -p'
121f36
121f36
#Remove libtool archives.
121f36
find %{buildroot} -type f -name "*.la" -delete
121f36
121f36
%check
121f36
make check
121f36
121f36
%post -p /sbin/ldconfig
121f36
121f36
%postun -p /sbin/ldconfig
121f36
121f36
%files
121f36
%{!?_licensedir:%global license %%doc}
121f36
%license COPYING
121f36
%doc README AUTHORS
121f36
%{_libdir}/libusbmuxd.so.4*
121f36
121f36
%files utils
121f36
%{_bindir}/iproxy
121f36
121f36
%files devel
121f36
%{_includedir}/usbmuxd*
121f36
%{_libdir}/pkgconfig/libusbmuxd.pc
121f36
%{_libdir}/libusbmuxd.so
121f36
121f36
%changelog
121f36
* Fri May 27 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-5
121f36
- Fix CVE-2016-5104
121f36
121f36
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-4
121f36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
121f36
121f36
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-3
121f36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
121f36
121f36
* Tue Feb  3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-2
121f36
- Use %%license
121f36
121f36
* Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.10-1
121f36
- Update to 1.0.10
121f36
121f36
* Tue Sep 09 2014 Rex Dieter <rdieter@fedoraproject.org> 1.0.9-4
121f36
- -devel: Obsoletes: usbmuxd-devel
121f36
121f36
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3
121f36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
121f36
121f36
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
121f36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
121f36
121f36
* Sat Mar 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-1
121f36
- Initial package