]>
Commit | Line | Data |
---|---|---|
4667c586 | 1 | # TODO: |
2 | # - pl descryptions | |
3 | # - docs need to be included in package | |
4 | # - *.desktop file | |
5 | # - patches propably need love too | |
6 | # | |
7 | Summary: Those Funny Funguloids - a nice little piece of entertainment | |
8 | Name: funguloids | |
9 | Version: 1.06 | |
10 | Release: 0.1 | |
11 | License: zlib/libpng | |
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) | |
28 | ||
29 | %description | |
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. | |
34 | ||
35 | Go ahead and try it out - it has sounds too! | |
36 | ||
37 | %prep | |
38 | %setup -q -n %{name} | |
39 | %patch0 -p1 | |
40 | %patch1 -p1 | |
41 | ||
42 | %build | |
43 | %{__aclocal} | |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | %configure \ | |
48 | --with-lua=%{_includedir}/lua51 \ | |
49 | ||
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | install -d $RPM_BUILD_ROOT%{_bindir} | |
59 | mv -f $RPM_BUILD_ROOT%{_prefix}/games/%{name} $RPM_BUILD_ROOT%{_bindir} | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc README | |
67 | %attr(755,root,root) %{_bindir}/%{name} | |
68 | %{_datadir}/games/%{name} | |
69 | %{_pixmapsdir}/%{name}.png |