112 lines
3.8 KiB
RPMSpec
112 lines
3.8 KiB
RPMSpec
|
Name: libsoundtouch
|
||
|
Version: 1.8.0
|
||
|
Release: 1mamba
|
||
|
Summary: An audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.surina.net/soundtouch/index.html
|
||
|
Source: http://www.surina.net/soundtouch/soundtouch-%{version}.tar.gz
|
||
|
Patch0: libsoundtouch-1.7.1-autoconf.patch
|
||
|
Patch1: libsoundtouch-1.7.1-arm-float_samples.patch
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files:
|
||
|
* Tempo (time-stretch): Changes the sound to play at faster or slower speed than original, without affecting the sound pitch.
|
||
|
* Pitch (key) : Changes the sound pitch or key, without affecting the sound tempo or speed.
|
||
|
* Playback Rate : Changes both the sound tempo and pitch, as if an LP disc was played at wrong RPM rate.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Devel package for libsoundtouch
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} == %{version}
|
||
|
|
||
|
%description devel
|
||
|
SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files:
|
||
|
* Tempo (time-stretch): Changes the sound to play at faster or slower speed than original, without affecting the sound pitch.
|
||
|
* Pitch (key) : Changes the sound pitch or key, without affecting the sound tempo or speed.
|
||
|
* Playback Rate : Changes both the sound tempo and pitch, as if an LP disc was played at wrong RPM rate.
|
||
|
|
||
|
This package contains the header files and the static library for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n soundtouch
|
||
|
%patch0 -p1
|
||
|
%patch1 -p1
|
||
|
#% ifnarch %ix86 x86_64
|
||
|
# cc1plus: error: unrecognized command line option "-msse2"
|
||
|
#sed -i "s|-msse2||" source/SoundTouch/Makefile.am source/SoundTouch/Makefile.in
|
||
|
#% endif
|
||
|
|
||
|
%build
|
||
|
./bootstrap
|
||
|
#touch NEWS README AUTHORS ChangeLog
|
||
|
#automake --add-missing || true
|
||
|
%configure \
|
||
|
--enable-shared
|
||
|
|
||
|
%make \
|
||
|
pkgdocdir=%{_docdir}/soundtouch \
|
||
|
%ifarch arm
|
||
|
AM_CXXFLAGS="-O3"
|
||
|
%endif
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
%makeinstall \
|
||
|
pkgdocdir=%{_docdir}/soundtouch
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libSoundTouch.so.*
|
||
|
%doc README.html
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/soundstretch
|
||
|
#%{_libdir}/libSoundTouch.a
|
||
|
%{_libdir}/libSoundTouch.la
|
||
|
%{_libdir}/libSoundTouch.so
|
||
|
%dir %{_includedir}/soundtouch/
|
||
|
%{_includedir}/soundtouch/*.h
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
%{_datadir}/aclocal/soundtouch.m4
|
||
|
%dir %{_docdir}/soundtouch
|
||
|
%{_docdir}/soundtouch/*
|
||
|
|
||
|
%changelog
|
||
|
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Feb 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-2mamba
|
||
|
- arm: patch to keep using float types for audacity to build
|
||
|
|
||
|
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sun Sep 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
|
||
|
- enabled build of shared library
|
||
|
|
||
|
* Fri May 26 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1qilnx
|
||
|
- package created by autospec
|