%define version 0.8.8 %define release 1TL Name: SDL Version: %{version} Release: %{release} Group: X11/Libraries Copyright: LGPL Source: SDL-0.8.8.tar.gz Source1: SDL-demos.tar.gz URL: http://www.devolution.com/~slouken/projects/SDL BuildRoot: /mnt/c/TEMP/SDL-root Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library %package devel Group: X11/Libraries Summary: SDL - Header files & static libraries %package extras Group: X11/Utilities Summary: SDL - Test programs and demos %description SDL (Simple DirectMedia Layer) is a library that allows you portable, low level access to a video framebuffer, audio output, mouse, and keyboard. It can support both windowed and DGA modes of XFree86, and it is designed to be portable - applications linked with SDL can also be built on Win32 and BeOS. %description devel SDL - Header files & static libraries %description extras SDL - Test programs and demos %prep rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT %setup -q tar -xvzf %{SOURCE1} chown -R 0.0 * make config <