]> git.pld-linux.org Git - packages/SDL_sound.git/blobdiff - SDL_sound.spec
- release 5 (restores flac and speex support)
[packages/SDL_sound.git] / SDL_sound.spec
index b45f441a06958815da2570f141a2fa1e3b6bed62..a23b3e09bb98f382bdc1086fc0812c3c70bf5e53 100644 (file)
@@ -1,18 +1,26 @@
 Summary:       An abstract soundfile decoder
 Summary(pl):   Abstrakcyjny dekoder plików d¼wiêkowych
 Name:          SDL_sound
-Version:       1.0.0
-Release:       2
+Version:       1.0.1
+Release:       5
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.icculus.org/%{name}/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 864a3b6e899d9a3aba45ce19ceba2ae2
+Source0:       http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
+# Source0-md5: 49e197ef7c8ab623d0640dc74be43160
+Patch0:                %{name}-flac.patch
 URL:           http://www.icculus.org/SDL_sound/
-BuildRequires: SDL-devel >= 1.2.5-2
+BuildRequires: SDL-devel >= 1.2.6
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: flac-devel >= 1.1.3
+BuildRequires: libmikmod-devel >= 3.1.5
+BuildRequires: libmodplug-devel
+BuildRequires: libvorbis-devel >= 1:1.0-6
 BuildRequires: libtool
-Requires:      SDL >= 1.2.5-2
+BuildRequires: physfs-devel
+BuildRequires: smpeg-devel >= 0.4.4-12
+BuildRequires: speex-devel
+Requires:      SDL >= 1.2.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -45,8 +53,14 @@ d
 Summary:       Header files and more to develop SDL_sound applications
 Summary(pl):   Pliki nag³ówkowe do tworzenia aplikacji z u¿yciem SDL_sound
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
-Requires:      SDL-devel
+Requires:      %{name} = %{version}-%{release}
+Requires:      SDL-devel >= 1.2.6
+Requires:      flac-devel >= 1.1.3
+Requires:      libmikmod-devel >= 3.1.5
+Requires:      libmodplug-devel
+Requires:      libvorbis-devel >= 1:1.0
+Requires:      smpeg-devel >= 0.4.4
+Requires:      speex-devel
 
 %description devel
 Header files and more to develop SDL_sound applications.
@@ -58,7 +72,7 @@ Pliki nag
 Summary:       Static SDL_sound libraries
 Summary(pl):   Statyczne biblioteki SDL_sound
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static SDL_sound libraries.
@@ -68,8 +82,17 @@ Statyczne biblioteki SDL_sound.
 
 %prep
 %setup -q
+%patch0 -p1
+
+echo 'AC_DEFUN([AM_PATH_VORBIS],[XIPH_PATH_VORBIS])' > acinclude.m4
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+CPPFLAGS="-I/usr/include/libmodplug -I/usr/include/speex"
 %configure
 %{__make}
 
@@ -82,17 +105,17 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
+%doc CHANGELOG CREDITS README TODO
 %attr(755,root,root) %{_bindir}/playsound
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc README
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}/SDL/*
This page took 0.047235 seconds and 4 git commands to generate.