]> git.pld-linux.org Git - packages/SDL_sound.git/blobdiff - SDL_sound.spec
- added physfs patch (adjust for physfs 3 API)
[packages/SDL_sound.git] / SDL_sound.spec
index f69e5bae5b6cfec7363a06174827539c95af41cd..611060f5110f55226129d62be23414396d85589b 100644 (file)
@@ -1,13 +1,13 @@
 Summary:       An abstract soundfile decoder
 Summary(pl.UTF-8):     Abstrakcyjny dekoder plików dźwiękowych
 Name:          SDL_sound
-Version:       1.0.1
-Release:       6
-License:       LGPL
+Version:       1.0.3
+Release:       8
+License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 49e197ef7c8ab623d0640dc74be43160
-Patch0:                %{name}-flac.patch
+# Source0-md5: aa09cd52df85d29bee87a664424c94b5
+Patch0:                %{name}-physfs.patch
 URL:           http://www.icculus.org/SDL_sound/
 BuildRequires: SDL-devel >= 1.2.6
 BuildRequires: autoconf
@@ -17,7 +17,7 @@ BuildRequires:        libmikmod-devel >= 3.1.5
 BuildRequires: libmodplug-devel
 BuildRequires: libvorbis-devel >= 1:1.0-6
 BuildRequires: libtool
-BuildRequires: physfs-devel
+BuildRequires: physfs-devel >= 3
 BuildRequires: smpeg-devel >= 0.4.4-12
 BuildRequires: speex-devel
 Requires:      SDL >= 1.2.6
@@ -84,7 +84,7 @@ Statyczne biblioteki SDL_sound.
 %setup -q
 %patch0 -p1
 
-echo 'AC_DEFUN([AM_PATH_VORBIS],[XIPH_PATH_VORBIS])' > acinclude.m4
+%{__rm} acinclude.m4
 
 %build
 %{__libtoolize}
@@ -92,7 +92,6 @@ echo 'AC_DEFUN([AM_PATH_VORBIS],[XIPH_PATH_VORBIS])' > acinclude.m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-CPPFLAGS="-I/usr/include/libmodplug -I/usr/include/speex"
 %configure
 %{__make}
 
@@ -110,16 +109,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG CREDITS README TODO
+# COPYING contains additional notes
+%doc CHANGELOG COPYING CREDITS README TODO
 %attr(755,root,root) %{_bindir}/playsound
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libSDL_sound-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libSDL_sound-1.0.so.1
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/SDL/*
+%attr(755,root,root) %{_libdir}/libSDL_sound.so
+%{_libdir}/libSDL_sound.la
+%{_includedir}/SDL/SDL_sound.h
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libSDL_sound.a
This page took 0.113927 seconds and 4 git commands to generate.