1 Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
7 Group(de): X11/Libraries
8 Group(pl): X11/Biblioteki
9 Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
10 URL: http://www.libsdl.org/
11 %ifnarch sparc sparc64
12 BuildRequires: alsa-lib-devel
14 BuildRequires: esound-devel
15 BuildRequires: gtk+-devel >= 1.2.1
16 BuildRequires: XFree86-devel
17 BuildRequires: XFree86-OpenGL-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _prefix /usr/X11R6
21 %define _mandir %{_prefix}/man
24 SDL (Simple DirectMedia Layer) is a library that allows you portable,
25 low level access to a video framebuffer, audio output, mouse, and
26 keyboard. It can support both windowed and DGA modes of XFree86, and
27 it is designed to be portable - applications linked with SDL can also
28 be built on Win32 and BeOS.
31 SDL (Simple DirectMedia Layer) jest bibliotek± udostêpniaj±c±
32 przeno¶ny, niskopoziomowy dostep do bufora ramki video, wyj¶cia audio,
33 myszy oraz klawiatury, Moze obs³ugiwaæ zarówno okienkowy tryb XFree86
34 jak i DGA. Konstruuj±c j± miano na uwadze przeno¶no¶æ: aplikacje
35 konsolidowane z SDL mo¿na równie¿ budowac w systemach Win32 i BeOS.
38 Summary: SDL - Header files
39 Summary(pl): SDL - Pliki nag³ówkowe
41 Group(de): X11/Libraries
42 Group(pl): X11/Biblioteki
43 Requires: %{name} = %{version}
48 %description -l pl devel
49 SDL - Pliki nag³ówkowe.
52 Summary: SDL - static libraries
53 Summary(pl): SDL - biblioteki statyczne
55 Group(de): X11/Libraries
56 Group(pl): X11/Biblioteki
57 Requires: %{name} = %{version}
60 SDL - static libraries.
62 %description -l pl static
63 SDL - biblioteki statyczne.
69 %ifnarch sparc sparc64
75 --enable-video-x11-dga \
76 --enable-video-x11-mtrr \
77 --enable-video-x11-dgamouse \
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT \
86 m4datadir=%{_aclocaldir}
88 gzip -9nf BUGS README WhatsNew
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 rm -rf $RPM_BUILD_ROOT
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
101 %defattr(644,root,root,755)
102 %doc *gz docs.html docs
103 %attr(755,root,root) %{_bindir}/sdl-config
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %attr(755,root,root) %{_libdir}/lib*.la
106 %{_libdir}/libSDLmain.a
112 %defattr(644,root,root,755)