1 Summary: Simple DirectMedia Layer
5 Source: http
://www.libsdl.org
/release
/%{name}-%{version}.tar.gz
6 URL: http
://www.libsdl.org
/
8 Group: System Environment
/Libraries
9 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
12 Provides: libSDL
-1.2.so
.0
15 %define __defattr
%defattr(-,root
,root
)
19 This is the Simple DirectMedia Layer
, a generic API that provides low
20 level access to audio
, keyboard
, mouse
, and display framebuffer across
24 Summary: Libraries
, includes and more to develop SDL applications.
25 Group: Development
/Libraries
26 Requires: %{name} = %{version}
29 This is the Simple DirectMedia Layer
, a generic API that provides low
30 level access to audio
, keyboard
, mouse
, and display framebuffer across
33 This is the libraries
, include files and other resources you can use
34 to develop SDL applications.
42 CFLAGS
="$RPM_OPT_FLAGS" .
/configure
--prefix
=%{prefix} --disable
-video
-aalib
--disable
-video
-directfb
--disable
-video
-ggi
--disable
-video
-svga
49 rm -rf $RPM_BUILD_ROOT
51 make install prefix
=$RPM_BUILD_ROOT
%{prefix} \
52 bindir
=$RPM_BUILD_ROOT
%{_bindir} \
53 libdir
=$RPM_BUILD_ROOT
%{_libdir} \
54 includedir
=$RPM_BUILD_ROOT
%{_includedir} \
55 datadir
=$RPM_BUILD_ROOT
%{_datadir} \
56 mandir
=$RPM_BUILD_ROOT
%{_mandir}
57 ln
-s libSDL
-1.2.so
.0 $RPM_BUILD_ROOT
%{_libdir}/libSDL
-1.1.so
.0
63 rm -rf $RPM_BUILD_ROOT
67 %doc README
-SDL.txt COPYING CREDITS BUGS
68 %{_libdir}/lib*.%{__soext}.
*
72 %doc README README
-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
73 %doc docs
/index.html docs
/html
77 %{_libdir}/lib*.%{__soext}
78 %dir %{_includedir}/SDL
79 %{_includedir}/SDL
/*.h
80 %{_libdir}/pkgconfig
/sdl.pc
85 * Tue May
16 2006 Sam Lantinga
<slouken@libsdl.org
>
86 - Removed support
for Darwin
, due to build problems on ps2linux
88 * Mon Jan
03 2004 Anders Bjorklund
<afb@algonet.se
>
89 - Added support
for Darwin
, updated spec file
91 * Wed Jan
19 2000 Sam Lantinga
<slouken@libsdl.org
>
92 - Re
-integrated spec file into SDL distribution
93 - 'name' and 'version' come from configure
94 - Some of the documentation is devel specific
95 - Removed SMP support from
%build - it doesn't work with libtool anyway
97 * Tue Jan
18 2000 Hakan Tandogan
<hakan@iconsult.com
>
98 - Hacked Mandrake sdl spec to build
1.1
100 * Sun Dec
19 1999 John Buswell
<johnb@mandrakesoft.com
>
103 * Sat Dec
18 1999 John Buswell
<johnb@mandrakesoft.com
>
104 - Add symlink
for libSDL
-1.0.so
.0 required by sdlbomber
107 * Thu Dec
09 1999 Lenny Cartier
<lenny@mandrakesoft.com
>
110 * Mon Nov
1 1999 Chmouel Boudjnah
<chmouel@mandrakesoft.com
>
111 - First spec file
for Mandrake distribution.