Group :: Games/Strategy
RPM: warzone2100
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Summary: Warzone 2100 ReDev
Name: warzone2100
Version: 0.2.2
Release: alt1
License: GPL
Url: http://www.realtimestrategies.net/forums/index.php
Group: Games/Strategy
Source: %name-%version.tar.bz2
Source1: warzone
# Automatically added by buildreq on Fri Sep 02 2005
BuildRequires: libSDL-devel libSDL_net-devel libjpeg-devel libmad-devel libogg-devel libopenal-devel libvorbis-devel xorg-x11-devel xorg-x11-mesagl
%description
Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and most
will agree it didn't enjoy the commercial success it should have had. The game's
source code was liberated on December 6th, 2004, under a GPL license (see
COPYING in this directory for details). Soon after that, the Warzone 2100 ReDev
project was formed to take care of its future.
%prep
%setup -q
%build
export LDFLAGS=-L/usr/X11R6/lib/
%configure
%make
%install
%makeinstall
%__mkdir -p %buildroot/%_datadir/games/%name/
%__cp -a data/* %buildroot/%_datadir/games/%name/
%__mv %buildroot/%_bindir/warzone %buildroot/%_bindir/warzone.bin
%__install -m755 %SOURCE1 %buildroot/%_bindir/
# Menu
%__mkdir -p $RPM_BUILD_ROOT/%_menudir
%__cat << EOF > $RPM_BUILD_ROOT/%_menudir/%name
?package(%name):\
needs="x11"\
section="Amusement/Strategy"\
title="%name"\
longtitle="Warzone 2100 ReDev"\
command="warzone"\
icon="strategy_section.png"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc README CHANGELOG COPYING AUTHORS
%_bindir/*
%_datadir/games/*
%_menudir/%name
%changelog
…
Full changelog you can see here
Name: warzone2100
Version: 0.2.2
Release: alt1
License: GPL
Url: http://www.realtimestrategies.net/forums/index.php
Group: Games/Strategy
Source: %name-%version.tar.bz2
Source1: warzone
# Automatically added by buildreq on Fri Sep 02 2005
BuildRequires: libSDL-devel libSDL_net-devel libjpeg-devel libmad-devel libogg-devel libopenal-devel libvorbis-devel xorg-x11-devel xorg-x11-mesagl
%description
Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and most
will agree it didn't enjoy the commercial success it should have had. The game's
source code was liberated on December 6th, 2004, under a GPL license (see
COPYING in this directory for details). Soon after that, the Warzone 2100 ReDev
project was formed to take care of its future.
%prep
%setup -q
%build
export LDFLAGS=-L/usr/X11R6/lib/
%configure
%make
%install
%makeinstall
%__mkdir -p %buildroot/%_datadir/games/%name/
%__cp -a data/* %buildroot/%_datadir/games/%name/
%__mv %buildroot/%_bindir/warzone %buildroot/%_bindir/warzone.bin
%__install -m755 %SOURCE1 %buildroot/%_bindir/
# Menu
%__mkdir -p $RPM_BUILD_ROOT/%_menudir
%__cat << EOF > $RPM_BUILD_ROOT/%_menudir/%name
?package(%name):\
needs="x11"\
section="Amusement/Strategy"\
title="%name"\
longtitle="Warzone 2100 ReDev"\
command="warzone"\
icon="strategy_section.png"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc README CHANGELOG COPYING AUTHORS
%_bindir/*
%_datadir/games/*
%_menudir/%name
%changelog
…
Full changelog you can see here