11Vendor: Microsoft Corporation
22Distribution: Azure Linux
33Name: soundtouch
4- Version: 2.1.1
5- Release: 5 %{?dist }
4+ Version: 2.3.3
5+ Release: 2 %{?dist }
66Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
7- License: LGPLv2+
8- URL: http ://www.surina.net/soundtouch/
9- Source0: https://gitlab.com /soundtouch/soundtouch/-/ archive/%{version }/%{name }-%{version }.tar.gz
7+ License: LGPL-2.1 -or-later
8+ URL: https ://www.surina.net/soundtouch/
9+ Source0: https://codeberg.org /soundtouch/soundtouch/archive/%{version }.tar.gz# /%{name}-%{version}.tar.gz
1010BuildRequires: gcc-c++
11- BuildRequires: autoconf automake libtool
11+ BuildRequires: cmake
1212
1313%description
1414SoundTouch is a LGPL-licensed open-source audio processing library for
@@ -32,33 +32,16 @@ Libraries, include files, etc you can use to develop soundtouch applications.
3232
3333
3434%prep
35- %autosetup -p1
36- # Remove -O3 because we have our default optimizations.
37- sed -i ' s|-O3||' source/SoundTouch/Makefile.*
38- sed -i ' s|-O3||' source/SoundStretch/Makefile.*
39- autoreconf -iv
40- # set correct version for .so build
41- %define ltversion %(echo %{version} | tr ' .' ' :' )
42- sed -i ' s/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
43- source/SoundTouch/Makefile.in
44- # cleanup a bit
45- sed -i ' s|\r||g' README.html source/SoundTouch/RateTransposer.cpp
35+ %autosetup -p1 -n %{name }
4636
4737
4838%build
49- %configure --disable-dependency-tracking --disable-static --enable-shared
50- # Don't use rpath!
51- sed -i ' s|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
52- sed -i ' s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
53- make V=1 %{?_smp_mflags }
39+ %cmake
40+ %cmake_build
5441
5542
5643%install
57- %make_install
58- rm %{buildroot }%{_libdir }/* .la
59-
60- # remove redundant installed docs
61- rm -rf %{buildroot }%{_docdir }/%{name }
44+ %cmake_install
6245
6346# pkgconfig compat links for compat with older (API compatible) releases
6447# dunno why upstream keeps changing the pkgconfig name
@@ -73,9 +56,6 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
7356# > %{buildroot}%{_includedir}/soundtouch/soundtouch_config.h
7457
7558
76- %ldconfig_scriptlets
77-
78-
7959%files
8060%doc README.html
8161%license COPYING.TXT
@@ -86,12 +66,58 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
8666%{_libdir }/lib* .so
8767%{_libdir }/pkgconfig/* .pc
8868%{_includedir }/%{name }
89- %{_datadir }/aclocal/%{ name }.m4
69+ %{_libdir }/cmake/SoundTouch
9070
9171
9272%changelog
93- * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.1.1-5
94- - Initial CBL-Mariner import from Fedora 32 (license: MIT).
73+ * Tue Jan 21 2025 Archana Shettigar <v-shettigara@microsoft.com> - 2.3.3-2
74+ - Initial Azure Linux import from Fedora 41 (license: MIT).
75+ - License Verified
76+
77+ * Sun Sep 29 2024 Sérgio Basto <sergio@serjux.com> - 2.3.3-1
78+ - Update soundtouch to 2.3.3 (#2293433)
79+
80+ * Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-7
81+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
82+
83+ * Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-6
84+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
85+
86+ * Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
87+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
88+
89+ * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
90+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
91+
92+ * Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-3
93+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
94+
95+ * Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
96+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
97+
98+ * Thu Sep 09 2021 Uwe Klotz <uwe.klotz@gmail.com> - 2.3.1-1
99+ - Update to new upstream version 2.3.1
100+ Switch build from autotools to CMake
101+
102+ * Tue Aug 31 2021 Sérgio Basto <sergio@serjux.com> - 2.3.0-2
103+ - Continuing to use the autotools build instead of new CMake
104+ https://gitlab.com/soundtouch/soundtouch/-/issues/45
105+
106+ * Sun Aug 29 2021 Sérgio Basto <sergio@serjux.com> - 2.3.0-1
107+ - Update to 2.3.0 (#1998849)
108+
109+ * Sun Aug 29 2021 Uwe Klotz <uwe.klotz@gmail.com> - 2.1.2-1
110+ - Update to new upstream version 2.1.2
111+ Bump version to 2.1.2 to correct incorrect version info in configure.ac
112+
113+ * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-7
114+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
115+
116+ * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
117+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
118+
119+ * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-5
120+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
95121
96122* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
97123- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0 commit comments