1 Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
7 Group(pl): X11/Biblioteki
8 Source: http://www.devolution.com/~slouken/SDL/release/%{name}-%{version}.tar.gz
9 URL: http://www.devolution.com/~slouken/SDL/
10 BuildRequires: XFree86-devel
11 BuildRequires: esound-devel
12 BuildRequires: gtk+-devel >= 1.2.1
13 BuildRoot: /tmp/%{name}-%{version}-root
15 %define _prefix /usr/X11R6
16 %define _mandir %{_prefix}/man
19 SDL (Simple DirectMedia Layer) is a library that allows you portable, low
20 level access to a video framebuffer, audio output, mouse, and keyboard. It
21 can support both windowed and DGA modes of XFree86, and it is designed to
22 be portable - applications linked with SDL can also be built on Win32 and
26 Summary: SDL - Header files
28 Group(pl): X11/Biblioteki
29 Requires: %{name} = %{version}
35 Summary: SDL - static libraries
37 Group(pl): X11/Biblioteki
38 Requires: %{name} = %{version}
41 SDL - static libraries.
46 LDFLAGS="-s"; export LDFLAGS
51 --enable-video-x11-dga \
52 --enable-video-x11-mtrr \
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT \
61 m4datadir=/usr/share/aclocal
63 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
65 gzip -9nf BUGS README WhatsNew
67 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/lib*.so.*.*
78 %defattr(644,root,root,755)
79 %doc *gz docs.html docs
80 %attr(755,root,root) %{_bindir}/sdl-config
81 %attr(755,root,root) %{_libdir}/lib*.so
82 %attr(755,root,root) %{_libdir}/lib*.la
83 %{_libdir}/libSDLmain.a
88 %defattr(644,root,root,755)
89 %attr(644,root,root) %{_libdir}/lib*.a