Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37710978
en ru br
ALT Linux repos
S:2.00-alt2
5.0: 1.04-alt4.qa1
4.1: 1.04-alt4.qa1
4.0: 1.04-alt4
3.0: 1.04-alt1

Group :: Games/Arcade
RPM: blobwars

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _release 1

Name: blobwars
Version: 1.04
Release: alt1

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

Url: http://www.parallelrealities.co.uk/blobWars.php
Source: %name-%version-%_release.tar.bz2
Source1: DejaVuSans.ttf
Patch: %name-1.04-alt-fixes.patch

Requires: libSDL libSDL_image libSDL_mixer libSDL_ttf zlib
BuildPreReq: menu-devel

# Automatically added by buildreq on Tue Mar 15 2005

BuildRequires: esound freetype2 gcc-c++ libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libstdc++-devel xorg-x11-libs zlib-devel

%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
%patch
%__subst 's/TTF_RenderText/TTF_RenderUTF8/' src/*
%__subst 's/vera\.ttf/font.ttf/' src/*
%__cp %SOURCE1 data/font.ttf
#cd data
#%__ln_s -f ../src/defines.h

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

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

# menu

%__mkdir_p %buildroot%_menudir
freedesktop2menu.pl %name "Amusement/Arcade" \
   %buildroot%_datadir/applications/%name.desktop \
   %buildroot%_menudir/%name

%post
%update_menus

%postun
%clean_menus

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

%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