%define name funguloids %define version 1.06.4 # pre release from http://www.ogre3d.org/phpBB2/viewtopic.php?t=29147&postdays=0&postorder=asc&start=75 (with autotools and OpenAL support) ##%define pre 0 %define distname %{name}-linux-src-1.06-4 %define release %mkrel 5 Summary: Those Funny Funguloids! arcade game Name: %{name} Version: %{version} Release: %{release} Source0: http://www.newbyteorder.net/%{distname}.tar.bz2 Source1: funguloids-linux-1.06-4.tar.bz2 Patch0: funguloids-1.06-0-noCg.patch Patch1: funguloids-1.06-4-gcc43.patch Patch2: funguloids-size_chunks_reverse.patch License: Zlib/libpng Group: Games/Arcade Url: http://funguloids.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: automake1.8 BuildRequires: lua5.1-devel ogre-devel ois-devel BuildRequires: freealut-devel mad-devel oggvorbis-devel openal-devel Requires: ogre %description Never before has collecting mushrooms been this mildly entertaining. At least not in outer space. It's more of a lifestyle than a game, really. Now with graphics and sound, too! %prep %setup -q -n %{name} -a 1 %patch0 -p1 -b .noCg %patch1 -p0 %patch2 -p0 perl -pi -e 's/-llua5\.1/-llua/' configure* autoreconf %configure2_5x --bindir=%{_gamesbindir} %build %make %install rm -rf %{buildroot} %makeinstall_std install %{name}/bin/*.mpk %{buildroot}%{_gamesdatadir}/%{name} install bin/icon/*.png %{buildroot}%{_gamesdatadir}/%{name}/music %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_gamesbindir}/%{name} %{_gamesdatadir}/%{name} %{_datadir}/pixmaps/%{name}.png %{_datadir}/docs/%{name}/* %changelog * Mon Nov 17 2008 Emmanuel Andry <eandry@mandriva.org> 1.06.4-5mdv2009.0 + Revision: 303980 - add support for ogre 1.4.6 and later with P2 - really requires ogre * Tue Aug 26 2008 Emmanuel Andry <eandry@mandriva.org> 1.06.4-4mdv2009.0 + Revision: 276162 - fix typo - drop ogre requires - add P1 from Pardus to fix gcc43 build + Thierry Vignaud <tvignaud@mandriva.com> - rebuild * Tue Mar 11 2008 Erwan Velu <erwan@mandriva.org> 1.06.4-2mdv2008.1 + Revision: 186975 - Fixing requires * Fri Feb 22 2008 Emmanuel Andry <eandry@mandriva.org> 1.06.4-1mdv2008.1 + Revision: 173918 - New version - drop patch1 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed May 02 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.4mdv2008.0 + Revision: 20528 - write ogre config and log files in home directory (patch from upstream forum, #30583) * Tue May 01 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.3mdv2008.0 + Revision: 19976 - really disable Cg (by patching .in file...) * Mon Apr 30 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.2mdv2008.0 + Revision: 19529 - disable Cg plugin * Sun Apr 29 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.1mdv2008.0 + Revision: 19090 - buildrequire mad-devel - buildrequire oggvorbis-devel - buildrequire ois-devel - buildrequire freaalut-devel - buildrequire openal-devel - add mpk data files from src+data tarball - initial funguloids package (from pre 1.06 release with autotools and OpenAL support) - Create funguloids