2 %define version @VERSION@
5 Summary: Simple DirectMedia Layer
9 Source0: %{name}-%{version}.tar.gz
10 URL: http://www.libsdl.org/
12 Group: System Environment/Libraries
13 BuildRoot: /var/tmp/%{name}-buildroot
17 This is the Simple DirectMedia Layer, a generic API that provides low
18 level access to audio, keyboard, mouse, and display framebuffer across
22 Summary: Libraries, includes and more to develop SDL applications.
23 Group: Development/Libraries
27 This is the Simple DirectMedia Layer, a generic API that provides low
28 level access to audio, keyboard, mouse, and display framebuffer across
31 This is the libraries, include files and other resources you can use
32 to develop SDL applications.
36 rm -rf ${RPM_BUILD_ROOT}
41 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-svga --disable-video-ggi --disable-video-aalib --disable-debug --enable-xfree86-glidehack
45 rm -rf $RPM_BUILD_ROOT
46 make install prefix=$RPM_BUILD_ROOT/%{prefix}
47 ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT/%{prefix}/lib/libSDL-1.1.so.0
50 rm -rf $RPM_BUILD_ROOT
54 %doc README-SDL.txt COPYING CREDITS BUGS
55 %{prefix}/lib/lib*.so.*
59 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
60 %doc docs/index.html docs/html
61 %{prefix}/bin/*-config
64 %{prefix}/include/SDL/
66 %{prefix}/share/aclocal/*
69 * Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
70 - Re-integrated spec file into SDL distribution
71 - 'name' and 'version' come from configure
72 - Some of the documentation is devel specific
73 - Removed SMP support from %build - it doesn't work with libtool anyway
75 * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
76 - Hacked Mandrake sdl spec to build 1.1
78 * Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com>
81 * Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com>
82 - Add symlink for libSDL-1.0.so.0 required by sdlbomber
85 * Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com>
88 * Mon Nov 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
89 - First spec file for Mandrake distribution.