Mercurial > sdl-ios-xcode
annotate SDL.spec.in @ 273:72acb06d3721
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 22 Jan 2002 21:14:36 +0000 |
parents | c7f1b0647448 |
children | 8bdc210ed1de |
rev | line source |
---|---|
0 | 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} | |
84
c7f1b0647448
Add a symlink to SDL 1.2 for SDL 1.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
47 ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT/%{prefix}/lib/libSDL-1.1.so.0 |
0 | 48 |
49 %clean | |
50 rm -rf $RPM_BUILD_ROOT | |
51 | |
52 %files | |
53 %defattr(-,root,root) | |
54 %doc README-SDL.txt COPYING CREDITS BUGS | |
55 %{prefix}/lib/lib*.so.* | |
56 | |
57 %files devel | |
58 %defattr(-,root,root) | |
59 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html | |
60 %doc docs/index.html docs/html | |
61 %{prefix}/bin/*-config | |
62 %{prefix}/lib/lib*.a | |
63 %{prefix}/lib/lib*.so | |
64 %{prefix}/include/SDL/ | |
65 %{prefix}/man/man3/* | |
66 %{prefix}/share/aclocal/* | |
67 | |
68 %changelog | |
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 | |
74 | |
75 * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com> | |
76 - Hacked Mandrake sdl spec to build 1.1 | |
77 | |
78 * Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com> | |
79 - Build Release | |
80 | |
81 * Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com> | |
82 - Add symlink for libSDL-1.0.so.0 required by sdlbomber | |
83 - Added docs | |
84 | |
85 * Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com> | |
86 - v 1.0.0 | |
87 | |
88 * Mon Nov 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> | |
89 - First spec file for Mandrake distribution. | |
90 | |
91 # end of file |