Name: gnujump Version: 1.0.7 Release: 1 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: http://ftp.gnu.org/gnu/%{name}/%{version}/%{name}-%{version}.tar.gz.sig Source2: %{name}.desktop Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gettext BuildRequires: SDL-devel >= 1.2.14-3 BuildRequires: SDL_mixer-devel >= 1.2.11-1 BuildRequires: SDL_image-devel >= 1.2.8-1 Requires: gettext Requires: SDL >= 1.2.14-3 Requires: SDL_mixer >= 1.2.11-1 Requires: SDL_image >= 1.2.8-1 %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 %patch0 %build export CONFIG_SHELL=/usr/bin/ksh export CONFIG_ENV_ARGS=/usr/bin/ksh export CC=xlc_r ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip -X32_64 ${RPM_BUILD_ROOT}%{_bindir}/* || : mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/applications chmod 0644 ${RPM_BUILD_ROOT}%{_datadir}/applications/* cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS ABOUT-NLS COPYING README %{_bindir}/%{name} %{_mandir}/man6/%{name}.6* %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/locale/*/*/* /usr/bin/%{name} %changelog * Fri Apr 20 2012 Michael Perzl - 1.0.7-1 - first version for AIX V5.1 and higher