]>
Commit | Line | Data |
---|---|---|
1 | Summary: Critical Mass. | |
2 | Name: CriticalMass | |
3 | Version: 0.97 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: X11/Applications/Games | |
7 | Source0: http://cesnet.dl.sourceforge.net/sourceforge/criticalmass/%{name}-%{version}.tar.bz2 | |
8 | URL: http://criticalmass.sourceforge.net/ | |
9 | BuildRequires: SDL-devel >= 1.2.3 | |
10 | BuildRequires: SDL_image-devel >= 1.2.0 | |
11 | BuildRequires: SDL_mixer-devel >= 1.2.0 | |
12 | BuildRequires: OpenGL-devel | |
13 | BuildRequires: libpng-devel >= 1.0.12 | |
14 | BuildRequires: zlib >= 1.1.3 | |
15 | BuildRequires: libogg-devel | |
16 | Requires: SDL >= 1.2.3 | |
17 | Requires: SDL_image >= 1.2.0 | |
18 | Requires: SDL_mixer >= 1.2.0 | |
19 | Requires: zlib >= 1.1.3 | |
20 | Requires: libpng >= 1.0.12 | |
21 | Requires: OpenGL | |
22 | Requires: libogg | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
26 | ||
27 | %define _prefix /usr/X11R6 | |
28 | %define _mandir %{_prefix}/man | |
29 | ||
30 | %description | |
31 | Critical Mass (Critter) is an SDL/OpenGL space shoot'em up game. | |
32 | Your world has been infested by an aggressive army of space critters. | |
33 | Overrun and unprepared, your government was unable to defend its | |
34 | precious resources. As a last effort to recapture some of the 'goodies', | |
35 | you have been placed into a tiny spacecraft and sent after them. | |
36 | ||
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | ||
41 | %build | |
42 | %configure2_13 | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} DESTDIR=$RPM_BUILD_ROOT install | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc COPYING ChangeLog TODO Readme.html | |
56 | %attr(755,root,root) %{_bindir}/* | |
57 | %dir %{_datadir}/Critical_Mass | |
58 | %{_datadir}/Critical_Mass/* | |
59 | %lang(en) %{_mandir}/man6/* |