# _without_esound - without esound support
#
%ifarch alpha
-%define _without_arts 1
+%define _without_arts 1
%endif
+%define snap 20030528
+
Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
Summary(es): Simple DirectMedia Layer
Summary(pl): SDL (Simple DirectMedia Layer) - Biblioteka do gier/multimediów
Summary(uk): Simple DirectMedia Layer
Summary(zh_CN): SDL (Simple DirectMedia Layer) Generic APIs - ÓÎÏ·/¶àýÌå¿â
Name: SDL
-Version: 1.2.5
-Release: 3
+Version: 1.2.6
+Release: 1.%{snap}.0
License: LGPL
Group: X11/Libraries
-Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
+#Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
+Source0: http://www.libsdl.org/cvs/%{name}-1.2.tar.gz
+# Source0-md5: 8e5801a100367f515b186ff8469cdb0d
Patch0: %{name}-byteorder.patch
Patch1: %{name}-fixlibs.patch
Patch2: %{name}-amfix.patch
Patch4: %{name}-ac25x.patch
Patch5: %{name}-no_rpath_in_sdl-config.patch
Patch6: %{name}-noobjc.patch
+Patch7: %{name}-am17.patch
URL: http://www.libsdl.org/
BuildRequires: OpenGL-devel
BuildRequires: XFree86-devel >= 4.0.2
SDL - przyk³adowe programy.
%prep
-%setup -q
+%setup -q -n %{name}-1.2
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%build
+find . -type d -name CVS -print | xargs rm -rf {} \;
rm -f missing libtool
%{__libtoolize}
%{__aclocal}
%{!?_without_alsa:--enable-alsa} \
%endif
%{!?_without_esound:--enable-esd} \
- %{!?_without_arts:--enable-arts}
+ %{!?_without_arts:--enable-arts} \
+ %{?_without_arts:--disable-arts}
%{__make}