]> git.pld-linux.org Git - packages/SDL.git/blobdiff - SDL.spec
- updated to 1.2.6 20030528 cvs snapshot
[packages/SDL.git] / SDL.spec
index cdcc1992626be56f81d499d9cb60b21b2f9e1c45..d879fa8d13cf8bcdc5080906be61df04f5b9f548 100644 (file)
--- a/SDL.spec
+++ b/SDL.spec
 # _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
@@ -21,11 +23,13 @@ Summary(ru):        Simple DirectMedia Layer
 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
@@ -33,6 +37,7 @@ Patch3:               %{name}-lpthread.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
@@ -148,7 +153,7 @@ SDL - example programs.
 SDL - przyk³adowe programy.
 
 %prep
-%setup -q
+%setup -q -n %{name}-1.2
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -156,8 +161,10 @@ SDL - przyk
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
+find . -type d -name CVS -print | xargs rm -rf {} \;
 rm -f missing libtool
 %{__libtoolize}
 %{__aclocal}
@@ -189,7 +196,8 @@ SED=sed ; export SED
        %{!?_without_alsa:--enable-alsa} \
 %endif
        %{!?_without_esound:--enable-esd} \
-       %{!?_without_arts:--enable-arts}
+       %{!?_without_arts:--enable-arts} \
+       %{?_without_arts:--disable-arts}
 
 %{__make}
 
This page took 0.140135 seconds and 4 git commands to generate.