Summary: An addictive action-puzzle game involving bouncing penguins Name: icebreaker Version: 1.2.1 Release: 6mdk 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/ Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: XFree86-devel SDL_mixer-devel alsa-lib-devel esound-devel gcc %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 %build %make OPTIMIZE="$RPM_OPT_FLAGS" prefix=%{_prefix} highscoredir=%{_localstatedir}/games datadir=%{_gamesdatadir} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_gamesbindir} mkdir -p $RPM_BUILD_ROOT%{_gamesdatadir}/icebreaker mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/games install -m 644 *.wav *.bmp $RPM_BUILD_ROOT%{_gamesdatadir}/icebreaker install -m 755 icebreaker $RPM_BUILD_ROOT%{_gamesbindir}/icebreaker touch $RPM_BUILD_ROOT%{_localstatedir}/games/icebreaker.scores mkdir -p $RPM_BUILD_ROOT%{_miconsdir} mkdir -p $RPM_BUILD_ROOT%{_iconsdir} mkdir -p $RPM_BUILD_ROOT%{_liconsdir} tar xvfy %{SOURCE2} install -m 0644 icebreaker-16.png $RPM_BUILD_ROOT%{_miconsdir}/icebreaker.png install -m 0644 icebreaker-32.png $RPM_BUILD_ROOT%{_iconsdir}/icebreaker.png install -m 0644 icebreaker-48.png $RPM_BUILD_ROOT%{_liconsdir}/icebreaker.png mkdir -p $RPM_BUILD_ROOT%{_menudir} cat <<EOF >$RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}):command="%{_gamesbindir}/icebreaker" \ icon="icebreaker.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} [ -e %{_localstatedir}/games/icebreaker.scores ] || install -g games -o games -m0664 /dev/null %{_localstatedir}/games/icebreaker.scores %postun %{clean_menus} %files %defattr (-,root,root) %doc README TODO LICENSE ChangeLog %attr(2755,root,games) %{_gamesbindir}/icebreaker %{_gamesdatadir}/icebreaker %attr(664,games,games) %ghost %{_localstatedir}/games/icebreaker.scores %{_menudir}/icebreaker %{_miconsdir}/icebreaker.png %{_iconsdir}/icebreaker.png %{_liconsdir}/icebreaker.png %changelog * 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