# TODO: # - pl descryptions # - docs need to be included in package # - *.desktop file # - patches propably need love too # Summary: Those Funny Funguloids - a nice little piece of entertainment Name: funguloids Version: 1.06 Release: 0.1 License: zlib/libpng Group: X11/Applications/Games Source0: http://dl.sourceforge.net/funguloids/%{name}-linux-%{version}.tar.bz2 # Source0-md5: 45ef7a0da156d7b65627a674fcfb12f0 Patch0: %{name}-lua51.patch Patch1: %{name}-path.patch URL: http://funguloids.sourceforge.net/ BuildRequires: freealut-devel BuildRequires: libmad-devel BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: lua51-devel BuildRequires: ogre-devel BuildRequires: ois-devel >= 1.0-0.RC1 # EA becouse it requires ogre with cg plugin which has EA ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description "Those Funny Funguloids!" is a nice little piece of entertainment. You collect mushrooms, bring them back to your home base and profit! That's the basic idea in a nutshell. It has smooth, appealing 3d graphics and nice atmospheric sound effects. Go ahead and try it out - it has sounds too! %prep %setup -q -n %{name} %patch0 -p1 %patch1 -p1 %build %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} %configure \ --with-lua=%{_includedir}/lua51 \ %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} mv -f $RPM_BUILD_ROOT%{_prefix}/games/%{name} $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README %attr(755,root,root) %{_bindir}/%{name} %{_datadir}/games/%{name} %{_pixmapsdir}/%{name}.png