comparison SDL.spec.in @ 0:74212992fb08

Initial revision
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:45:43 +0000
parents
children c7f1b0647448
comparison
equal deleted inserted replaced
-1:000000000000 0:74212992fb08
1 %define name @PACKAGE@
2 %define version @VERSION@
3 %define release 1
4
5 Summary: Simple DirectMedia Layer
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Source0: %{name}-%{version}.tar.gz
10 URL: http://www.libsdl.org/
11 Copyright: LGPL
12 Group: System Environment/Libraries
13 BuildRoot: /var/tmp/%{name}-buildroot
14 Prefix: %{_prefix}
15
16 %description
17 This is the Simple DirectMedia Layer, a generic API that provides low
18 level access to audio, keyboard, mouse, and display framebuffer across
19 multiple platforms.
20
21 %package devel
22 Summary: Libraries, includes and more to develop SDL applications.
23 Group: Development/Libraries
24 Requires: %{name}
25
26 %description devel
27 This is the Simple DirectMedia Layer, a generic API that provides low
28 level access to audio, keyboard, mouse, and display framebuffer across
29 multiple platforms.
30
31 This is the libraries, include files and other resources you can use
32 to develop SDL applications.
33
34
35 %prep
36 rm -rf ${RPM_BUILD_ROOT}
37
38 %setup -q
39
40 %build
41 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-svga --disable-video-ggi --disable-video-aalib --disable-debug --enable-xfree86-glidehack
42 make
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 make install prefix=$RPM_BUILD_ROOT/%{prefix}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(-,root,root)
53 %doc README-SDL.txt COPYING CREDITS BUGS
54 %{prefix}/lib/lib*.so.*
55
56 %files devel
57 %defattr(-,root,root)
58 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
59 %doc docs/index.html docs/html
60 %{prefix}/bin/*-config
61 %{prefix}/lib/lib*.a
62 %{prefix}/lib/lib*.so
63 %{prefix}/include/SDL/
64 %{prefix}/man/man3/*
65 %{prefix}/share/aclocal/*
66
67 %changelog
68 * Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
69 - Re-integrated spec file into SDL distribution
70 - 'name' and 'version' come from configure
71 - Some of the documentation is devel specific
72 - Removed SMP support from %build - it doesn't work with libtool anyway
73
74 * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
75 - Hacked Mandrake sdl spec to build 1.1
76
77 * Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com>
78 - Build Release
79
80 * Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com>
81 - Add symlink for libSDL-1.0.so.0 required by sdlbomber
82 - Added docs
83
84 * Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com>
85 - v 1.0.0
86
87 * Mon Nov 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
88 - First spec file for Mandrake distribution.
89
90 # end of file