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