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
|
|
|
#
|
2023-01-23 17:16:23 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
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.
|
|
|
|
|
2018-10-29 11:18:50 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-07-02 04:51:57 +02:00
|
|
|
#
|
|
|
|
|
2009-04-07 14:17:18 +02:00
|
|
|
|
2018-03-13 08:12:29 +01:00
|
|
|
%define sover 1
|
2007-07-02 04:51:57 +02:00
|
|
|
Name: soundtouch
|
2023-01-23 17:16:23 +01:00
|
|
|
Version: 2.3.2
|
2018-03-13 08:12:29 +01:00
|
|
|
Release: 0
|
2007-07-02 04:51:57 +02:00
|
|
|
Summary: Audio Processing Library
|
2018-03-13 08:12:29 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2013-01-24 16:59:06 +01:00
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
2019-08-14 10:01:55 +02:00
|
|
|
URL: https://www.surina.net/soundtouch
|
2021-12-06 09:01:48 +01:00
|
|
|
Source: https://codeberg.org/soundtouch/soundtouch/archive/%{version}.tar.gz
|
2018-03-13 08:12:29 +01:00
|
|
|
Source1: https://salsa.debian.org/multimedia-team/soundtouch/raw/master/debian/soundstretch.1
|
|
|
|
Source99: baselibs.conf
|
2022-09-12 15:17:28 +02:00
|
|
|
Patch1: disable-ffast-math.patch
|
2013-01-24 16:59:06 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2019-08-14 10:01:55 +02:00
|
|
|
BuildRequires: dos2unix
|
2013-01-24 16:59:06 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
2018-03-13 08:12:29 +01:00
|
|
|
BuildRequires: pkgconfig
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%description
|
2018-03-13 10:39:40 +01:00
|
|
|
SoundTouch is a C++ 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.
|
2018-03-13 10:39:40 +01:00
|
|
|
|
|
|
|
* Implements time stretch, pitch shift and sample rate transposing
|
|
|
|
routines.
|
|
|
|
* Supports the 16-bit integer or 32-bit floating point
|
|
|
|
PCM mono/stereo formats.
|
|
|
|
* Capable of real-time audio stream processing (depending on hardware).
|
|
|
|
* Additional use of assembler level and Intel MMX instruction sets.
|
2007-07-02 04:51:57 +02:00
|
|
|
|
2018-03-13 08:12:29 +01:00
|
|
|
%package -n libSoundTouch%{sover}
|
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
|
|
|
|
2018-03-13 08:12:29 +01:00
|
|
|
%description -n libSoundTouch%{sover}
|
2018-03-13 10:39:40 +01:00
|
|
|
SoundTouch is a C++ audio processing library that allows
|
2009-05-15 23:30:09 +02:00
|
|
|
changing the sound tempo, pitch and playback rate parameters
|
|
|
|
independently from each other.
|
|
|
|
|
2023-01-23 17:16:23 +01:00
|
|
|
%package -n libSoundTouchDll%{sover}
|
|
|
|
Summary: Audio Processing Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libSoundTouchDll%{sover}
|
|
|
|
SoundTouch is a C++ audio processing library that allows
|
|
|
|
changing the sound tempo, pitch and playback rate parameters
|
|
|
|
independently from each other.
|
|
|
|
|
2009-05-15 23:30:09 +02:00
|
|
|
%package devel
|
2018-03-13 10:39:40 +01:00
|
|
|
Summary: Development files for the SoundTouch audio processing library
|
2010-12-09 18:23:13 +01:00
|
|
|
Group: Development/Languages/C and C++
|
2013-01-24 16:59:06 +01:00
|
|
|
Requires: glibc-devel
|
2018-03-13 08:12:29 +01:00
|
|
|
Requires: libSoundTouch%{sover} = %{version}
|
2009-05-15 23:30:09 +02:00
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
%description devel
|
2018-03-13 10:39:40 +01:00
|
|
|
SoundTouch is a C++ 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.
|
|
|
|
|
2018-03-13 10:39:40 +01:00
|
|
|
This subpackage contains the header files for building programs with
|
|
|
|
SoundTouch.
|
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
%prep
|
2024-02-26 18:03:40 +01:00
|
|
|
%autosetup -p1 -n %{name}
|
|
|
|
|
2019-08-14 10:01:55 +02:00
|
|
|
dos2unix README.html
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%build
|
2019-08-14 10:01:55 +02:00
|
|
|
autoreconf -fvi
|
2018-03-13 08:12:29 +01:00
|
|
|
%configure \
|
|
|
|
--enable-shared \
|
2009-05-15 23:30:09 +02:00
|
|
|
--disable-static
|
2018-03-13 08:12:29 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%install
|
2018-03-13 08:12:29 +01:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-12-09 20:41:43 +01:00
|
|
|
# Add man page for soundstretch generated by help2man
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
2018-03-13 08:12:29 +01:00
|
|
|
cp %{SOURCE1} %{buildroot}%{_mandir}/man1
|
2007-07-02 04:51:57 +02:00
|
|
|
|
2018-03-13 08:12:29 +01:00
|
|
|
rm -fr %{buildroot}%{_datadir}/doc/%{name}
|
2009-04-07 14:17:18 +02:00
|
|
|
|
2018-03-13 08:12:29 +01:00
|
|
|
%post -n libSoundTouch%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libSoundTouch%{sover} -p /sbin/ldconfig
|
2009-04-07 14:17:18 +02:00
|
|
|
|
2023-01-23 17:16:23 +01:00
|
|
|
%post -n libSoundTouchDll%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libSoundTouchDll%{sover} -p /sbin/ldconfig
|
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
%files
|
|
|
|
%{_bindir}/*
|
2010-12-09 20:41:43 +01:00
|
|
|
%{_mandir}/man1/*
|
2009-05-15 23:30:09 +02:00
|
|
|
|
2018-03-13 08:12:29 +01:00
|
|
|
%files -n libSoundTouch%{sover}
|
|
|
|
%license COPYING.TXT
|
|
|
|
%{_libdir}/libSoundTouch.so.%{sover}*
|
2007-07-02 04:51:57 +02:00
|
|
|
|
2023-01-23 17:16:23 +01:00
|
|
|
%files -n libSoundTouchDll%{sover}
|
|
|
|
%license COPYING.TXT
|
|
|
|
%{_libdir}/libSoundTouchDll.so.%{sover}*
|
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
%files devel
|
|
|
|
%{_datadir}/aclocal/*.m4
|
2018-03-13 08:12:29 +01:00
|
|
|
%{_includedir}/%{name}
|
2023-01-23 17:16:23 +01:00
|
|
|
%{_includedir}/SoundTouchDLL.h
|
2007-07-02 04:51:57 +02:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2009-04-07 14:17:18 +02:00
|
|
|
%{_libdir}/*.so
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%changelog
|