Sisyphus repository
Last update: 21 august 2019 | SRPMs: 17343 | Visits: 14692385
en ru br
ALT Linux repos
S:3.1.2-alt3.1
4.0: 2.0.0-alt3

Group :: Games/Strategy
RPM: glest

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: glest
Version: 3.1.2
Release: alt3.1

Summary: Glest is a project for making a free 3d real-time customizable strategy game
Group: Games/Strategy
License: GPL
Packager: Damir Shayhutdinov <damir at altlinux.ru>
Url: http://www.glest.org

Source: %name-source-%version.tar.bz2
Source2: %name.sh
Source3: %name.ini
Source4: %name.png
Source5: %name.desktop

Patch1: glest-2.0.0-logfile.patch
Patch2: glest-3.1.2-debian-gcc-4.3-fixes.patch
Patch3: glest-3.1.2-alt-i586.patch

# Automatically added by buildreq on Sun Mar 14 2010

BuildRequires: gcc-c++ imake jam libGL-devel libSDL-devel libX11-devel libopenal-devel libvorbis-devel libxerces-c28-devel xorg-cf-files

Requires: %name-data = %version
Requires: fonts-bitmap-terminus

%description
Glest is a project for making a free 3d real-time customizable strategy
game. Current version is fully playable, includes single player game
against CPU controlled players, two factions with their corresponding
tech trees, units, buildings and some maps.

%prep
%setup  -n %name-source-%version
%patch1 -p2
%patch2 -p1
%patch3 -p2

%build
%add_optflags -fpermissive
%configure --disable-debug --enable-optimize

jam -dx -j%__nprocs

%install
# let's create directory structure...
mkdir -p %buildroot{%_gamesdatadir/%name,%_gamesbindir,%_docdir/%name-%version,%_iconsdir,%_desktopdir}

# and install what we need where we need it to be...

install -pm755 glest %buildroot%_gamesbindir/glest-bin
install -pm644 %SOURCE3 %buildroot%_gamesdatadir/%name/glest.ini
install -pm755 %SOURCE2 %buildroot%_gamesbindir/glest

install -pm 644 README README.linux license.txt %buildroot%_docdir/%name-%version/
install -pm 644 %SOURCE4 %buildroot%_iconsdir/%name.png
install -pm 644 %SOURCE5 %buildroot%_desktopdir/%name.desktop

%files
%_docdir/%name-%version
%_gamesdatadir/%name
%_gamesbindir/*
%_iconsdir/%name.png
%_desktopdir/%name.desktop

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin