- Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom
upstream CFLAGS.
This commit is contained in:
parent
977d9396d9
commit
c7d963e485
@ -1,6 +1,6 @@
|
|||||||
Name: soundtouch
|
Name: soundtouch
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
|
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -37,6 +37,9 @@ Libraries, include files, etc you can use to develop soundtouch applications.
|
|||||||
%define ltversion %(echo %{version} | tr '.' ':')
|
%define ltversion %(echo %{version} | tr '.' ':')
|
||||||
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
|
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
|
||||||
source/SoundTouch/Makefile.in
|
source/SoundTouch/Makefile.in
|
||||||
|
# force use of our CFLAGS
|
||||||
|
sed -i 's|-O3 -msse|$(CFLAGS)|' source/SoundTouch/Makefile.*
|
||||||
|
sed -i 's|-O3|$(CFLAGS)|' source/example/*/Makefile.*
|
||||||
# cleanup a bit
|
# cleanup a bit
|
||||||
chmod -x README.html
|
chmod -x README.html
|
||||||
sed -i 's|\r||' README.html COPYING.TXT
|
sed -i 's|\r||' README.html COPYING.TXT
|
||||||
@ -94,6 +97,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 2 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-5
|
||||||
|
- Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom
|
||||||
|
upstream CFLAGS.
|
||||||
|
|
||||||
* Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-4
|
* Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-4
|
||||||
- Add Requires: pkgconfig to -devel subpackage
|
- Add Requires: pkgconfig to -devel subpackage
|
||||||
- Replace installed autoheader generated header file with our own version
|
- Replace installed autoheader generated header file with our own version
|
||||||
|
Loading…
Reference in New Issue
Block a user