]>
Commit | Line | Data |
---|---|---|
2c271b5f | 1 | Summary: Critical Mass - space shoot'em up game |
74ee440a | 2 | Summary(pl.UTF-8): Critical Mass - kosmiczna strzelanina |
a917cc8c | 3 | Name: CriticalMass |
45305cfa | 4 | Version: 1.0.2 |
ad472874 | 5 | Release: 1 |
0a9c53ef | 6 | Epoch: 1 |
f77b5383 | 7 | License: GPL v2 |
a917cc8c | 8 | Group: X11/Applications/Games |
4cf9a62d | 9 | Source0: http://dl.sourceforge.net/criticalmass/%{name}-%{version}.tar.bz2 |
45305cfa | 10 | # Source0-md5: e2aff114bffa717fb79c82e1dc473ebe |
f77b5383 | 11 | Source1: %{name}.desktop |
a917cc8c | 12 | URL: http://criticalmass.sourceforge.net/ |
4cf9a62d | 13 | BuildRequires: OpenGL-devel |
45305cfa | 14 | BuildRequires: SDL_image-devel >= 1.2.5 |
a917cc8c | 15 | BuildRequires: SDL_mixer-devel >= 1.2.0 |
93819670 | 16 | BuildRequires: autoconf |
8b7bf2bb | 17 | BuildRequires: automake |
0a9c53ef | 18 | BuildRequires: curl-devel |
39e188b9 | 19 | BuildRequires: libogg-devel |
a917cc8c | 20 | BuildRequires: libpng-devel >= 1.0.12 |
fa4866cf | 21 | BuildRequires: sed >= 4.0 |
5f21bed0 | 22 | BuildRequires: zlib-devel >= 1.1.3 |
39e188b9 | 23 | Requires: OpenGL |
a917cc8c | 24 | Requires: SDL >= 1.2.3 |
25 | Requires: SDL_image >= 1.2.0 | |
26 | Requires: SDL_mixer >= 1.2.0 | |
a917cc8c | 27 | Requires: libpng >= 1.0.12 |
39e188b9 | 28 | Requires: zlib >= 1.1.3 |
a917cc8c | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
32 | ||
a917cc8c | 33 | %description |
34 | Critical Mass (Critter) is an SDL/OpenGL space shoot'em up game. | |
35 | Your world has been infested by an aggressive army of space critters. | |
36 | Overrun and unprepared, your government was unable to defend its | |
39e188b9 JB |
37 | precious resources. As a last effort to recapture some of the |
38 | 'goodies', you have been placed into a tiny spacecraft and sent after | |
39 | them. | |
d35edd40 | 40 | |
14075214 | 41 | %description -l pl.UTF-8 |
39e188b9 | 42 | Critical Mass (Critter) to oparta na SDL/OpenGL kosmiczna strzelanina. |
14075214 JR |
43 | Świat został zaatakowany przez agresywną armię kosmicznych stworzeń. |
44 | Napadnięty i nieprzygotowany rząd nie był w stanie obronić swoich | |
45 | zasobów. Jako ostatnia szansa na odzyskanie części dóbr, gracz został | |
46 | umieszczony w małym statku kosmicznym i wysłany za kosmitami. | |
39e188b9 | 47 | |
a917cc8c | 48 | %prep |
49 | %setup -q | |
50 | ||
51 | %build | |
0a9c53ef TP |
52 | sed -i 's/curl//' Makefile.am |
53 | sed -i 's/\.\.\/curl\/lib\/libcurl\.a/\/usr\/lib\/libcurl.so/' game/Makefile.am | |
54 | sed -i 's/AC_CONFIG_SUBDIRS(curl)//' configure.in | |
55 | %{__aclocal} | |
56 | %{__autoconf} | |
57 | %{__autoheader} | |
58 | %{__automake} | |
59 | %configure | |
a917cc8c | 60 | %{__make} |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
f77b5383 | 64 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} |
a917cc8c | 65 | |
baf2da33 PG |
66 | %{__make} install \ |
67 | DESTDIR=$RPM_BUILD_ROOT | |
fa4866cf | 68 | |
0a9c53ef | 69 | install critter.png $RPM_BUILD_ROOT%{_pixmapsdir} |
f77b5383 | 70 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
a917cc8c | 71 | |
5f21bed0 TP |
72 | # this one gets installed by author's mistake |
73 | rm -f $RPM_BUILD_ROOT%{_bindir}/Packer | |
74 | ||
a917cc8c | 75 | %clean |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
7878c8b0 | 80 | %doc TODO Readme.html |
a917cc8c | 81 | %attr(755,root,root) %{_bindir}/* |
a263b35c | 82 | %{_datadir}/Critical_Mass |
83 | %{_mandir}/man6/* | |
0a9c53ef | 84 | %{_pixmapsdir}/* |
f301906c | 85 | %{_desktopdir}/*.desktop |