Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

5 changed files with 96 additions and 40 deletions

8
.gitignore vendored
View File

@ -1 +1,7 @@
SOURCES/soundtouch-2.0.0.tar.gz
soundtouch-1.4.0.tar.gz
/soundtouch-1.9.2.tar.gz
/soundtouch-2.0.0.tar.gz
/soundtouch-2.1.0.tar.gz
/soundtouch-2.1.1.tar.gz
/soundtouch-2.1.2.tar.gz
/soundtouch-2.3.0.tar.gz

View File

@ -1 +0,0 @@
a6829c6b00b8ea684a4998929b1ad05adac449f7 SOURCES/soundtouch-2.0.0.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -1,13 +1,12 @@
Name: soundtouch
Version: 2.0.0
Release: 3%{?dist}
Version: 2.3.1
Release: 7%{?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,82 @@ 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 <tpopela@redhat.com> - 2.0.0-3
- Rebuild for the annobin fixes
- Remove an unused patch
- Resolves: rhbz#1704123
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.3.1-7
- Bump release for June 2024 mass rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Sep 09 2021 Uwe Klotz <uwe.klotz@gmail.com> - 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 <sergio@serjux.com> - 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 <sergio@serjux.com> - 2.3.0-1
- Update to 2.3.0 (#1998849)
* Sun Aug 29 2021 Uwe Klotz <uwe.klotz@gmail.com> - 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 <releng@fedoraproject.org> - 2.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Nov 14 2018 Sérgio Basto <sergio@serjux.com> - 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 <sergio@serjux.com> - 2.1.0-1
- Update to 2.1.0
* Tue Aug 14 2018 Hans de Goede <hdegoede@redhat.com> - 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 <hdegoede@redhat.com> - 2.0.0-5
- Security fix for CVE-2018-1000223 (rhbz#1609193, rhbz#1609194)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jul 05 2018 Hans de Goede <hdegoede@redhat.com> 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 <releng@fedoraproject.org> - 2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (soundtouch-2.3.1.tar.gz) = 1eea5c06dc5af633b5c16902c6a951593190daf75bd6aa12e00c745080f9363e9c45ab52ddc434bd905e4195b306cc38c9143e813430c15c19a275ae1a82df24