Sisyphus repository
Last update: 16 july 2019 | SRPMs: 17682 | Visits: 14326953
en ru br
ALT Linux repos
S:3.2.3-alt2
5.0: 2.0.10-alt1
4.1: 2.0.10-alt1
4.0: 2.0.7-alt1
3.0: 0.2.2-alt1

Group :: Games/Strategy
RPM: warzone2100

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: warzone2100
Version: 3.1.0
Release: alt1

Summary: Warzone 2100 Resurrection Project (RTS 3D game)
License: GPLv2+ and CC-BY-SA
Group: Games/Strategy

Url: http://wz2100.net/
#Source: http://dfn.dl.sourceforge.net/sourceforge/warzone2100/warzone2100-%version.tar.gz
Source: %name-%version.tar
#Source1: http://www.deviantart.com/download/92153956/Warzone_2100_Tango_Icon_by_Unit66.zip
Source1: Warzone_2100_Tango_Icon_by_Unit66.tar

BuildRequires: /proc
BuildRequires: libqt4-devel elfutils fontconfig fontconfig-devel gnu-config libGL-devel libGLU-devel libX11-devel libXrandr-devel libXrender-devel libfreetype-devel libogg-devel libpng-devel libqt4-core libqt4-devel libqt4-network libqt4-script libstdc++-devel pkg-config python-base texlive-latex-base xorg-randrproto-devel xorg-renderproto-devel xorg-xproto-devel zlib-devel
BuildRequires: asciidoc-a2x flex gcc-c++ git-core imake libSDL-devel libfribidi-devel libglew-devel libopenal-devel libphysfs-devel libtheora-devel libvorbis-devel subversion unzip xorg-cf-files zip

# 'zip -T' called in build process needs unzip to work...


Requires: %name-gamedata = %version

%description
Warzone 2100 is a real-time strategy game. Although comparable to Earth 2150
in many significant respects, it does contain aspects that are unique. These
include various radar technologies and a greater focus on artillery and
counter-battery technologies.

%package gamedata
Summary: Game data for warzone2100
Group: Games/Strategy
# We split game data to separate package to make it noarch and thus save
# bandwidth and space on distribution media.
BuildArch: noarch

%description gamedata
Game data for warzone2100.

%prep
%setup -a 1

%build
%configure --with-distributor="ALT Linux"
%make_build

%install
%makeinstall_std
install -d %buildroot%_pixmapsdir
install -m644 icons/warzone2100.png %buildroot%_pixmapsdir
install -pD -m644 warzone2100_48x48.png %buildroot%_liconsdir/warzone2100.png
install -pD -m644 warzone2100_32x32.png %buildroot%_niconsdir/warzone2100.png
install -pD -m644 warzone2100_16x16.png %buildroot%_miconsdir/warzone2100.png

%find_lang warzone2100

%files -f warzone2100.lang
%doc COPYING.README doc/Readme.en
%exclude /usr/share/doc
%_bindir/*
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*
%exclude %_iconsdir/warzone2100.png
%_pixmapsdir/*
%_desktopdir/*
%_man6dir/*

%files gamedata
%_datadir/warzone2100

%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