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