]> git.pld-linux.org Git - packages/armagetronad.git/blame - armagetronad.spec
- more TODO
[packages/armagetronad.git] / armagetronad.spec
CommitLineData
53068ad1 1#
6b3ea47d 2# TODO: - start scripts for server
3# - fix build on 64 bits
fe7ada19 4# - re-enable server
6b3ea47d 5#
53068ad1 6Summary: A Tron lightcycle game with focus on multiplayer mode
7Summary(pl.UTF-8): Gra Tron ze światłocyklem skupiająca się na trybie dla wielu graczy
8Name: armagetronad
a08b9e9f 9Version: 0.2.8.3.1
53068ad1 10Release: 0.1
a08b9e9f 11License: GPL v3+
53068ad1 12Group: X11/Applications/Games
a08b9e9f 13Source0: http://downloads.sourceforge.net/armagetronad/%{name}-%{version}.src.tar.bz2
14# Source0-md5: d4957ee0c2d3ae9d630d1362a6dcee70
53068ad1 15#Source1: %{name}.desktop
16#Source2: %{name}.png
17Source3: http://armagetron.sourceforge.net/addons/moviepack.zip
18# Source3-md5: e2d40309dde7e1339ca6aff7599cdfa3
19URL: http://armagetronad.net/
20BuildRequires: OpenGL-devel
21BuildRequires: SDL_image-devel
22BuildRequires: SDL_mixer-devel
eb624b5b 23BuildRequires: libjpeg-devel
eb624b5b 24BuildRequires: libpng-devel >= 2:1.4.0
2fea50b9 25BuildRequires: libxml2-devel
53068ad1 26BuildRequires: sed >= 4.0
27BuildRequires: unzip
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
53068ad1 30%description
31In Armagetron, you ride a lightcycle around the game grid. You can
32only make sharp turns of 90 degrees and a wall constantly builds up
33after you. Make your enemies crash into your wall, but be aware that
34they are trying to do the same to you. If you are fast enough, you may
35be able to trap them, but the only way to speed up your lightcycle is
36to drive close to the dangerous walls. Prepare for exciting strategic
37preparations followed by action-packed close combat!
38
39%description -l pl.UTF-8
490bb1ce 40W grze Armagetron jeździ się światłocyklem po planszy. Można wykonywać
41tylko ostre zakręty o 90 stopni, a za graczem ciągle buduje się mur.
42Trzeba spowodować, by wrogowie roztrzaskali się na tym murze, ale
43także uważać, bo oni próbują zrobić to samo. Jeśli gracz jest szybki,
44może złapać ich wszystkich, ale jedynym sposobem na przyspieszenie
45światłocyklu jest jazda blisko niebezpiecznych ścian. Trzeba się
46przygotować na ekscytujące strategiczne przygotowania i następującą po
47nich walkę w zbliżeniu!
53068ad1 48
49%package moviepack
50Summary: Moviepack addon
51Summary(pl.UTF-8): Dodatek Moviepack
52Group: X11/Applications/Games
53Requires: %{name} = %{version}-%{release}
54
55%description moviepack
56Moviepack addon.
57
58%description moviepack -l pl.UTF-8
59Dodatek Moviepack.
60
61%package server
62Summary: Armagetron server
63Summary(pl.UTF-8): Serwer Armagetrona
64Group: Applications/Games
65
66%description server
67Armagetron server.
68
69%description server -l pl.UTF-8
70Serwer Armagetrona.
71
72%prep
73%setup -q -a3
74
eb624b5b 75# fix build with libpng >= 2:1.4.0
76%{__sed} -i 's/png_check_sig/png_sig_cmp/' configure.ac
53068ad1 77
78%build
eb624b5b 79%{__aclocal}
80%{__autoconf}
81%{__autoheader}
82%{__automake}
53068ad1 83%configure \
6b3ea47d 84 --enable-music \
eb624b5b 85 --disable-sysinstall \
86 --disable-uninstall
87# --disable-glout \
88# --enable-games \
89# --enable-main \
90# --enable-master \
91# --enable-music \
92# --disable-initscripts \
93# --disable-useradd
53068ad1 94
95%{__make}
96
97%install
98rm -rf $RPM_BUILD_ROOT
b7133b73 99#install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_bindir}} \
100# $RPM_BUILD_ROOT%{_prefix}/games/%{name}/moviepack \
101# $RPM_BUILD_ROOT%{_sysconfdir_server}
53068ad1 102
103%{__make} install \
104 DESTDIR=$RPM_BUILD_ROOT
105
53068ad1 106#install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
107#install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
108#
109#cp $RPM_BUILD_ROOT%{_sysconfdir}/* $RPM_BUILD_ROOT%{_sysconfdir_server}
110#cp -R moviepack $RPM_BUILD_ROOT%{_prefix}/games/%{name}
111#rm -f $RPM_BUILD_ROOT%{_prefix}/games/%{name}/moviepack/art_read_me.txt
112
113%clean
114rm -rf $RPM_BUILD_ROOT
115
116%files
117%defattr(644,root,root,755)
eb624b5b 118%doc AUTHORS ChangeLog NEWS src/doc/{*.html,net}
119%dir %{_sysconfdir}/games
120%dir %{_sysconfdir}/games/%{name}
121%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/games/%{name}/*.cfg
53068ad1 122#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.cfg
123#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.srv
eb624b5b 124%attr(755,root,root) %{_bindir}/%{name}
2fea50b9 125%dir %{_datadir}/games/armagetronad
126%dir %{_datadir}/games/armagetronad/language
127%{_datadir}/games/armagetronad/language/*.txt
128%dir %{_datadir}/games/armagetronad/models
129%{_datadir}/games/armagetronad/models/*.mod
130%dir %{_datadir}/games/armagetronad/resource
131%dir %{_datadir}/games/armagetronad/resource/included
132%{_datadir}/games/armagetronad/resource/included/*.dtd
133%dir %{_datadir}/games/armagetronad/resource/included/AATeam
134%{_datadir}/games/armagetronad/resource/included/AATeam/*.dtd
135%dir %{_datadir}/games/armagetronad/resource/included/Anonymous
136%dir %{_datadir}/games/armagetronad/resource/included/Anonymous/polygon
137%dir %{_datadir}/games/armagetronad/resource/included/Anonymous/polygon/regular
138%{_datadir}/games/armagetronad/resource/included/Anonymous/polygon/regular/*.xml
139%dir %{_datadir}/games/armagetronad/resource/included/Your_mom
140%dir %{_datadir}/games/armagetronad/resource/included/Your_mom/clever
141%{_datadir}/games/armagetronad/resource/included/Your_mom/clever/*.xml
142%dir %{_datadir}/games/armagetronad/resource/included/Z-Man
143%dir %{_datadir}/games/armagetronad/resource/included/Z-Man/fortress
144%{_datadir}/games/armagetronad/resource/included/Z-Man/fortress/*.xml
145%dir %{_datadir}/games/armagetronad/sound
146%{_datadir}/games/armagetronad/sound/*.wav
147%dir %{_datadir}/games/armagetronad/textures
148%{_datadir}/games/armagetronad/textures/*.jpg
149%{_datadir}/games/armagetronad/textures/*.png
53068ad1 150
151%files moviepack
152%defattr(644,root,root,755)
eb624b5b 153#%%doc moviepack/art_read_me.txt
154#%%{_prefix}/games/%{name}/moviepack
53068ad1 155
a08b9e9f 156%files server
53068ad1 157%defattr(644,root,root,755)
eb624b5b 158%if 0
53068ad1 159%attr(755,root,root) %{_bindir}/armagetronad-dedicated
160%dir %{_prefix}/games/armagetronad-dedicated
a08b9e9f 161%{_datadir}/games/armagetronad-dedicated/bin
53068ad1 162%attr(755,root,root) %{_prefix}/games/armagetronad-dedicated/bin/*
163%exclude %{_prefix}/games/armagetronad-dedicated/bin/uninstall
164%{_prefix}/games/armagetronad-dedicated/language
165%dir %{_sysconfdir_server}
166%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir_server}/*.cfg
167%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir_server}/*.srv
eb624b5b 168%endif
This page took 0.091051 seconds and 4 git commands to generate.