|
|
0331491 |
Name: blobwars
|
|
|
25a7937 |
Version: 1.06
|
|
|
f52deaa |
Release: 2%{?dist}
|
|
|
0331491 |
Summary: Mission and Objective based 2D Platform Game
|
|
|
0331491 |
Group: Amusements/Games
|
|
|
f52deaa |
License: GPLv2+
|
|
|
0331491 |
URL: http://www.parallelrealities.co.uk/blobWars.php
|
|
|
25a7937 |
# no full URL as it gets downloaded through a php script, GRRR
|
|
|
25a7937 |
Source0: %{name}-%{version}-2.tar.gz
|
|
|
0331491 |
Patch0: blobwars-1.05-debian.patch
|
|
|
0331491 |
Patch1: blobwars-1.05-desktop.patch
|
|
|
0331491 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
0331491 |
BuildRequires: SDL_mixer-devel SDL_image-devel SDL_ttf-devel zlib-devel
|
|
|
0331491 |
BuildRequires: desktop-file-utils
|
|
|
25a7937 |
Requires: hicolor-icon-theme
|
|
|
0331491 |
|
|
|
0331491 |
%description
|
|
|
0331491 |
Blob Wars : Metal Blob Solid. This is Episode I of the Blob Wars Saga.
|
|
|
0331491 |
You must undertake the role of fearless Blob solider, Bob, as he infiltrates
|
|
|
0331491 |
various enemy installations and hideouts in an attempt to rescue as many
|
|
|
0331491 |
MIAs as possible.
|
|
|
0331491 |
|
|
|
0331491 |
|
|
|
0331491 |
%prep
|
|
|
0331491 |
%setup -q
|
|
|
0331491 |
%patch0 -p1 -z .debian
|
|
|
0331491 |
%patch1 -p1 -z .dsktop
|
|
|
0331491 |
|
|
|
0331491 |
|
|
|
0331491 |
%build
|
|
|
0331491 |
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
0331491 |
DOCDIR=%{_docdir}/%{name}-%{version}/
|
|
|
0331491 |
|
|
|
0331491 |
|
|
|
0331491 |
%install
|
|
|
0331491 |
rm -rf $RPM_BUILD_ROOT
|
|
|
0331491 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
25a7937 |
%find_lang %{name}
|
|
|
0331491 |
desktop-file-install --vendor fedora --delete-original \
|
|
|
0331491 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
0331491 |
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
0331491 |
|
|
|
0331491 |
|
|
|
0331491 |
%clean
|
|
|
0331491 |
rm -rf $RPM_BUILD_ROOT
|
|
|
0331491 |
|
|
|
0331491 |
|
|
|
0331491 |
%post
|
|
|
0331491 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
f52deaa |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
f52deaa |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
f52deaa |
fi
|
|
|
0331491 |
|
|
|
0331491 |
%postun
|
|
|
0331491 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
f52deaa |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
f52deaa |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
f52deaa |
fi
|
|
|
0331491 |
|
|
|
0331491 |
|
|
|
25a7937 |
%files -f %{name}.lang
|
|
|
0331491 |
%defattr(-,root,root,-)
|
|
|
0331491 |
%doc doc/*
|
|
|
0331491 |
%{_bindir}/%{name}
|
|
|
0331491 |
%{_datadir}/%{name}
|
|
|
0331491 |
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
0331491 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
0331491 |
|
|
|
0331491 |
|
|
|
0331491 |
%changelog
|
|
|
f52deaa |
* Sun Aug 5 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.06-2
|
|
|
f52deaa |
- Update License tag for new Licensing Guidelines compliance
|
|
|
f52deaa |
|
|
|
25a7937 |
* Tue Apr 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.06-1
|
|
|
25a7937 |
- New upstream release 1.06-2
|
|
|
25a7937 |
|
|
|
b926389 |
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.05-3
|
|
|
b926389 |
- FE6 Rebuild
|
|
|
b926389 |
|
|
|
0331491 |
* Thu Jun 1 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.05-2
|
|
|
0331491 |
- remove extreanous BR SDL-devel and ImageMagick
|
|
|
25a7937 |
- remove extreanous "export" in %%build section
|
|
|
25a7937 |
- remove extreanous "-n %%{name}-%%{version}" under %%setup
|
|
|
0331491 |
- cleanup .desktop file
|
|
|
0331491 |
|
|
|
0331491 |
* Sun May 14 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.05-1
|
|
|
0331491 |
- initial Fedora Extras package
|