- New upstream release 1.0.3

This commit is contained in:
Hans de Goede 2008-04-23 08:56:02 +00:00
parent ec8bba3930
commit 0e29592bd2
3 changed files with 10 additions and 10 deletions

View File

@ -1 +1 @@
SDL_sound-1.0.1.tar.gz SDL_sound-1.0.3.tar.gz

View File

@ -1,14 +1,14 @@
Name: SDL_sound Name: SDL_sound
Version: 1.0.1 Version: 1.0.3
Release: 9%{?dist} Release: 1%{?dist}
Summary: Library handling decoding of several popular sound file formats Summary: Library handling decoding of several popular sound file formats
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: http://www.icculus.org/SDL_sound URL: http://www.icculus.org/SDL_sound
# This is: # This is:
# http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz # http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
# With all the files except the Makefiles under decoders/mpglib removed # With all the files except the Makefiles under decoders/mpglib (patented)
# for patent reasons # and PBProjects.tar.gz (contains binaries) removed
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel flac-devel speex-devel libvorbis-devel libogg-devel BuildRequires: SDL-devel flac-devel speex-devel libvorbis-devel libogg-devel
@ -44,12 +44,9 @@ This package contains the headers and libraries for SDL_sound development.
%setup -q %setup -q
# Avoid lib64 rpaths # Avoid lib64 rpaths
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
# We don't need libvorbisenc
sed -i 's/VORBISENC_LIBS="-lvorbisenc"/VORBISENC_LIBS=""/g' configure
%build %build
export CPPFLAGS="$(pkg-config libmodplug --cflags)"
# no smpeg and internal mpglib because of patents! # no smpeg and internal mpglib because of patents!
%configure --disable-dependency-tracking --disable-static \ %configure --disable-dependency-tracking --disable-static \
--disable-smpeg --disable-mpglib --enable-mikmod --enable-ogg \ --disable-smpeg --disable-mpglib --enable-mikmod --enable-ogg \
@ -102,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README TODO %doc COPYING README TODO
%{_bindir}/playsound %{_bindir}/playsound*
%{_libdir}/libSDL_sound-1.0.so.* %{_libdir}/libSDL_sound-1.0.so.*
%files devel %files devel
@ -114,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Apr 21 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.3-1
- New upstream release 1.0.3
* Sun Feb 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.1-9 * Sun Feb 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.1-9
- Rebuild for new libmikmod - Rebuild for new libmikmod
- Rebuild with gcc 4.3 - Rebuild with gcc 4.3

View File

@ -1 +1 @@
537a5b05045bd9585ada63945f9a97b4 SDL_sound-1.0.1.tar.gz 34d057f4a0cb9bbd267a4e7e050d5a03 SDL_sound-1.0.3.tar.gz