]>
Commit | Line | Data |
---|---|---|
f62c7212 | 1 | Summary: A Tron lightcycle game with focus on multiplayer mode |
0a8caa2a | 2 | Name: armagetron |
0b036ded | 3 | Version: 0.2.4 |
0a8caa2a TO |
4 | Release: 0.1 |
5 | License: GPL | |
6 | Group: X11/Applications/Games | |
f62c7212 | 7 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 |
0b036ded | 8 | # Source0-md5: 96d2388100c31ef915f48af19f275de1 |
f62c7212 | 9 | Patch0: %{name}-ac_fix.patch |
0a8caa2a TO |
10 | URL: http://armagetron.sourceforge.net/ |
11 | BuildRequires: OpenGL-devel | |
12 | BuildRequires: SDL_image-devel | |
13 | BuildRequires: SDL_mixer-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _sysconfdir /etc/%{name} | |
17 | ||
18 | %description | |
f62c7212 TO |
19 | In Armagetron, you ride a lightcycle around the game grid. You can |
20 | only make sharp turns of 90 degrees and a wall constantly builds up | |
21 | after you. Make your enemies crash into your wall, but be aware that | |
22 | they are trying to do the same to you. If you are fast enough, you may | |
23 | be able to trap them, but the only way to speed up your lightcycle is | |
24 | to drive close to the dangerous walls. Prepare for exciting strategic | |
25 | preparations followed by action-packed close combat! | |
0a8caa2a TO |
26 | |
27 | %prep | |
28 | %setup -q | |
f62c7212 | 29 | #%patch0 -p1 |
0a8caa2a TO |
30 | |
31 | %build | |
32 | #rm -f missing | |
0a8caa2a TO |
33 | #{__aclocal} |
34 | #{__autoconf} | |
f62c7212 | 35 | |
0a8caa2a | 36 | %configure |
f62c7212 | 37 | |
0a8caa2a TO |
38 | %{__make} |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
f62c7212 | 43 | %{__make} install |
0a8caa2a TO |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
f62c7212 | 50 | %doc CHANGELOG doc/*.html doc/net |
0a8caa2a TO |
51 | %attr(755,root,root) %{_bindir}/* |
52 | %dir %{_sysconfdir} | |
f62c7212 TO |
53 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.cfg |
54 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.srv | |
55 | %dir %{_prefix}/games/%{name} | |
56 | %{_prefix}/games/%{name}/arenas | |
57 | %dir %{_prefix}/games/%{name}/bin | |
58 | %attr(755,root,root) %{_prefix}/games/%{name}/bin/[ap]* | |
59 | %dir %{_prefix}/games/%{name}/language | |
60 | %{_prefix}/games/%{name}/language/languages.txt | |
61 | %{_prefix}/games/%{name}/language/english.txt | |
62 | %lang(de) %{_prefix}/games/%{name}/language/deutsch.txt | |
63 | %{_prefix}/games/%{name}/models | |
64 | %{_prefix}/games/%{name}/sound | |
65 | %{_prefix}/games/%{name}/textures |