Name: gnujump Version: 1.0.6 Release: 2%{?dist} Summary: A jumping game which is a clone of xjump Group: Amusements/Games License: GPLv3+ URL: http://gnu.org/software/%{name} Source0: http://ftp.gnu.org/gnu/%{name}/%{version}/%{name}-%{version}.tar.gz Source1: %{name}.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL-devel >= 1.2, SDL_mixer-devel, SDL_image-devel BuildRequires: desktop-file-utils %description GNUjump is a clone of the simple yet addictive game Xjump, adding new features like multiplaying, unlimited FPS, smooth floor falling, themable graphics, sounds,replays, etc. The goal in this game is to jump to the next floor trying not to fall down. As you go upper in the Falling Tower the floors will fall faster. Try to survive longer get upper than anyone. It might seem too simple but once you've tried you'll realize how addictive this is. %prep %setup -q %build %configure make %{?_smp_mflags} %check make check %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ABOUT-NLS COPYING README %{_bindir}/%{name} %{_datadir}/%{name}/ %{_mandir}/man6/%{name}.6* %{_datadir}/applications/%{name}.desktop %changelog * Sun Jul 12 2009 Vivek Shah 1.0.6-2 - Removed vendor tag from desktop-file-install - Added ownership for unowned directories - Fixed license to GPLv3+ * Sat Jul 4 2009 Vivek Shah 1.0.6-1 - Updated to new upstream version - Updated URL for consistency with name macro - Added subcategory in menu entry in desktop file * Sat Aug 30 2008 Vivek Shah 1.0.5-1 - Added desktop file and entry - Initial Package