Группа :: Игры/Стратегия
Пакет: warzone2100
Главная Изменения Спек Патчи Загрузить Bugs and FR
Summary: Warzone 2100 ReDev
Name: warzone2100
Version: 2.0.2.3
Release: alt0.M24.1
License: GPL
Url: http://warzone.berlios.de/
Group: Games/Strategy
Source: %version-src.tar.bz2
Source1: warzone
Source2: %version-data.rar
BuildRequires: esound flex libSDL-devel libSDL_net-devel libjpeg-devel libmad-devel libogg-devel libopenal-devel libvorbis-devel unrar XFree86-devel zlib-devel libGLU-devel
%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 -n %version-src
mkdir data
pushd data
unrar x %SOURCE2
popd
%build
export LDFLAGS=-L/usr/X11R6/lib/
./autogen.sh
%configure
%make
%__rm -f data/*.dll
%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.txt CHANGELOG.txt COPYING.txt AUTHORS.txt
%_bindir/*
%_datadir/games/*
%_menudir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Name: warzone2100
Version: 2.0.2.3
Release: alt0.M24.1
License: GPL
Url: http://warzone.berlios.de/
Group: Games/Strategy
Source: %version-src.tar.bz2
Source1: warzone
Source2: %version-data.rar
BuildRequires: esound flex libSDL-devel libSDL_net-devel libjpeg-devel libmad-devel libogg-devel libopenal-devel libvorbis-devel unrar XFree86-devel zlib-devel libGLU-devel
%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 -n %version-src
mkdir data
pushd data
unrar x %SOURCE2
popd
%build
export LDFLAGS=-L/usr/X11R6/lib/
./autogen.sh
%configure
%make
%__rm -f data/*.dll
%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.txt CHANGELOG.txt COPYING.txt AUTHORS.txt
%_bindir/*
%_datadir/games/*
%_menudir/%name
%changelog
…
Полный changelog можно просмотреть здесь