From 932cad98ee6ebc71f6bfbcb3ddae86d5ce034c17 Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 26 Jul 2023 23:31:40 +0300 Subject: [PATCH] import libusbmuxd-2.0.2-5.el9 --- .gitignore | 2 +- .libusbmuxd.metadata | 2 +- SPECS/libusbmuxd.spec | 72 ++++++++++++++++++++++++++++++++----------- 3 files changed, 56 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index ecd8faf..7155921 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libusbmuxd-1.0.10.tar.bz2 +SOURCES/2.0.2.tar.gz diff --git a/.libusbmuxd.metadata b/.libusbmuxd.metadata index 8f6d745..04d2788 100644 --- a/.libusbmuxd.metadata +++ b/.libusbmuxd.metadata @@ -1 +1 @@ -9d4ce8ac058cfea66e6785d2bad5bb9c93681b16 SOURCES/libusbmuxd-1.0.10.tar.bz2 +5ec34ea237165089f208d6c874675653b6c21977 SOURCES/2.0.2.tar.gz diff --git a/SPECS/libusbmuxd.spec b/SPECS/libusbmuxd.spec index 33f458a..fd4f6b8 100644 --- a/SPECS/libusbmuxd.spec +++ b/SPECS/libusbmuxd.spec @@ -1,15 +1,16 @@ Name: libusbmuxd -Version: 1.0.10 -Release: 9%{?dist} +Version: 2.0.2 +Release: 5%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices -Group: System Environment/Libraries License: LGPLv2+ URL: http://www.libimobiledevice.org/ -Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 -Patch0: CVE-2016-5104.patch +Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.tar.gz -BuildRequires: libplist-devel >= 1.11 +BuildRequires: gcc +BuildRequires: libplist-devel >= 2.2.0 +BuildRequires: autoconf automake libtool +BuildRequires: make %description libusbmuxd is the client library used for communicating with Apple's iPod Touch, @@ -18,7 +19,6 @@ to be accessed simultaneously. %package utils Summary: Utilities for communicating with Apple's iOS devices -Group: Applications/System License: GPLv2+ Requires: %{name}%{?_isa} = %{version}-%{release} @@ -27,7 +27,6 @@ Utilities for Apple's iOS devices %package devel Summary: Development package for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: usbmuxd-devel < 1.0.9 @@ -36,7 +35,8 @@ Files for development with %{name}. %prep %setup -q -%patch0 -p1 -b .soc + +NOCONFIGURE=1 ./autogen.sh %build %configure --disable-static @@ -44,10 +44,10 @@ Files for development with %{name}. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} V=1 +%make_build %install -make install DESTDIR=%{buildroot} INSTALL='install -p' +%make_install #Remove libtool archives. find %{buildroot} -type f -name "*.la" -delete @@ -55,25 +55,61 @@ find %{buildroot} -type f -name "*.la" -delete %check make check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc} %license COPYING -%doc README AUTHORS -%{_libdir}/libusbmuxd.so.4* +%doc README.md AUTHORS +%{_libdir}/libusbmuxd-2.0.so.* %files utils %{_bindir}/iproxy +%{_bindir}/inetcat +%{_mandir}/man1/* %files devel %{_includedir}/usbmuxd* -%{_libdir}/pkgconfig/libusbmuxd.pc -%{_libdir}/libusbmuxd.so +%{_libdir}/pkgconfig/libusbmuxd-2.0.pc +%{_libdir}/libusbmuxd-2.0.so %changelog +* Wed Jul 26 2023 Arkady L. Shane - 2.0.2-5 +- Rebuilt for MSVSphere 9.2 + +* Thu Jul 22 2021 Fedora Release Engineering - 2.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 2.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 13 2020 Tom Stellard - 2.0.2-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Tue Jun 16 2020 Bastien Nocera - 2.0.2-1 ++ libusbmuxd-2.0.2-1 +- Update to 2.0.2 + +* Wed Jan 29 2020 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Nov 23 2019 Bastien Nocera - 2.0.0-1 ++ libusbmuxd-2.0.0-1 +- Update to 2.0.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.10-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.10-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.10-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.10-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild