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