Summary: An addictive action-puzzle game involving bouncing penguins Name: icebreaker Version: 1.2.1 Release: 8mdk Epoch: 1 License: GPL Group: Games/Arcade Source: http://www.mattdm.org/icebreaker/1.2.x/%{name}-%{version}.tar.bz2 Source2: %{name}-png.tar.bz2 URL: http://www.mattdm.org/icebreaker/ BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: XFree86-devel SDL_mixer-devel alsa-lib-devel esound-devel gcc PreReq: rpm-helper %description So, uh, there's a bunch of penguins on an iceberg in Antarctica. You have been selected to catch them so they can be shipped to Finland, where they are essential to a secret plot for world domination. %prep %setup -q -a2 %build %make OPTIMIZE="$RPM_OPT_FLAGS" prefix=%{_prefix} highscoredir=%{_localstatedir}/games datadir=%{_gamesdatadir} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_gamesdatadir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/games install -m 644 *.wav *.bmp $RPM_BUILD_ROOT%{_gamesdatadir}/%{name} install -m 755 icebreaker -D $RPM_BUILD_ROOT%{_gamesbindir}/%{name} touch $RPM_BUILD_ROOT%{_localstatedir}/games/%{name}.scores install -m 0644 %{name}-16.png -D $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png install -m 0644 %{name}-32.png -D $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png install -m 0644 %{name}-48.png -D $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png mkdir -p $RPM_BUILD_ROOT%{_menudir} cat <<EOF >$RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}):command="%{_gamesbindir}/%{name}" \ icon="%{name}.png" \ needs="x11" \ section="Amusement/Arcade" \ title="IceBreaker" \ longtitle="Action-puzzle game involving bouncing penguins" EOF %clean rm -rf $RPM_BUILD_ROOT %post %{update_menus} %create_ghostfile %{_localstatedir}/games/%{name}.scores games games 644 %postun %{clean_menus} %files %defattr (-,root,root) %doc README TODO LICENSE ChangeLog %attr(2755,root,games) %{_gamesbindir}/%{name} %{_gamesdatadir}/%{name} %attr(664,games,games) %ghost %{_localstatedir}/games/%{name}.scores %{_menudir}/%{name} %{_miconsdir}/%{name}.png %{_iconsdir}/%{name}.png %{_liconsdir}/%{name}.png %changelog * Mon Aug 04 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.2.1-8mdk - fix menuitem which prevented update-menus working properly (anyone having this one installed have probably wondered where alot of their menu entries went..) - extract S2 in %%prep * Tue Jul 22 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.2.1-7mdk - rebuild - drop Prefix tag - cosmetics - macroize - prereq on rpm-helper * Mon Aug 12 2002 Daouda LO <daouda@mandrakesoft.com> 1.2.1-6mdk - rebuild for new vorbis stuffs - xpm2png icons * Mon Apr 29 2002 Pixel <pixel@mandrakesoft.com> 1.2.1-5mdk - rebuild for new libasound (alsa) * Sat Jan 19 2002 Stefan van der Eijk <stefan@eijk.nu. 1.2.1-4mdk - BuildRequires * Wed Nov 07 2001 François Pons <fpons@mandrakesoft.com> 1.2.1-3mdk - updated source tag. - build release. * Thu Sep 13 2001 Stefan van der Eijk <stefan@eijk.nu> 1.2.1-2mdk - BuildRequires: libSDL-devel * Wed Aug 29 2001 François Pons <fpons@mandrakesoft.com> 1.2.1-1mdk - 1.2.1. - updated epoch for new version numbering scheme. - no more need of patch since Makefile has evoluting. * Fri Jul 20 2001 François Pons <fpons@mandrakesoft.com> 1.09-1mdk - 1.09. * Tue Jul 03 2001 François Pons <fpons@mandrakesoft.com> 1.0-5mdk - added touch for scores files. * Fri May 18 2001 François Pons <fpons@mandrakesoft.com> 1.0-4mdk - update to use libSDL 1.2. * Tue Dec 19 2000 François Pons <fpons@mandrakesoft.com> 1.0-3mdk - updated build requires with new library name. * Wed Nov 15 2000 David BAUDENS <baudens@mandrakesoft.com> 1.0-2mdk - BuildRequires: SDL_mixer-devel - Fix %%postun * Fri Oct 27 2000 François Pons <fpons@mandrakesoft.com> 1.0-1mdk - added menu entries. - initial release. * Thu Oct 5 2000 Matthew Miller <mattdm@mattdm.org> - looks good to me. one-point-oh * Tue Oct 3 2000 Matthew Miller <mattdm@mattdm.org> - updated to 0.995 - better make process * Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org> - updated to 0.99 :) * Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org> - updated to 0.98 * Fri Sep 15 2000 Matthew Miller <mattdm@mattdm.org> - first package