Group :: Games/Strategy
RPM: megaglest-data
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define rev 81693aec
%define packname megaglest
Name: megaglest-data
Version: 3.9.0
Release: alt1.%rev
Summary: Glest is a project for making a free 3d real-time customizable strategy game
License: GPL
Group: Games/Strategy
Url: http://megaglest.sourceforge.net
Packager: Andrew Clark <andyc at altlinux.org>
Source: %name.tar.bz2
BuildArch: noarch
%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 -q -n %name
sed -i 's#DataPath=$APPLICATIONDATAPATH#DataPath=/usr/share/games/megaglest/#g' glest.ini
sed -i 's#LogPath=$APPDATA\\megaglest\\#LogPath=$HOME#g' glest.ini
sed -i 's#UserData_Root=$APPDATA\\megaglest\\#UserData_Root=$HOME\/megaglest/#g' glest.ini
%install
mkdir -p %buildroot%_gamesdatadir/%packname
mv * %buildroot%_gamesdatadir/%packname/
%files
%_gamesdatadir/%packname
%changelog
…
Full changelog you can see here
%define packname megaglest
Name: megaglest-data
Version: 3.9.0
Release: alt1.%rev
Summary: Glest is a project for making a free 3d real-time customizable strategy game
License: GPL
Group: Games/Strategy
Url: http://megaglest.sourceforge.net
Packager: Andrew Clark <andyc at altlinux.org>
Source: %name.tar.bz2
BuildArch: noarch
%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 -q -n %name
sed -i 's#DataPath=$APPLICATIONDATAPATH#DataPath=/usr/share/games/megaglest/#g' glest.ini
sed -i 's#LogPath=$APPDATA\\megaglest\\#LogPath=$HOME#g' glest.ini
sed -i 's#UserData_Root=$APPDATA\\megaglest\\#UserData_Root=$HOME\/megaglest/#g' glest.ini
%install
mkdir -p %buildroot%_gamesdatadir/%packname
mv * %buildroot%_gamesdatadir/%packname/
%files
%_gamesdatadir/%packname
%changelog
…
Full changelog you can see here