Compare commits

...

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/soundtouch-2.3.1.tar.gz SOURCES/soundtouch-2.1.1.tar.gz

@ -1 +1 @@
a1430fe3587124321745c11e59d41010324b9741 SOURCES/soundtouch-2.3.1.tar.gz a4fdc81f381e91b1c53270f066efa4c68a2c70b6 SOURCES/soundtouch-2.1.1.tar.gz

@ -1,12 +1,13 @@
Name: soundtouch Name: soundtouch
Version: 2.3.1 Version: 2.1.1
Release: 7%{?dist} Release: 8%{?dist}
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
License: LGPL-2.1-or-later License: LGPLv2+
URL: http://www.surina.net/soundtouch/ URL: http://www.surina.net/soundtouch/
Source0: https://gitlab.com/soundtouch/soundtouch/-/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://gitlab.com/soundtouch/soundtouch/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake BuildRequires: autoconf automake libtool
%description %description
SoundTouch is a LGPL-licensed open-source audio processing library for SoundTouch is a LGPL-licensed open-source audio processing library for
@ -31,15 +32,32 @@ Libraries, include files, etc you can use to develop soundtouch applications.
%prep %prep
%autosetup -p1 %autosetup -p1
# 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
%build %build
%cmake %configure --disable-dependency-tracking --disable-static --enable-shared
%cmake_build # 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}
%install %install
%cmake_install %make_install
rm %{buildroot}%{_libdir}/*.la
# remove redundant installed docs
rm -rf %{buildroot}%{_docdir}/%{name}
# pkgconfig compat links for compat with older (API compatible) releases # pkgconfig compat links for compat with older (API compatible) releases
# dunno why upstream keeps changing the pkgconfig name # dunno why upstream keeps changing the pkgconfig name
@ -54,6 +72,9 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
# > %{buildroot}%{_includedir}/soundtouch/soundtouch_config.h # > %{buildroot}%{_includedir}/soundtouch/soundtouch_config.h
%ldconfig_scriptlets
%files %files
%doc README.html %doc README.html
%license COPYING.TXT %license COPYING.TXT
@ -64,45 +85,16 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_includedir}/%{name} %{_includedir}/%{name}
%{_libdir}/cmake/SoundTouch %{_datadir}/aclocal/%{name}.m4
%changelog %changelog
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.3.1-7 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.1-8
- Bump release for June 2024 mass rebuild - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* 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 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save