2007-07-02 04:51:57 +02:00
|
|
|
#
|
|
|
|
# spec file for package soundtouch (Version 1.3.1)
|
|
|
|
#
|
2009-04-07 14:17:18 +02:00
|
|
|
# Copyright (c) 2009 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
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
|
|
|
License: LGPL v2.1 or later
|
2007-07-02 04:51:57 +02:00
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
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
|
|
|
|
Version: 1.3.1
|
2009-04-07 14:17:18 +02:00
|
|
|
Release: 81
|
2007-07-02 04:51:57 +02:00
|
|
|
BuildRequires: gcc-c++ libstdc++
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: soundtouch-keep-flags.patch
|
2007-07-04 23:50:24 +02:00
|
|
|
Patch1: soundtouch-no-sse.diff
|
|
|
|
Patch2: soundtouch-sse-automake-add.diff
|
|
|
|
Patch3: soundtouch-autoreconf-fix.diff
|
2007-11-22 17:55:33 +01:00
|
|
|
Patch4: soundtouch-gcc43-fix.diff
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Olli Parviainen
|
|
|
|
|
|
|
|
%package devel
|
2009-04-07 14:17:18 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-07-02 04:51:57 +02:00
|
|
|
Summary: Audio Processing Library
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
|
|
Requires: %{name} = %{version} glibc-devel
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Olli Parviainen
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
2007-07-04 23:50:24 +02:00
|
|
|
%patch1
|
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
%patch2
|
|
|
|
%endif
|
|
|
|
%patch3
|
2007-11-22 17:55:33 +01:00
|
|
|
%patch4
|
2007-07-02 04:51:57 +02:00
|
|
|
chmod -x README.html
|
|
|
|
for FILE in COPYING.TXT README.html ; do
|
|
|
|
tr -d $'\r\z' <$FILE >$FILE~
|
|
|
|
mv $FILE~ $FILE
|
|
|
|
done
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -f -i
|
2009-04-07 14:17:18 +02:00
|
|
|
%configure --enable-shared --disable-static --with-pic
|
2007-07-02 04:51:57 +02:00
|
|
|
make %{?jobs:-j%jobs} pkgdocdir=%{_docdir}/%{name}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall pkgdocdir=%{_docdir}/%{name}
|
2007-07-04 23:50:24 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
2007-07-02 04:51:57 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-04-07 14:17:18 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2007-07-02 04:51:57 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
%{_bindir}/*
|
2009-04-07 14:17:18 +02:00
|
|
|
%{_libdir}/*.so.*
|
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
|
2009-04-07 14:17:18 +02:00
|
|
|
* Sat Apr 04 2009 crrodriguez@suse.de
|
|
|
|
- use --enable-shared and disable static libraries
|
|
|
|
* Thu Nov 22 2007 tiwai@suse.de
|
2007-11-22 17:55:33 +01:00
|
|
|
- fix build with gcc 4.3
|
2009-04-07 14:17:18 +02:00
|
|
|
* Wed Jul 04 2007 tiwai@suse.de
|
2007-07-04 23:50:24 +02:00
|
|
|
- fix build with the recent gcc
|
|
|
|
- fix build on architectures without SSE
|
|
|
|
- fix Makefile.am and removed hacks for autoreconf in spec file
|
2009-04-07 14:17:18 +02:00
|
|
|
* Thu Jun 21 2007 sbrabec@suse.cz
|
2007-07-02 04:51:57 +02:00
|
|
|
- New SuSE package, version 1.3.1.
|