3 # - docs need to be included in package
5 # - patches propably need love too
7 Summary: Those Funny Funguloids - a nice little piece of entertainment
12 Group: X11/Applications/Games
13 Source0: http://dl.sourceforge.net/funguloids/%{name}-linux-%{version}.tar.bz2
14 # Source0-md5: 45ef7a0da156d7b65627a674fcfb12f0
15 Patch0: %{name}-lua51.patch
16 Patch1: %{name}-path.patch
17 URL: http://funguloids.sourceforge.net/
18 BuildRequires: freealut-devel
19 BuildRequires: libmad-devel
20 BuildRequires: libogg-devel
21 BuildRequires: libvorbis-devel
22 BuildRequires: lua51-devel
23 BuildRequires: ogre-devel
24 BuildRequires: ois-devel >= 1.0-0.RC1
25 # EA becouse it requires ogre with cg plugin which has EA
26 ExclusiveArch: %{ix86} %{x8664}
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 "Those Funny Funguloids!" is a nice little piece of entertainment. You
31 collect mushrooms, bring them back to your home base and profit!
32 That's the basic idea in a nutshell. It has smooth, appealing 3d
33 graphics and nice atmospheric sound effects.
35 Go ahead and try it out - it has sounds too!
48 --with-lua=%{_includedir}/lua51 \
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_bindir}
59 mv -f $RPM_BUILD_ROOT%{_prefix}/games/%{name} $RPM_BUILD_ROOT%{_bindir}
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/%{name}
68 %{_datadir}/games/%{name}
69 %{_pixmapsdir}/%{name}.png