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: 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
…
Full changelog you can see here
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
…
Full changelog you can see here