1 Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
7 Source: http://www.devolution.com/~slouken/projects/SDL/SDL-0.9/src/%{name}-%{version}.tar.gz
8 Source1: SDL-demos.tar.gz
9 URL: http://www.devolution.com/~slouken/projects/SDL
10 BuildRoot: /tmp/%{name}-%{version}-root
13 SDL (Simple DirectMedia Layer) is a library that allows you portable, low
14 level access to a video framebuffer, audio output, mouse, and keyboard. It
15 can support both windowed and DGA modes of XFree86, and it is designed to be
16 portable - applications linked with SDL can also be built on Win32 and BeOS.
20 Summary: SDL - Header files & static libraries
23 SDL - Header files & static libraries
27 Summary: SDL - Test programs and demos
30 SDL - Test programs and demos
41 make DEBUG="$RPM_OPT_FLAGS"
46 for i in PTC aliens draw fire flxplay maclib mixer plasma scrap screenlib stars ttflib warp xflame; do (cd $i;make SDL=../../);done;
50 rm -rf $RPM_BUILD_ROOT
51 mkdir -p $RPM_BUILD_ROOT/usr/bin/SDL
52 mkdir -p $RPM_BUILD_ROOT/usr/lib
53 mkdir -p $RPM_BUILD_ROOT/usr/include/SDL
54 cp -a lib/* $RPM_BUILD_ROOT/usr/lib
55 cp -a include/* $RPM_BUILD_ROOT/usr/include/SDL
56 for i in checkkeys graywin loopwave pixelformat testalpha testbitmap testhread testkeys testlock testtimer testtypes testver testwin testwm; do cp -a test/$i $RPM_BUILD_ROOT/usr/bin/SDL; done;
57 for i in PTC aliens draw fire flxplay maclib mixer netlib plasma scrap screenlib stars ttflib warp xflame; do cp -a SDL-demos/$i $RPM_BUILD_ROOT/usr/bin/sdl; done;
58 find $RPM_BUILD_ROOT/usr/bin/SDL -name "*.[hco]" | xargs rm -f
60 %post -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc BUGS COPYING INSTALL README TODO WhatsNew docs docs.html
69 /usr/lib/libSDLx11.so.*.*
72 %defattr(644,root,root,755)
76 %defattr(644,root,root,755)
80 %defattr(644,root,root,755)