Package armagetronad: Specfile

Name: armagetronad
Release: alt1
Summary: 3D Tron-like high speed game

Group: Games/Arcade
License: GPL

Source: %name-%version.tar
Packager: Vladimir Lettiev <>

BuildRequires: libxml2-devel libSDL-devel libGL-devel libGLU-devel zlib-devel libpng-devel libSDL_image-devel gcc-c++ libjpeg-devel

The rules are simple: you ride a lightcycle, a kind of motorbike that
can only turn 90 degrees at a time, leaves a wall behind and cannot be
stopped. Avoid running into a wall while trying to make your opponent
run into a wall.
Just in case you do not know: this idea is best known from the Disney
movie "Tron" from 1982. However, that's not the origin of the game idea.

%package dedicated
Group: Games/Arcade
Summary: 3D Tron-like high speed game. Dedicated server
%description dedicated

%setup -q

# Build client
%configure --enable-glout --disable-uninstall
mkdir .client
%make_install DESTDIR=$(pwd)/.client install
# Build dedicated server
%configure --enable-dedicated --disable-uninstall --disable-initscripts

cp -R .client/* %buildroot/
mkdir -p %buildroot{%_miconsdir,%_niconsdir,%_liconsdir,%_desktopdir}
cp %buildroot%_datadir/games/%name/desktop/icons/small/%name.png  %buildroot%_miconsdir
cp %buildroot%_datadir/games/%name/desktop/icons/medium/%name.png %buildroot%_niconsdir
cp %buildroot%_datadir/games/%name/desktop/icons/large/%name.png  %buildroot%_liconsdir
cp %buildroot%_datadir/games/%name/desktop/%name.desktop %buildroot%_desktopdir

%exclude %_datadir/games/%name/scripts
%exclude %_datadir/games/%name/language/

%files dedicated
%exclude %_datadir/games/%name-dedicated/scripts
%exclude %_datadir/games/%name-dedicated/language/

* Mon Jul 03 2017 Aleksei Nikiforov <>
- Updated to upstream version

* Thu Oct 04 2012 Eugeny A. Rostovtsev (REAL) <real at>
- Rebuilt with libpng15

* Tue Oct 04 2011 Vladimir Lettiev <>
- new version

* Fri Jan 14 2011 Vladimir Lettiev <>
- initial build