Blame SPECS/soundtouch.spec

b140df
Name:           soundtouch
b140df
Version:        2.1.1
b140df
Release:        8%{?dist}
b140df
Summary:        Audio Processing library for changing Tempo, Pitch and Playback Rates
b140df
License:        LGPLv2+
b140df
URL:            http://www.surina.net/soundtouch/
b140df
Source0:        https://gitlab.com/soundtouch/soundtouch/-/archive/%{version}/%{name}-%{version}.tar.gz
b140df
BuildRequires: make
b140df
BuildRequires:  gcc-c++
b140df
BuildRequires:  autoconf automake libtool
b140df
b140df
%description
b140df
SoundTouch is a LGPL-licensed open-source audio processing library for
b140df
changing the Tempo, Pitch and Playback Rates of audio streams or
b140df
files. The SoundTouch library is suited for application developers
b140df
writing sound processing tools that require tempo/pitch control
b140df
functionality, or just for playing around with the sound effects.
b140df
b140df
The SoundTouch library source kit includes an example utility
b140df
SoundStretch which allows processing .wav audio files from a
b140df
command-line interface.
b140df
b140df
b140df
%package devel
b140df
Summary:  Libraries, includes, etc to develop soundtouch applications
b140df
Requires: soundtouch = %{version}-%{release}
b140df
Requires: pkgconfig
b140df
b140df
%description devel
b140df
Libraries, include files, etc you can use to develop soundtouch applications.
b140df
b140df
b140df
%prep
b140df
%autosetup -p1
b140df
# Remove -O3 because we have our default optimizations.
b140df
sed -i 's|-O3||' source/SoundTouch/Makefile.*
b140df
sed -i 's|-O3||' source/SoundStretch/Makefile.*
b140df
autoreconf -iv
b140df
# set correct version for .so build
b140df
%define ltversion %(echo %{version} | tr '.' ':')
b140df
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
b140df
  source/SoundTouch/Makefile.in
b140df
# cleanup a bit
b140df
sed -i 's|\r||g' README.html source/SoundTouch/RateTransposer.cpp
b140df
b140df
b140df
%build
b140df
%configure --disable-dependency-tracking --disable-static --enable-shared
b140df
# Don't use rpath!
b140df
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
b140df
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
b140df
make V=1 %{?_smp_mflags}
b140df
b140df
b140df
%install
b140df
%make_install
b140df
rm %{buildroot}%{_libdir}/*.la
b140df
b140df
# remove redundant installed docs
b140df
rm -rf %{buildroot}%{_docdir}/%{name}
b140df
b140df
# pkgconfig compat links for compat with older (API compatible) releases
b140df
# dunno why upstream keeps changing the pkgconfig name
b140df
# Update 2016-02-13: now looks like that is soundtouch.pc without version
b140df
ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/libSoundTouch.pc
b140df
ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
b140df
b140df
## soundtouch installs an autoheader generated header file which could very
b140df
## well conflict with other autoheader generated header files, so we override
b140df
## this with our own version which contains only the bare minimum:
b140df
#echo '#define FLOAT_SAMPLES 1' \
b140df
#  > %{buildroot}%{_includedir}/soundtouch/soundtouch_config.h
b140df
b140df
b140df
%ldconfig_scriptlets
b140df
b140df
b140df
%files
b140df
%doc README.html
b140df
%license COPYING.TXT
b140df
%{_bindir}/soundstretch
b140df
%{_libdir}/lib*.so.*
b140df
b140df
%files devel
b140df
%{_libdir}/lib*.so
b140df
%{_libdir}/pkgconfig/*.pc
b140df
%{_includedir}/%{name}
b140df
%{_datadir}/aclocal/%{name}.m4
b140df
b140df
b140df
%changelog
b140df
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.1-8
b140df
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b140df
  Related: rhbz#1991688
b140df
b140df
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.1-7
b140df
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b140df
b140df
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b140df
b140df
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-5
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b140df
b140df
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b140df
b140df
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b140df
b140df
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b140df
b140df
* Wed Nov 14 2018 Sérgio Basto <sergio@serjux.com> - 2.1.1-1
b140df
- Update to 2.1.1
b140df
  Bugfixes: Fixed potential buffer overwrite bugs in WavFile routines. Replaced asserts with runtime exceptions.
b140df
  Android: Migrated the SoundTouch Android example to new Android Studio
b140df
  Automake: unset ACLOCAL in bootstrap script to avoid error in case earlier build script has set it
b140df
b140df
* Sat Oct 06 2018 Sérgio Basto <sergio@serjux.com> - 2.1.0-1
b140df
- Update to 2.1.0
b140df
b140df
* Tue Aug 14 2018 Hans de Goede <hdegoede@redhat.com> - 2.0.0-6
b140df
- The last round of security fixes also fixes CVE-2018-14044, CVE-2018-14045
b140df
  (rhbz#1601618, rhbz#1601620, rhbz#1601624, rhbz#1601625)
b140df
b140df
* Tue Aug 14 2018 Hans de Goede <hdegoede@redhat.com> - 2.0.0-5
b140df
- Security fix for CVE-2018-1000223 (rhbz#1609193, rhbz#1609194)
b140df
b140df
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b140df
b140df
* Thu Jul 05 2018 Hans de Goede <hdegoede@redhat.com> 2.0.0-3
b140df
- Security fix for CVE-2017-9258, CVE-2017-9259, CVE-2017-9260 (rhbz#1475759)
b140df
b140df
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b140df
b140df
* Thu Sep 28 2017 Sérgio Basto <sergio@serjux.com> - 2.0.0-1
b140df
- Update soundtouch to 2.0.0
b140df
b140df
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-6
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b140df
b140df
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-5
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b140df
b140df
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-4
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b140df
b140df
* Sat Feb 13 2016 Sérgio Basto <sergio@serjux.com> - 1.9.2-3
b140df
- fix pkgconfig links
b140df
b140df
* Sat Feb 13 2016 Sérgio Basto <sergio@serjux.com> - 1.9.2-2
b140df
- Add license tag.
b140df
- Add back sed on -O3 .
b140df
- Not modify soundtouch_config.h because looks correct, just have one line !.
b140df
b140df
* Tue Feb 09 2016 Sérgio Basto <sergio@serjux.com> - 1.9.2-1
b140df
- Update to 1.9.2 (#961876).
b140df
- Modernize spec file.
b140df
- Makefile.am handles mmx and sse flags well, so no need patch 01 and sed anymore.
b140df
- Patch 02 disabled, I hope we already have asm fixed on X86_64.
b140df
b140df
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-14
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b140df
b140df
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-13
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b140df
b140df
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.4.0-12
b140df
- Rebuilt for GCC 5 C++11 ABI change
b140df
b140df
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.4.0-11
b140df
- Rebuilt for Fedora 23 Change
b140df
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
b140df
b140df
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-10
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b140df
b140df
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-9
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b140df
b140df
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-8
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b140df
b140df
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-7
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b140df
b140df
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b140df
b140df
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b140df
b140df
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b140df
b140df
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b140df
b140df
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
b140df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b140df
b140df
* Sat Feb 14 2009 Hans de Goede <hdegoede@redhat.com> 1.4.0-1
b140df
- New upstream release 1.4.0
b140df
b140df
* Sat Dec 20 2008 Hans de Goede <hdegoede@redhat.com> 1.3.1-11
b140df
- Fix compilation with libtool 2.x
b140df
b140df
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-10
b140df
- Autorebuild for GCC 4.3
b140df
b140df
* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-9
b140df
- Fix compilation with gcc 4.3
b140df
b140df
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-8
b140df
- Rebuild for buildId
b140df
- Update license tag for new license guidelines compliance
b140df
b140df
* Mon Feb 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-7
b140df
- Fix building with automake-1.10
b140df
b140df
* Tue Aug 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-6
b140df
- FE6 Rebuild
b140df
b140df
* Wed Aug  2 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-5
b140df
- Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom
b140df
  upstream CFLAGS.
b140df
b140df
* Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-4
b140df
- Add Requires: pkgconfig to -devel subpackage
b140df
- Replace installed autoheader generated header file with our own version
b140df
  which contains only the nescesarry soundtouch specific defines, thus avoiding
b140df
  possible conflicts with other autoheader generated headers.
b140df
b140df
* Mon Jul 31 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.3.1-3
b140df
- Add BR libtool
b140df
b140df
* Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-2
b140df
- Add BR: automake, because upstream uses symlinks to instead of copies of some
b140df
  needed automake files.
b140df
b140df
* Sat Jul 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-1
b140df
- New upstream version 1.3.1
b140df
- Minor specfile cleanups for livna submission.
b140df
- Give the .so a proper version instead of 0.0.0
b140df
- Don't use rpath in soundstretch binary
b140df
b140df
* Thu Aug 26 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.1-1
b140df
- initial build.