|
|
|
@ -1,12 +1,13 @@
|
|
|
|
|
Name: soundtouch
|
|
|
|
|
Version: 2.3.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 2.1.1
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
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/
|
|
|
|
|
Source0: https://gitlab.com/soundtouch/soundtouch/-/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
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
|
|
|
|
|
%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
|
|
|
|
|
%cmake
|
|
|
|
|
%cmake_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}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.html
|
|
|
|
|
%license COPYING.TXT
|
|
|
|
@ -64,45 +85,16 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
|
%{_libdir}/cmake/SoundTouch
|
|
|
|
|
%{_datadir}/aclocal/%{name}.m4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.1-8
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.1-7
|
|
|
|
|
- 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
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|