2 # - package files and install them
3 # - strip spaces from filenames in docs
5 %define dateversion 20070613
7 Summary: Alien Arena - freeware online deathmatch FPS game
8 Summary(pl.UTF-8): Alien Arena - darmowa gra sieciowa typu FPS deathmatch
9 Name: alienarena%{relyear}
13 Group: X11/Applications/Games
14 Source0: http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/%{name}-%{dateversion}-linux.zip
15 # Source0-md5: 65d2948fa636cbc28c82da2264df2fea
16 URL: http://red.planetarena.org/
17 BuildRequires: OpenGL-GLU-devel
18 BuildRequires: SDL-devel
19 BuildRequires: dos2unix
20 BuildRequires: libjpeg-devel
21 BuildRequires: rpmbuild(macros) >= 1.228
23 BuildRequires: xorg-lib-libX11-devel
24 BuildRequires: xorg-lib-libXext-devel
25 BuildRequires: xorg-lib-libXxf86dga-devel
26 BuildRequires: xorg-lib-libXxf86vm-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
33 32-bit graphics, new particle engine and effects, light blooms,
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.
38 The game features 37 levels, which can be played online against other
39 players, or against the built in CodeRED bots.
41 Alien Arena offers CTF, AOA (All Out Assault) mode, in which players
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
45 five different mutators (instagib, rocket arena, excessive, low grav,
46 regen, and vampire) to further customize your game experience.
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.
57 Gra zawiera 37 poziomów, w które można grać online przeciwko innym
58 graczom lub wbudowanym botom CodeRED.
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.
68 Summary: Alien Arena - server
69 Summary(pl.UTF-8): Alien Arena - serwer
70 Group: X11/Applications/Games
71 Requires(post,preun): /sbin/chkconfig
74 The dedicated server for Alien Arena.
76 %description server -l pl.UTF-8
77 Dedykowany serwer dla gry Alien Arena.
80 Summary: Alien Arena - the data, botinfo, and arena files
81 Summary(pl.UTF-8): Alien Arena - pliki danych i botinfo
82 Group: X11/Applications/Games
85 This package installs the data, botinfo, and arena files needed to run
88 %description data -l pl.UTF-8
89 Ten pakiet instaluje pliki danych i botinfo potrzebne do uruchomienia
94 rm -f ../GH3D.txt ../GamersHell.url
96 for file in lst cfg txt html lng h c ; do
97 find ./ -noleaf -type f -name \*.$file -exec dos2unix '{}' \;
103 RELEASE_CFLAGS='$(BASE_CFLAGS) %{rpmcflags}' \
105 LOCALBASE=%{_prefix} \
109 rm -rf $RPM_BUILD_ROOT
112 DESTDIR=$RPM_BUILD_ROOT
115 rm -rf $RPM_BUILD_ROOT
118 /sbin/chkconfig --add %{name}
119 %service %{name} restart
122 if [ "$1" = "0" ]; then
123 %service -q %{name} stop
124 /sbin/chkconfig --del %{name}
128 %defattr(644,root,root,755)
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
145 %defattr(644,root,root,755)
148 %defattr(644,root,root,755)
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
153 #alien-arena/kill-runaway-crded
154 #alien-arena/launch-server
157 #%{_mandir}/man6/alien-arena-server.6*