2007-07-02 04:51:57 +02:00
|
|
|
#
|
2011-04-18 09:45:03 +02:00
|
|
|
# spec file for package soundtouch
|
2007-07-02 04:51:57 +02:00
|
|
|
#
|
2015-03-28 09:57:54 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-07-02 04:51:57 +02:00
|
|
|
#
|
2009-04-07 14:17:18 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2009-04-07 14:17:18 +02:00
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
Name: soundtouch
|
2007-11-22 17:55:33 +01:00
|
|
|
Url: http://www.surina.net/soundtouch
|
2007-07-02 04:51:57 +02:00
|
|
|
Summary: Audio Processing Library
|
2013-01-24 16:59:06 +01:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
2015-03-28 09:57:54 +01:00
|
|
|
Version: 1.8.0
|
2013-01-24 16:59:06 +01:00
|
|
|
Release: 0
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
Source: http://www.surina.net/soundtouch/%{name}-%{version}.tar.gz
|
2013-01-28 13:19:38 +01:00
|
|
|
# From http://ftp.debian.org/debian/pool/main/s/soundtouch/soundtouch_1.6.0-3.debian.tar.gz
|
|
|
|
Source1: soundstretch.1
|
2015-04-07 14:46:04 +02:00
|
|
|
Source99: baselibs.conf
|
2007-07-02 04:51:57 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2007-11-22 17:55:33 +01:00
|
|
|
SoundTouch is an open source audio processing library that allows
|
2007-07-02 04:51:57 +02:00
|
|
|
changing the sound tempo, pitch and playback rate parameters
|
|
|
|
independently from each other.
|
2010-12-09 20:41:43 +01:00
|
|
|
*Easy-to-use implementation of time-stretch, pitch-shift and sample
|
|
|
|
rate transposing routines.
|
|
|
|
*High-performance object-oriented C++ implementation.
|
|
|
|
*Clear and easy-to-use programming interface via a single C++ class.
|
|
|
|
*Supported audio data format : 16Bit integer or 32bit floating point
|
|
|
|
PCM mono/stereo
|
|
|
|
*Capable of real-time audio stream processing:
|
|
|
|
input/output latency max. ~ 100 ms.
|
|
|
|
Processing 44.1kHz/16bit stereo sound in realtime requires a 133 Mhz
|
|
|
|
Intel Pentium processor or better.
|
|
|
|
*Additional assembler-level and Intel-MMX instruction set optimizations
|
|
|
|
for Intel x86 compatible processors, offering several times increase
|
|
|
|
in the processing performance.
|
2007-07-02 04:51:57 +02:00
|
|
|
|
2009-05-15 23:30:09 +02:00
|
|
|
%package -n libSoundTouch0
|
2007-07-02 04:51:57 +02:00
|
|
|
Summary: Audio Processing Library
|
2010-12-09 18:23:13 +01:00
|
|
|
Group: System/Libraries
|
2007-07-02 04:51:57 +02:00
|
|
|
|
2009-05-15 23:30:09 +02:00
|
|
|
%description -n libSoundTouch0
|
|
|
|
SoundTouch is an open source audio processing library that allows
|
|
|
|
changing the sound tempo, pitch and playback rate parameters
|
|
|
|
independently from each other.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Audio Processing Library
|
2010-12-09 18:23:13 +01:00
|
|
|
Group: Development/Languages/C and C++
|
2015-03-28 09:57:54 +01:00
|
|
|
Requires: libSoundTouch0 = %{version}
|
2013-01-24 16:59:06 +01:00
|
|
|
Requires: glibc-devel
|
2009-05-15 23:30:09 +02:00
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
%description devel
|
|
|
|
SoundTouch is an open-source audio processing library that allows
|
|
|
|
changing the sound tempo, pitch and playback rate parameters
|
|
|
|
independently from each other.
|
|
|
|
|
|
|
|
%prep
|
2009-05-15 23:30:09 +02:00
|
|
|
%setup -q -n %{name}
|
|
|
|
tr -d '\r' <README.html >README.html~
|
|
|
|
touch -r README.html README.html~
|
|
|
|
mv README.html~ README.html
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%build
|
2013-01-24 16:59:06 +01:00
|
|
|
./bootstrap
|
2009-05-15 23:30:09 +02:00
|
|
|
%configure\
|
|
|
|
--enable-shared\
|
|
|
|
--disable-static
|
2015-03-28 09:57:54 +01:00
|
|
|
make %{?_smp_mflags} pkgdocdir=%{_docdir}/%{name}
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall pkgdocdir=%{_docdir}/%{name}
|
2007-07-04 23:50:24 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
2010-12-09 20:41:43 +01:00
|
|
|
# Add man page for soundstretch generated by help2man
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
cp %{S:1} %{buildroot}%{_mandir}/man1
|
2007-07-02 04:51:57 +02:00
|
|
|
|
2009-05-15 23:30:09 +02:00
|
|
|
%post -n libSoundTouch0 -p /sbin/ldconfig
|
2009-04-07 14:17:18 +02:00
|
|
|
|
2009-05-15 23:30:09 +02:00
|
|
|
%postun -n libSoundTouch0 -p /sbin/ldconfig
|
2009-04-07 14:17:18 +02:00
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%{_bindir}/*
|
2010-12-09 20:41:43 +01:00
|
|
|
%{_mandir}/man1/*
|
2009-05-15 23:30:09 +02:00
|
|
|
|
|
|
|
%files -n libSoundTouch0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libSoundTouch.so.0*
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_includedir}/soundtouch
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2009-04-07 14:17:18 +02:00
|
|
|
%{_libdir}/*.so
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%changelog
|