]> git.pld-linux.org Git - packages/alienarena2007.git/blame - alienarena2007.spec
- up to 6.10
[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
5Summary(pl.UTF-8):Alien Arena
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
MWP
13URL: http://red.planetarena.org/
14BuildRequires: Mesa-libGLU-devel
3ec62466 15BuildRequires: dos2unix
85a1d0f5
MWP
16BuildRequires: libjpeg-devel
17BuildRequires: SDL-devel
18BuildRequires: rpmbuild(macros) >= 1.228
19BuildRequires: xorg-lib-libX11-devel
20BuildRequires: xorg-lib-libXext-devel
21Requires(post,preun): /sbin/chkconfig
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25ALIEN ARENA is a standalone 3D first person online deathmatch shooter
26crafted from the original source code of Quake II and Quake III,
27released by id Software under the GPL license. With features including
2832 bit graphics, new particle engine and effects, light blooms,
29reflective water, hi resolution textures and skins, hi poly models,
30stain maps, ALIEN ARENA pushes the envelope of graphical beauty
31rivaling today's top games.
32
33The game features 37 levels, which can be played online against other
34players, or against the built in CodeRED bots.
35
36Alien Arena offers CTF, AOA(All Out Assault) mode, in which players
37can climb into vehicles to do battle, Deathball, and Team Core
38Assault. Simply go into the multiplayer menu to start a server, change
39the game rules, and choose a map to play on. You can also select from
40five different mutators(instagib, rocket arena, excessive, low grav,
41regen, and vampire) to further customize your game experience.
42
43%package server
44Summary: Alien Arena - server
45Summary(pl.UTF-8):Alien Arena - serwer
46Group: X11/Applications/Games
47
48%description server
49The dedicated server for Alien Arena.
50
51%package data
52Summary: Alien Arena - the data, botinfo, and arena files
53Group: X11/Applications/Games
54
55%description data
56This package installs the data, botinfo, and arena files needed to run
57Alien Arena.
58
59%prep
60%setup -q -n %{name}
61rm -f ../GH3D.txt ../GamersHell.url
62
1289d1af
MWP
63for file in lst cfg txt html lng h c ; do
64 find ./ -noleaf -type f -name \*.$file -exec dos2unix '{}' \;
65done
85a1d0f5
MWP
66
67%build
68%{__make} \
69 CFLAGS="%{rpmcflags} -ldl" \
70 LDFLAGS="%{rpmldflags}"
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%post server
82/sbin/chkconfig --add %{name}
83%service %{name} restart
84
85%preun server
86if [ "$1" = "0" ]; then
87 %service -q %{name} stop
88 /sbin/chkconfig --del %{name}
89fi
90
91%files
92%defattr(644,root,root,755)
93%doc changelog README
94%lang(du) %doc docs/AA Dutch.txt
95%lang(fr) %doc docs/AA French.txt
96%lang(de) %doc docs/AA German.txt
97%lang(gr) %doc docs/AA Greek.txt
98%lang(hu) %doc docs/AA Hungarian.txt
99%lang(it) %doc docs/AA Italian.txt
100%lang(pl) %doc docs/AA Polish.txt
101%lang(po) %doc docs/AA Portuguese.txt
102%lang(ru) %doc docs/AA Russian.txt
103%lang(es) %doc docs/AA_ES.txt
104%attr(755,root,root) %{_bindir}/alien-arena
105%{_desktopdir}/alien-arena.desktop
106%{_pixmapsdir}/alien-arena.xpm
107
108%files data
109%defattr(644,root,root,755)
110
111%files server
112%defattr(644,root,root,755)
113%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
114%attr(754,root,root) /etc/rc.d/init.d/%{name}
115%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
116%attr(755,root,root) %{_bindir}/alien-arena-server
117alien-arena/crded
118alien-arena/kill-runaway-crded
119alien-arena/launch-server
120alien-arena/rcon
121alien-arena/svstat
122%{_mandir}/man6/alien-arena-server.6.*
This page took 0.071471 seconds and 4 git commands to generate.