Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562248
en ru br
Репозитории ALT
S:2.00-alt2
5.1: 1.04-alt4.qa1
4.1: 1.04-alt4.qa1
4.0: 1.04-alt4
3.0: 1.04-alt1
www.altlinux.org/Changes

Группа :: Игры/Аркады
Пакет: blobwars

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

%define _release 1

Name: blobwars
Version: 1.04
Release: alt4.qa1

Summary: Mission and Objective based 2D Platform Game
License: %gpl2plus
Group: Games/Arcade

Url: http://www.parallelrealities.co.uk/blobWars.php
Source: %name-%version-%_release.tar.bz2
Patch1: %name-1.04-alt-fix-as-needed-linking.patch
Patch2: %name-1.04-alt-fixes.patch
Patch3: %name-1.04-fix-gcc4-compile.patch
Patch4: %name-1.04-fix-fdo-categories.patch

BuildRequires: rpm-build-licenses

BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel zlib-devel
# TODO: The package should depend on fonts-ttf-dejavu in runtime and take
# the font from there. rpm-build-fonts contains %_ttffontsdir macro.
BuildRequires: rpm-build-fonts fonts-ttf-dejavu

%description
Blob Wars : Metal Blob Solid. This is Episode I of the Blob Wars Saga.
You must undertake the role of fearless Blob solider, Bob, as he infiltrates
various enemy installations and hideouts in an attempt to rescue as many
MIAs as possible.

%prep
%setup -q
%patch1
%patch2
%patch3
%patch4
%__subst 's/TTF_RenderText/TTF_RenderUTF8/' src/*
%__subst 's/vera\.ttf/font.ttf/' src/*
cp %_ttffontsdir/dejavu/DejaVuSans.ttf data/font.ttf

%build
%make_build VERSION=%version RELEASE=%_release PREFIX=%_prefix

%install
%makeinstall DESTDIR=%buildroot PREFIX=%buildroot%_prefix

%postun -n blobwars
%clean_menus


%post -n blobwars
%update_menus


%files
%_gamesbindir/%name
%dir %_gamesdatadir/parallelrealities
%_gamesdatadir/parallelrealities/%name.pak
%_desktopdir/%name.desktop
%_iconsdir/%name.png
%_iconsdir/mini/%name.png
%_iconsdir/large/%name.png
%doc doc/*

%changelog

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

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