- 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
Version: 1.0.1
Release: 9%{?dist}
Version: 1.0.3
Release: 1%{?dist}
Summary: Library handling decoding of several popular sound file formats
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.icculus.org/SDL_sound
# This is:
# http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
# With all the files except the Makefiles under decoders/mpglib removed
# for patent reasons
# With all the files except the Makefiles under decoders/mpglib (patented)
# and PBProjects.tar.gz (contains binaries) removed
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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
# Avoid lib64 rpaths
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
export CPPFLAGS="$(pkg-config libmodplug --cflags)"
# no smpeg and internal mpglib because of patents!
%configure --disable-dependency-tracking --disable-static \
--disable-smpeg --disable-mpglib --enable-mikmod --enable-ogg \
@ -102,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README TODO
%{_bindir}/playsound
%{_bindir}/playsound*
%{_libdir}/libSDL_sound-1.0.so.*
%files devel
@ -114,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
%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
- Rebuild for new libmikmod
- 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