]>
Commit | Line | Data |
---|---|---|
4667c586 | 1 | # TODO: |
4667c586 | 2 | # - docs need to be included in package |
4667c586 | 3 | # - patches propably need love too |
4 | # | |
5 | Summary: Those Funny Funguloids - a nice little piece of entertainment | |
2882e766 | 6 | Summary(pl.UTF-8): Those Funny Funguliods - przyjemny, mały przedmiot rozrywki |
4667c586 | 7 | Name: funguloids |
8 | Version: 1.06 | |
9 | Release: 0.1 | |
10 | License: zlib/libpng | |
11 | Group: X11/Applications/Games | |
12 | Source0: http://dl.sourceforge.net/funguloids/%{name}-linux-%{version}.tar.bz2 | |
13 | # Source0-md5: 45ef7a0da156d7b65627a674fcfb12f0 | |
e90823a0 | 14 | Source1: %{name}.desktop |
4667c586 | 15 | Patch0: %{name}-lua51.patch |
16 | Patch1: %{name}-path.patch | |
17 | URL: http://funguloids.sourceforge.net/ | |
2882e766 JB |
18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
4667c586 | 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) | |
30 | ||
31 | %description | |
32 | "Those Funny Funguloids!" is a nice little piece of entertainment. You | |
33 | collect mushrooms, bring them back to your home base and profit! | |
2882e766 | 34 | That's the basic idea in a nutshell. It has smooth, appealing 3D |
4667c586 | 35 | graphics and nice atmospheric sound effects. |
36 | ||
37 | Go ahead and try it out - it has sounds too! | |
38 | ||
2882e766 JB |
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. | |
44 | ||
4667c586 | 45 | %prep |
46 | %setup -q -n %{name} | |
47 | %patch0 -p1 | |
48 | %patch1 -p1 | |
49 | ||
50 | %build | |
51 | %{__aclocal} | |
52 | %{__autoconf} | |
53 | %{__autoheader} | |
54 | %{__automake} | |
55 | %configure \ | |
2882e766 | 56 | --with-lua=%{_includedir}/lua51 |
4667c586 | 57 | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
7b5905ef | 66 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} |
4667c586 | 67 | mv -f $RPM_BUILD_ROOT%{_prefix}/games/%{name} $RPM_BUILD_ROOT%{_bindir} |
2882e766 | 68 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
e90823a0 | 69 | |
4667c586 | 70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
75 | %doc README | |
76 | %attr(755,root,root) %{_bindir}/%{name} | |
77 | %{_datadir}/games/%{name} | |
78 | %{_pixmapsdir}/%{name}.png | |
e90823a0 | 79 | %{_desktopdir}/%{name}.desktop |