]> git.pld-linux.org Git - packages/SDL.git/blame - SDL.spec
- release 2.
[packages/SDL.git] / SDL.spec
CommitLineData
f3708463
JB
1#
2# Conditional build:
3# bcond_off_alsa - without ALSA support
4# bcond_on_svgalib - with svgalib support
5# bcond_on_aalib - with aalib support
6#
cee13441 7Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
8Name: SDL
edc688e6 9Version: 1.1.7
852d49a3 10Release: 2
1b424fce 11License: LGPL
cee13441 12Group: X11/Libraries
c9277554 13Group(de): X11/Libraries
1b424fce 14Group(pl): X11/Biblioteki
edc688e6 15Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
f3708463 16Patch0: SDL-svga.patch
edc688e6 17URL: http://www.libsdl.org/
6fbc13c4 18%ifnarch sparc sparc64
f3708463 19%{!?bcond_off_alsa:BuildRequires: alsa-lib-devel}
6fbc13c4 20%endif
6211bdd4 21BuildRequires: esound-devel
22BuildRequires: gtk+-devel >= 1.2.1
edc688e6 23BuildRequires: XFree86-devel
f3708463
JB
24BuildRequires: OpenGL-devel
25%{?bcond_on_svgalib:BuildRequires: svgalib-devel}
26%{?bcond_on_aalib:BuildRequires: aalib-devel}
b2dddb33 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5249f883 28
1b424fce 29%define _prefix /usr/X11R6
30%define _mandir %{_prefix}/man
31
5249f883 32%description
ba42f390 33SDL (Simple DirectMedia Layer) is a library that allows you portable,
34low level access to a video framebuffer, audio output, mouse, and
35keyboard. It can support both windowed and DGA modes of XFree86, and
36it is designed to be portable - applications linked with SDL can also
37be built on Win32 and BeOS.
cee13441 38
e46b33b9 39%description -l pl
ba42f390 40