]>
Commit | Line | Data |
---|---|---|
a0ed6779 PG |
1 | # TODO: |
2 | # - package files and install them | |
3 | # - strip spaces from filenames in docs | |
85a1d0f5 MWP |
4 | %define relyear 2007 |
5 | %define dateversion 20070613 | |
6 | # | |
7 | Summary: Alien Arena - freeware online deathmatch FPS game | |
7e4ef8ec | 8 | Summary(pl.UTF-8): Alien Arena - darmowa gra sieciowa typu FPS deathmatch |
85a1d0f5 | 9 | Name: alienarena%{relyear} |
811614d6 | 10 | Version: 6.10 |
85a1d0f5 MWP |
11 | Release: 0.1 |
12 | License: GPL | |
13 | Group: X11/Applications/Games | |
14 | Source0: http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/%{name}-%{dateversion}-linux.zip | |
811614d6 | 15 | # Source0-md5: 65d2948fa636cbc28c82da2264df2fea |
85a1d0f5 | 16 | URL: http://red.planetarena.org/ |
7e4ef8ec JB |
17 | BuildRequires: OpenGL-GLU-devel |
18 | BuildRequires: SDL-devel | |
3ec62466 | 19 | BuildRequires: dos2unix |
85a1d0f5 | 20 | BuildRequires: libjpeg-devel |
85a1d0f5 | 21 | BuildRequires: rpmbuild(macros) >= 1.228 |
eea09f3f | 22 | BuildRequires: unzip |
85a1d0f5 MWP |
23 | BuildRequires: xorg-lib-libX11-devel |
24 | BuildRequires: xorg-lib-libXext-devel | |
5d560d20 JB |
25 | BuildRequires: xorg-lib-libXxf86dga-devel |
26 | BuildRequires: xorg-lib-libXxf86vm-devel | |
85a1d0f5 MWP |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | ALIEN ARENA is a standalone 3D first person online deathmatch shooter | |
31 | crafted from the original source code of Quake II and Quake III, | |
32 | released by id Software under the GPL license. With features including | |
7e4ef8ec | 33 | 32-bit graphics, new particle engine and effects, light blooms, |
85a1d0f5 MWP |
34 | reflective water, hi resolution textures and skins, hi poly models, |
35 | stain maps, ALIEN ARENA pushes the envelope of graphical beauty | |
36 | rivaling today's top games. | |
37 | ||
38 | The game features 37 levels, which can be played online against other | |
39 | players, or against the built in CodeRED bots. | |
40 | ||
7e4ef8ec | 41 | Alien Arena offers CTF, AOA (All Out Assault) mode, in which players |
85a1d0f5 MWP |
42 | can climb into vehicles to do battle, Deathball, and Team Core |
43 | Assault. Simply go into the multiplayer menu to start a server, change | |
44 | the game rules, and choose a map to play on. You can also select from | |
7e4ef8ec | 45 | five different mutators (instagib, rocket arena, excessive, low grav, |
85a1d0f5 MWP |
46 | regen, and vampire) to further customize your game experience. |
47 | ||
7e4ef8ec JB |
48 | %description -l pl.UTF-8 |
49 | ALIEN ARENA to samodzielna trójwymiarowa strzelanina online FPP z | |
50 | trybem deathmatch, wywodząca się z oryginalnego kodu źródłowego Quake | |
51 | II i Quake III, wydanego przez id Software na licencji GPL. Z cechami | |
52 | obejmującymi 32-bitową grafikę, nowy silnik i efekty, światła, | |
53 | odbijającą wodę, wysokiej rozdzielczości tekstury i skórki, modele z | |
54 | dużej liczby wielokątów, mapy plam ALIEN ARENA dorównuje graficznemu | |
55 | pięknu dzisiejszych wiodących gier. | |
56 | ||
57 | Gra zawiera 37 poziomów, w które można grać online przeciwko innym | |
58 | graczom lub wbudowanym botom CodeRED. | |
59 | ||
60 | Alien Arena ofertuje tryby: CTF, AOA (All Out Assault), w którym | |
61 | gracze mogą wchodzić na pojazdy uczestnicząc w bitwach, Deathball i | |
62 | Team Core Assault. Wystarczy w menu gry dla wielu graczy uruchomić | |
63 | serwer, zmienić zasady gry i wybrać mapę. Można także wybrać jedną z | |
64 | pięciu różnych modyfikacji (instagib, rocket arena, excessive, low | |
65 | grav, regen i vampire) aby jeszcze bardziej zmieniać doznania graczy. | |
66 | ||
85a1d0f5 MWP |
67 | %package server |
68 | Summary: Alien Arena - server | |
7e4ef8ec | 69 | Summary(pl.UTF-8): Alien Arena - serwer |
85a1d0f5 | 70 | Group: X11/Applications/Games |
7e4ef8ec | 71 | Requires(post,preun): /sbin/chkconfig |
85a1d0f5 MWP |
72 | |
73 | %description server | |
74 | The dedicated server for Alien Arena. | |
75 | ||
7e4ef8ec JB |
76 | %description server -l pl.UTF-8 |
77 | Dedykowany serwer dla gry Alien Arena. | |
78 | ||
85a1d0f5 MWP |
79 | %package data |
80 | Summary: Alien Arena - the data, botinfo, and arena files | |
7e4ef8ec | 81 | Summary(pl.UTF-8): Alien Arena - pliki danych i botinfo |
85a1d0f5 MWP |
82 | Group: X11/Applications/Games |
83 | ||
84 | %description data | |
85 | This package installs the data, botinfo, and arena files needed to run | |
86 | Alien Arena. | |
87 | ||
7e4ef8ec JB |
88 | %description data -l pl.UTF-8 |
89 | Ten pakiet instaluje pliki danych i botinfo potrzebne do uruchomienia | |
90 | gry Alien Arena. | |
91 | ||
85a1d0f5 MWP |
92 | %prep |
93 | %setup -q -n %{name} | |
94 | rm -f ../GH3D.txt ../GamersHell.url | |
95 | ||
1289d1af MWP |
96 | for file in lst cfg txt html lng h c ; do |
97 | find ./ -noleaf -type f -name \*.$file -exec dos2unix '{}' \; | |
98 | done | |
85a1d0f5 MWP |
99 | |
100 | %build | |
101 | %{__make} \ | |
4a552f88 JB |
102 | CC="%{__cc}" \ |
103 | RELEASE_CFLAGS='$(BASE_CFLAGS) %{rpmcflags}' \ | |
eea09f3f | 104 | X11BASE=%{_prefix} \ |
105 | LOCALBASE=%{_prefix} \ | |
4a552f88 | 106 | _LIB=%{_lib} |
85a1d0f5 MWP |
107 | |
108 | %install | |
109 | rm -rf $RPM_BUILD_ROOT | |
110 | ||
111 | %{__make} install \ | |
112 | DESTDIR=$RPM_BUILD_ROOT | |
113 | ||
114 | %clean | |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | ||
117 | %post server | |
118 | /sbin/chkconfig --add %{name} | |
119 | %service %{name} restart | |
120 | ||
121 | %preun server | |
122 | if [ "$1" = "0" ]; then | |
123 | %service -q %{name} stop | |
124 | /sbin/chkconfig --del %{name} | |
125 | fi | |
126 | ||
127 | %files | |
128 | %defattr(644,root,root,755) | |
a0ed6779 PG |
129 | #%doc changelog README |
130 | #%lang(nl) %doc docs/AA Dutch.txt | |
131 | #%lang(fr) %doc docs/AA French.txt | |
132 | #%lang(de) %doc docs/AA German.txt | |
133 | #%lang(el) %doc docs/AA Greek.txt | |
134 | #%lang(hu) %doc docs/AA Hungarian.txt | |
135 | #%lang(it) %doc docs/AA Italian.txt | |
136 | #%lang(pl) %doc docs/AA Polish.txt | |
137 | #%lang(pt) %doc docs/AA Portuguese.txt | |
138 | #%lang(ru) %doc docs/AA Russian.txt | |
139 | #%lang(es) %doc docs/AA_ES.txt | |
140 | #%attr(755,root,root) %{_bindir}/alien-arena | |
141 | #%{_desktopdir}/alien-arena.desktop | |
142 | #%{_pixmapsdir}/alien-arena.xpm | |
85a1d0f5 MWP |
143 | |
144 | %files data | |
145 | %defattr(644,root,root,755) | |
146 | ||
147 | %files server | |
148 | %defattr(644,root,root,755) | |
a0ed6779 PG |
149 | #%attr(754,root,root) /etc/rc.d/init.d/%{name} |
150 | #%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} | |
151 | #%attr(755,root,root) %{_bindir}/alien-arena-server | |
152 | #alien-arena/crded | |
153 | #alien-arena/kill-runaway-crded | |
154 | #alien-arena/launch-server | |
155 | #alien-arena/rcon | |
156 | #alien-arena/svstat | |
157 | #%{_mandir}/man6/alien-arena-server.6* |