|
@@ -1,19 +1,19 @@
|
|
|
Summary: Simple DirectMedia Layer
|
|
|
Name: SDL
|
|
|
-Version: 1.2.13
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 1.2.14
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: LGPL
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://www.libsdl.org/
|
|
|
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
|
|
|
|
|
Patch0: SDL-1.2.10-byteorder.patch
|
|
|
-Patch1: SDL-1.2.12-prefersounddaemons.patch
|
|
|
-Patch2: SDL-1.2.13-libdir.patch
|
|
|
+Patch1: SDL-1.2.14-prefersounddaemons.patch
|
|
|
|
|
|
#BuildRequires: XOrg-devel, XOrg-gl-devel
|
|
|
BuildRequires: xorg-x11-devel, mesa-libGL-devel
|
|
|
BuildRequires: alsa-lib-devel, esound-devel, arts-devel
|
|
|
+BuildRequires: pulseaudio-libs-devel
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
%description
|
|
@@ -51,12 +51,11 @@ to develop SDL applications.
|
|
|
%setup -q
|
|
|
%patch0 -p1 -b .byte
|
|
|
%patch1 -p1 -b .prefer
|
|
|
-%patch2 -p1 -b .libdir
|
|
|
|
|
|
%build
|
|
|
#libtoolize --force
|
|
|
-aclocal
|
|
|
-autoconf
|
|
|
+#aclocal
|
|
|
+#autoconf
|
|
|
|
|
|
%configure \
|
|
|
--disable-video-svga --disable-video-ggi --disable-video-aalib \
|
|
@@ -75,7 +74,7 @@ rm -rf %{buildroot}
|
|
|
%makeinstall
|
|
|
|
|
|
## remove unuse files
|
|
|
-rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
|
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
@@ -94,13 +93,20 @@ rm -rf %{buildroot}
|
|
|
%doc docs/index.html docs/html
|
|
|
%{_bindir}/*-config
|
|
|
%{_libdir}/lib*.so
|
|
|
-%{_libdir}/*a
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
%{_includedir}/SDL/
|
|
|
%{_mandir}/man3/*
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.14-1
|
|
|
+- new upstream release
|
|
|
+- update prefer sound daemons patch (Patch1)
|
|
|
+- drop unnecessary libdir patch (Patch2)
|
|
|
+ - stop running "aclocal" and "autoconf"
|
|
|
+- add BuildRequires: pulseaudio-libs-devel
|
|
|
+- remove *.a
|
|
|
+
|
|
|
* Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.13-2vl5
|
|
|
- spec in utf-8
|
|
|
- remove *.la
|