Blob Blame History Raw
Name:           blobwars
Version:        1.06
Release:        2%{?dist}
Summary:        Mission and Objective based 2D Platform Game
Group:          Amusements/Games
License:        GPLv2+
# no full URL as it gets downloaded through a php script, GRRR
Source0:        %{name}-%{version}-2.tar.gz
Patch0:         blobwars-1.05-debian.patch
Patch1:         blobwars-1.05-desktop.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  SDL_mixer-devel SDL_image-devel SDL_ttf-devel zlib-devel
BuildRequires:  desktop-file-utils
Requires:       hicolor-icon-theme

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.

%setup -q
%patch0 -p1 -z .debian
%patch1 -p1 -z .dsktop

make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \

%find_lang %{name}
desktop-file-install --vendor fedora --delete-original    \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications           \


touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

%files -f %{name}.lang
%doc doc/*

* Sun Aug  5 2007 Hans de Goede <> 1.06-2
- Update License tag for new Licensing Guidelines compliance

* Tue Apr 10 2007 Hans de Goede <> 1.06-1
- New upstream release 1.06-2

* Mon Aug 28 2006 Hans de Goede <> 1.05-3
- FE6 Rebuild

* Thu Jun  1 2006 Hans de Goede <> 1.05-2
- remove extreanous BR SDL-devel and ImageMagick
- remove extreanous "export" in %%build section
- remove extreanous "-n %%{name}-%%{version}" under %%setup
- cleanup .desktop file

* Sun May 14 2006 Hans de Goede <> 1.05-1
- initial Fedora Extras package