%define name BomberInstinct %define version 0.8.9 %define release 4mdk Summary: Kill the other players with bombs that throw flames Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Games/Arcade Source: %{name}-%{version}.tar.bz2 Source1: %{name}-48.png.bz2 Source2: %{name}-32.png.bz2 Source3: %{name}-16.png.bz2 URL: http://bomberinstinct.sourceforge.net/index.html BuildRoot: %_tmppath/%{name}-%{version}-%{release}-root BuildRequires: libSDL_mixer-devel >= 1.2.0 %description BomberInstinct is part like Bomberman, because you must kill the other players with bombs that throw flames vertically and horizontally, but it's much more strategical because you have to do with the elements of a maze (arrows, tunnels, teleportations, and many more...), and with the special powers of each character. (multiplayer on one computer only) %prep %setup -q %build %configure --bindir=%{_gamesbindir} \ --datadir=%{_gamesdatadir} %make CXXFLAGS="-DNDEBUG %optflags" %install rm -rf $RPM_BUILD_ROOT %makeinstall_std install -d $RPM_BUILD_ROOT{%{_menudir},%{_liconsdir},%{_iconsdir},%{_miconsdir}} cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/%name ?package(%name): \ needs="x11" \ section="Amusement/Arcade" \ title="%name" \ longtitle="Bomberman clone" \ command="%{_gamesbindir}/bi" \ icon="%name.png" EOF bzcat %{SOURCE1} > $RPM_BUILD_ROOT%{_liconsdir}/%name.png bzcat %{SOURCE2} > $RPM_BUILD_ROOT%{_iconsdir}/%name.png bzcat %{SOURCE3} > $RPM_BUILD_ROOT%{_miconsdir}/%name.png %post %{update_menus} %postun %{clean_menus} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS ChangeLog LISEZMOI LISEZMOI.Nived README README.Nived %doc docs/*.html docs/img scenario.txt %{_gamesbindir}/bi %{_gamesbindir}/nived %{_gamesbindir}/spred %{_gamesdatadir}/BomberInstinct %{_iconsdir}/%name.png %{_iconsdir}/mini/%name.png %{_liconsdir}/%name.png %{_menudir}/%name %changelog * Fri May 13 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.8.9-4mdk - Rebuild * Tue May 11 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.9-3mdk - fix menu section * Wed Jun 25 2003 Götz Waschk <waschk@linux-mandrake.com> 0.8.9-2mdk - remove redundant buildrequires * Fri Dec 27 2002 Götz Waschk <waschk@linux-mandrake.com> 0.8.9-1mdk - add missing binary - fix URL - new version * Tue Nov 12 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.8.8-4mdk - from Per Øyvind Karlsen <peroyvind@delonic.no> : - Removed obsolete Prefix tag - Move stuff to correct places - Cleanups * Fri Aug 16 2002 Götz Waschk <waschk@linux-mandrake.com> 0.8.8-3mdk - rebuild with new vorbis * Mon Apr 29 2002 Götz Waschk <waschk@linux-mandrake.com> 0.8.8-2mdk - rebuild with new alsa * Tue Feb 26 2002 Götz Waschk <waschk@linux-mandrake.com> 0.8.8-1mdk - adapt package for Mandrake