Group :: Jogos/Arcade
RPM: barrage
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: Kill and destroy as many targets as possible within 3 minutes
Name: barrage
Version: 1.0.1
Release: alt2.M40.1
License: GPL
Group: Games/Arcade
Packager: Dmitriy Kulik <lnkvisitor at altlinux.org>
Source0: %name-%version.tar.gz
Source1: %name.png
Patch0: pach-%name-desktop.diff
URL: http://lgames.sourceforge.net/index.php?project=Barrage
# Automatically added by buildreq on Thu Dec 18 2008 (-bi)
BuildRequires: ImageMagick libSDL-devel libSDL_mixer-devel
%description
Barrage is a rather violent action game with the objective to kill
and destroy as many targets as possible within 3 minutes. The player
controls a gun that may either fire small or large grenades at
soldiers, jeeps and tanks. It is a very simple gameplay though it is
not that easy to get high scores.
%prep
%setup
%patch0 -p1
%build
%configure --bindir=%_gamesbindir
%make_build
%install
%make DESTDIR=%buildroot install
%__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 16x16 %SOURCE1 %buildroot%_miconsdir/%name.png
convert -resize 32x32 %SOURCE1 %buildroot%_niconsdir/%name.png
convert -resize 48x48 %SOURCE1 %buildroot%_liconsdir/%name.png
%files
%_gamesdatadir/*
%_gamesbindir/*
%_desktopdir/*
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png
%changelog
…
Todas as alterações você pod ver aqui
Name: barrage
Version: 1.0.1
Release: alt2.M40.1
License: GPL
Group: Games/Arcade
Packager: Dmitriy Kulik <lnkvisitor at altlinux.org>
Source0: %name-%version.tar.gz
Source1: %name.png
Patch0: pach-%name-desktop.diff
URL: http://lgames.sourceforge.net/index.php?project=Barrage
# Automatically added by buildreq on Thu Dec 18 2008 (-bi)
BuildRequires: ImageMagick libSDL-devel libSDL_mixer-devel
%description
Barrage is a rather violent action game with the objective to kill
and destroy as many targets as possible within 3 minutes. The player
controls a gun that may either fire small or large grenades at
soldiers, jeeps and tanks. It is a very simple gameplay though it is
not that easy to get high scores.
%prep
%setup
%patch0 -p1
%build
%configure --bindir=%_gamesbindir
%make_build
%install
%make DESTDIR=%buildroot install
%__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 16x16 %SOURCE1 %buildroot%_miconsdir/%name.png
convert -resize 32x32 %SOURCE1 %buildroot%_niconsdir/%name.png
convert -resize 48x48 %SOURCE1 %buildroot%_liconsdir/%name.png
%files
%_gamesdatadir/*
%_gamesbindir/*
%_desktopdir/*
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png
%changelog
…
Todas as alterações você pod ver aqui