Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570023
en ru br
Репозитории ALT
S:1.1-alt2.20230624
5.1: b13-alt1
4.1: b12-alt1
www.altlinux.org/Changes

Группа :: Игры/Стратегия
Пакет: widelands

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: widelands
%define _internal_version build13
Version: b13
Release: alt1
Summary: %name - fantasy real-time strategy game
Group: Games/Strategy
License: GPL
Url: http://www.widelands.org
Packager: Eugene Ostapets <eostapets at altlinux.ru>
Requires: %name-data = %version-%release
Source: http://downloads.sourceforge.net/%name/%name-%_internal_version-src.tar.bz2
Source1: %name.desktop
Source2: %name.watch
BuildPreReq: /usr/bin/latex ghostscript-utils
# Automatically added by buildreq on Mon Mar 16 2009
BuildRequires: boost-devel flex gcc-c++ libSDL-devel libSDL_gfx-devel libSDL_image-devel libSDL_mixer-devel libSDL_net-devel libSDL_ttf-devel libpng-devel optipng python-devel scons swig

BuildRequires: desktop-file-utils

%description
Widelands is a strategy game aiming for gameplay similar to Settlers II by
BlueByte.

In this game, you start out on a small piece of land with nothing more than
a few of useful resources. Using those, you can build yourself an empire
with many thousands of inhabitants. On your way towards this goal, you will
have to build up an economic infrastructure, explore the lands around you
and face enemies who are trying to rule the world just like you do.

%package data
BuildArch: noarch
Summary: %name - fantasy real-time strategy game (data files)
Group: Games/Strategy
Requires: %name = %version
%description data
Widelands is a strategy game aiming for gameplay similar to Settlers II by
BlueByte.

In this game, you start out on a small piece of land with nothing more than
a few of useful resources. Using those, you can build yourself an empire
with many thousands of inhabitants. On your way towards this goal, you will
have to build up an economic infrastructure, explore the lands around you
and face enemies who are trying to rule the world just like you do.

%prep
%setup

%build
scons \
build=release \
install_prefix=%_prefix \
localedir=%_datadir/locale

%install
mkdir -p %buildroot%prefix/{games,share/{games/%name,applications,pixmaps}}
install -m755 %name %buildroot%_gamesbindir
cp -r campaigns fonts maps music pics sound tribes txts worlds %buildroot%_gamesdatadir/%name
cp -r locale %buildroot%_datadir
install %SOURCE1 %buildroot%_desktopdir
install -m644 pics/wl-ico-64.png %buildroot%_pixmapsdir/widelands.png

%files
%_gamesbindir/%name
%_desktopdir/*.desktop
%_datadir/locale/*/*/*
%_pixmapsdir/*.png
%dir %_gamesdatadir/%name

%files data
%_gamesdatadir/%name/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin