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 URL: http://www.devolution.com/~slouken/projects/SDL
9 BuildRoot: /tmp/%{name}-%{version}-root
12 SDL (Simple DirectMedia Layer) is a library that allows you portable, low
13 level access to a video framebuffer, audio output, mouse, and keyboard. It
14 can support both windowed and DGA modes of XFree86, and it is designed to be
15 portable - applications linked with SDL can also be built on Win32 and BeOS.
19 Summary: SDL - Header files
26 Summary: SDL - static libraries
29 SDL - static libraries.
33 Summary: SDL - Test programs and demos
36 SDL - Test programs and demos
45 make DEBUG="$RPM_OPT_FLAGS"
50 for i in PTC aliens draw fire flxplay maclib mixer plasma scrap screenlib stars ttflib warp xflame; do (cd $i;make SDL=../../);done;
54 rm -rf $RPM_BUILD_ROOT
55 mkdir -p $RPM_BUILD_ROOT/usr/bin/SDL
56 mkdir -p $RPM_BUILD_ROOT%{_libdir}
57 mkdir -p $RPM_BUILD_ROOT/usr/include/SDL
58 cp -a lib/* $RPM_BUILD_ROOT%{_libdir}
59 cp -a include/* $RPM_BUILD_ROOT/usr/include/SDL
60 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;
61 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;
62 find $RPM_BUILD_ROOT/usr/bin/SDL -name "*.[hco]" | xargs rm -f
64 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %doc BUGS COPYING INSTALL README TODO WhatsNew docs docs.html
73 %{_libdir}/libSDLx11.so.*.*
76 %defattr(644,root,root,755)
80 %defattr(644,root,root,755)
84 %defattr(644,root,root,755)