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