From 2cfdc668167afd6b5af6dc06fe5ef52604932467 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 17:37:04 +0000 Subject: [PATCH] import UBI soundtouch-2.3.1-8.el10 --- .gitignore | 2 +- .soundtouch.metadata | 1 - SPECS/soundtouch.spec => soundtouch.spec | 124 ++++++++++++++++------- sources | 1 + 4 files changed, 88 insertions(+), 40 deletions(-) delete mode 100644 .soundtouch.metadata rename SPECS/soundtouch.spec => soundtouch.spec (64%) create mode 100644 sources diff --git a/.gitignore b/.gitignore index 98ca546..d385ea8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/soundtouch-2.0.0.tar.gz +soundtouch-2.3.1.tar.gz diff --git a/.soundtouch.metadata b/.soundtouch.metadata deleted file mode 100644 index 1c46966..0000000 --- a/.soundtouch.metadata +++ /dev/null @@ -1 +0,0 @@ -a6829c6b00b8ea684a4998929b1ad05adac449f7 SOURCES/soundtouch-2.0.0.tar.gz diff --git a/SPECS/soundtouch.spec b/soundtouch.spec similarity index 64% rename from SPECS/soundtouch.spec rename to soundtouch.spec index fb47e9d..c8417b8 100644 --- a/SPECS/soundtouch.spec +++ b/soundtouch.spec @@ -1,13 +1,12 @@ Name: soundtouch -Version: 2.0.0 -Release: 3%{?dist} +Version: 2.3.1 +Release: 8%{?dist} Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates -License: LGPLv2+ -Group: System Environment/Libraries +License: LGPL-2.1-or-later URL: http://www.surina.net/soundtouch/ -Source0: http://www.surina.net/soundtouch/%{name}-%{version}.tar.gz +Source0: https://gitlab.com/soundtouch/soundtouch/-/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ -BuildRequires: autoconf automake libtool +BuildRequires: cmake %description SoundTouch is a LGPL-licensed open-source audio processing library for @@ -23,7 +22,6 @@ command-line interface. %package devel Summary: Libraries, includes, etc to develop soundtouch applications -Group: Development/Libraries Requires: soundtouch = %{version}-%{release} Requires: pkgconfig @@ -32,34 +30,16 @@ Libraries, include files, etc you can use to develop soundtouch applications. %prep -%setup -q -n %{name} -# Remove -O3 because we have our default optimizations. -sed -i 's|-O3||' source/SoundTouch/Makefile.* -sed -i 's|-O3||' source/SoundStretch/Makefile.* -autoreconf -iv - -# set correct version for .so build -%define ltversion %(echo %{version} | tr '.' ':') -sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \ - source/SoundTouch/Makefile.in -# cleanup a bit -sed -i 's|\r||g' README.html source/SoundTouch/RateTransposer.cpp +%autosetup -p1 %build -%configure --disable-dependency-tracking --disable-static --enable-shared -# Don't use rpath! -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 V=1 %{?_smp_mflags} +%cmake +%cmake_build %install -make install DESTDIR=%{buildroot} -rm %{buildroot}%{_libdir}/*.la - -# remove redundant installed docs -rm -rf %{buildroot}%{_docdir}/%{name} +%cmake_install # pkgconfig compat links for compat with older (API compatible) releases # dunno why upstream keeps changing the pkgconfig name @@ -73,10 +53,6 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc #echo '#define FLOAT_SAMPLES 1' \ # > %{buildroot}%{_includedir}/soundtouch/soundtouch_config.h -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files %doc README.html @@ -88,14 +64,86 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/%{name} -%{_datadir}/aclocal/%{name}.m4 +%{_libdir}/cmake/SoundTouch %changelog -* Thu Oct 15 2020 Tomas Popela - 2.0.0-3 -- Rebuild for the annobin fixes -- Remove an unused patch -- Resolves: rhbz#1704123 +* Tue Oct 29 2024 Troy Dawson - 2.3.1-8 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Mon Jun 24 2024 Troy Dawson - 2.3.1-7 +- Bump release for June 2024 mass rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 2.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 2.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 2.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 2.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 2.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 09 2021 Uwe Klotz - 2.3.1-1 +- Update to new upstream version 2.3.1 + Switch build from autotools to CMake + +* Tue Aug 31 2021 Sérgio Basto - 2.3.0-2 +- Continuing to use the autotools build instead of new CMake + https://gitlab.com/soundtouch/soundtouch/-/issues/45 + +* Sun Aug 29 2021 Sérgio Basto - 2.3.0-1 +- Update to 2.3.0 (#1998849) + +* Sun Aug 29 2021 Uwe Klotz - 2.1.2-1 +- Update to new upstream version 2.1.2 + Bump version to 2.1.2 to correct incorrect version info in configure.ac + +* Fri Jul 23 2021 Fedora Release Engineering - 2.1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 2.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 2.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Nov 14 2018 Sérgio Basto - 2.1.1-1 +- Update to 2.1.1 + Bugfixes: Fixed potential buffer overwrite bugs in WavFile routines. Replaced asserts with runtime exceptions. + Android: Migrated the SoundTouch Android example to new Android Studio + Automake: unset ACLOCAL in bootstrap script to avoid error in case earlier build script has set it + +* Sat Oct 06 2018 Sérgio Basto - 2.1.0-1 +- Update to 2.1.0 + +* Tue Aug 14 2018 Hans de Goede - 2.0.0-6 +- The last round of security fixes also fixes CVE-2018-14044, CVE-2018-14045 + (rhbz#1601618, rhbz#1601620, rhbz#1601624, rhbz#1601625) + +* Tue Aug 14 2018 Hans de Goede - 2.0.0-5 +- Security fix for CVE-2018-1000223 (rhbz#1609193, rhbz#1609194) + +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jul 05 2018 Hans de Goede 2.0.0-3 +- Security fix for CVE-2017-9258, CVE-2017-9259, CVE-2017-9260 (rhbz#1475759) * Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources new file mode 100644 index 0000000..d7e9a54 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (soundtouch-2.3.1.tar.gz) = 1eea5c06dc5af633b5c16902c6a951593190daf75bd6aa12e00c745080f9363e9c45ab52ddc434bd905e4195b306cc38c9143e813430c15c19a275ae1a82df24