]> git.pld-linux.org Git - packages/SDL.git/blobdiff - SDL.spec
disable-alsa removed
[packages/SDL.git] / SDL.spec
index 5eae49a2c83af918ff1ae3477b6b211f50a90124..b01bc8615f6162420afab35faa5b10ce91ce47e5 100644 (file)
--- a/SDL.spec
+++ b/SDL.spec
@@ -1,13 +1,16 @@
 #
 # Conditional build:
 # bcond_off_alsa - without ALSA support
+# bcond_off_esound - without esound support
+# bcond_off_arts - without arts support
 # bcond_on_svgalib - with svgalib support
 # bcond_on_aalib - with aalib support
 #
 Summary:       SDL (Simple DirectMedia Layer) - Game/Multimedia Library
+Summary(pl):   SDL (Simple DirectMedia Layer) - Biblioteka do gier/multimediĆ³w
 Name:          SDL
-Version:       1.1.7
-Release:       3
+Version:       1.2.0
+Release:       1
 License:       LGPL
 Group:         X11/Libraries
 Group(de):     X11/Libraries
@@ -15,8 +18,8 @@ Group(pl):    X11/Biblioteki
 Source0:       http://www.libsdl.org/release/%{name}-%{version}.tar.gz
 Patch0:                SDL-svga.patch
 URL:           http://www.libsdl.org/
-BuildRequires: esound-devel
-BuildRequires: arts-devel
+%{!?bcond_off_esound:BuildRequires:    esound-devel}
+%{!?bcond_off_arts:BuildRequires:      arts-devel}
 BuildRequires: gtk+-devel >= 1.2.1
 BuildRequires: XFree86-devel
 BuildRequires: OpenGL-devel
@@ -87,9 +90,8 @@ SDL - biblioteki statyczne.
        --enable-video-x11-dga \
        --enable-video-x11-mtrr \
        --enable-video-x11-dgamouse \
-       --enable-esd \
-       --enable-arts \
-       --disable-alsa \
+       %{!?bcond_off_esound:--enable-esd} \
+       %{!?bcond_off_arts:--enable-arts} \
        %{?bcond_on_svga:--enable-video-svga} \
        %{?bcond_on_aalib:--enable-video-aalib}
 
@@ -100,6 +102,8 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        m4datadir=%{_aclocaldir}
 
+rm -rf docs/man3
+
 gzip -9nf BUGS README WhatsNew
 
 %post   -p /sbin/ldconfig
This page took 0.507983 seconds and 4 git commands to generate.