Blob Blame History Raw
Name:           supertux
Version:        0.1.3
Release:        1%{?dist}

Summary:        Jump'n run like game similar to Mario Bros

Group:          Amusements/Games
License:        GPL
URL:            http://supertux.berlios.de/
Source0:        http://download.berlios.de/supertux/supertux-%{version}.tar.bz2
Source1:        %{name}.desktop

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  SDL-devel >= 1.2.4, SDL_image-devel, SDL_mixer-devel
BuildRequires:  zlib-devel, desktop-file-utils

%description
SuperTux is a jump'n run like game, with strong inspiration from the
Super Mario Bros games for Nintendo.

Run and jump through multiple worlds, fighting off enemies by jumping
on them or bumping them from below.  Grabbing power-ups and other stuff
on the way.

%prep
%setup -q


%build
%configure --disable-debug
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/%{_datadir}/{pixmaps,applications}
install -m 644 data/images/icon.xpm $RPM_BUILD_ROOT/%{_datadir}/pixmaps/supertux.xpm
desktop-file-install \
	--vendor fedora \
	--add-category X-Fedora \
	--dir $RPM_BUILD_ROOT/%{_datadir}/applications %{SOURCE1}
	

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README TODO LEVELDESIGN
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/applications/*
%{_datadir}/pixmaps/*

%changelog
* Thu Sep 01 2005 Steven Pritchard <steve@kspei.com> 0.1.3-1
- Update to 0.1.3

* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.1.2-3
- rebuild on all arches

* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt

* Sun Oct 03 2004 Panu Matilainen <pmatilai@welho.com> 0:0.1.2-1
- update to 0.1.2

* Sat May 15 2004 Panu Matilainen <pmatilai@welho.com> 0:0.1.1-0.fdr.2
- add buildrequires libtiff-devel

* Thu May 13 2004 Panu Matilainen <pmatilai@welho.com> 0:0.1.1-0.fdr.1
- Initial RPM release.