2 # - docs need to be included in package
3 # - patches propably need love too
5 Summary: Those Funny Funguloids - a nice little piece of entertainment
6 Summary(pl.UTF-8): Those Funny Funguliods - przyjemny, mały przedmiot rozrywki
11 Group: X11/Applications/Games
12 Source0: http://dl.sourceforge.net/funguloids/%{name}-linux-%{version}.tar.bz2
13 # Source0-md5: 45ef7a0da156d7b65627a674fcfb12f0
14 Source1: %{name}.desktop
15 Patch0: %{name}-lua51.patch
16 Patch1: %{name}-path.patch
17 URL: http://funguloids.sourceforge.net/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: freealut-devel
21 BuildRequires: libmad-devel
22 BuildRequires: libogg-devel
23 BuildRequires: libvorbis-devel
24 BuildRequires: lua51-devel
25 BuildRequires: ogre-devel
26 BuildRequires: ois-devel >= 1.0-0.RC1
27 # EA becouse it requires ogre with cg plugin which has EA
28 ExclusiveArch: %{ix86} %{x8664}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 "Those Funny Funguloids!" is a nice little piece of entertainment. You
33 collect mushrooms, bring them back to your home base and profit!
34 That's the basic idea in a nutshell. It has smooth, appealing 3D
35 graphics and nice atmospheric sound effects.
37 Go ahead and try it out - it has sounds too!
39 %description -l pl.UTF-8
40 "Those Funny Funguloids!" (te zabawne Funguloidy) to przyjemny, mały
41 przedmiot rozrywki. Gracz zbiera grzyby i przynosi je do domu. Taka
42 jest podstawowa idea gry w pigułce. Ma płynną, przyciągającą grafikę
43 3D i miłe, atmosferyczne efekty dźwiękowe.
56 --with-lua=%{_includedir}/lua51
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
67 mv -f $RPM_BUILD_ROOT%{_prefix}/games/%{name} $RPM_BUILD_ROOT%{_bindir}
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/%{name}
77 %{_datadir}/games/%{name}
78 %{_pixmapsdir}/%{name}.png
79 %{_desktopdir}/%{name}.desktop