- Fix compilation with libtool 2.x

This commit is contained in:
Hans de Goede 2008-12-20 09:19:55 +00:00
parent 88f921771d
commit 5701285a2e
3 changed files with 8 additions and 6 deletions

View File

@ -1 +1,2 @@
soundtouch-missing-autoxxx-files.tar.gz
soundtouch-1.3.1.tar.gz

View File

@ -1,11 +1,12 @@
Name: soundtouch
Version: 1.3.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.surina.net/soundtouch/
Source0: %{name}-%{version}.tar.gz
Source1: soundtouch-missing-autoxxx-files.tar.gz
Patch0: soundtouch-1.3.1-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++ libtool
@ -33,7 +34,7 @@ Libraries, include files, etc you can use to develop soundtouch applications.
%prep
%setup -q
%setup -q -a 1
%patch0 -p1
# set correct version for .so build
%define ltversion %(echo %{version} | tr '.' ':')
@ -46,10 +47,6 @@ sed -i 's|-O3 -msse|$(CFLAGS) -msse|' source/SoundTouch/Makefile.*
sed -i 's|-O3 -msse|$(CFLAGS)|' source/SoundTouch/Makefile.*
%endif
sed -i 's|-O3|$(CFLAGS)|' source/example/*/Makefile.*
# fix compile with automake-1.10
for i in install-sh depcomp missing config.guess config.sub; do
ln -f -s /usr/share/automake-1.10/$i config/$i
done
# cleanup a bit
chmod -x README.html source/SoundTouch/RateTransposer.cpp
sed -i 's|\r||g' README.html COPYING.TXT source/SoundTouch/RateTransposer.cpp
@ -107,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Dec 20 2008 Hans de Goede <hdegoede@redhat.com> 1.3.1-11
- Fix compilation with libtool 2.x
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-10
- Autorebuild for GCC 4.3

View File

@ -1 +1,2 @@
06e29b338534f3e0409944a41c3567eb soundtouch-missing-autoxxx-files.tar.gz
5e0185e81dbba2f2eed8581b7664ab04 soundtouch-1.3.1.tar.gz