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