Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 2583e6f287731e75c7c919b0268b9ea7 > files > 5

funguloids-1.06-0.pre0.4mdv2008.0.src.rpm

%define name funguloids
%define version 1.06
# pre release from http://www.ogre3d.org/phpBB2/viewtopic.php?t=29147&postdays=0&postorder=asc&start=75 (with autotools and OpenAL support)
%define pre 0
%define distname %{name}-%{version}-%{pre}
%define release %mkrel 0.pre%{pre}.4

Summary: Those Funny Funguloids! arcade game
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.newbyteorder.net/%{distname}.tar.bz2
Source1: funguloids-linux-1.05f.tar.bz2
Patch0:	 funguloids-1.06-0-noCg.patch
# rediffed from http://www.ogre3d.org/phpBB2/viewtopic.php?p=218467#218467
Patch1:	 funguloids-1.06-0-root.patch
License: Zlib/libpng
Group: Games/Arcade
Url: http://funguloids.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: automake1.8
BuildRequires: lua5.1-devel ogre-devel ois-devel
BuildRequires: freealut-devel mad-devel oggvorbis-devel openal-devel

%description
Never before has collecting mushrooms been this mildly
entertaining. At least not in outer space. It's more of a lifestyle
than a game, really. Now with graphics and sound, too!

%prep
%setup -q -n %{distname} -a 1
%patch0 -p1 -b .noCg
%patch1 -p1 -b .root
perl -pi -e 's/-llua5\.1/-llua/' configure*
autoreconf
%configure2_5x --prefix=%{_datadir} --bindir=%{_gamesbindir}

%build
%make

%install
rm -rf %{buildroot}
%makeinstall_std
install %{name}/bin/*.mpk %{buildroot}%{_gamesdatadir}/%{name}
install bin/icon/*.png %{buildroot}%{_gamesdatadir}/%{name}/music

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_gamesbindir}/%{name}.sh
%{_gamesdatadir}/%{name}


%changelog
* Wed May 02 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.4mdv2008.0
+ Revision: 20528
- write ogre config and log files in home directory (patch from upstream forum, #30583)

* Tue May 01 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.3mdv2008.0
+ Revision: 19976
- really disable Cg (by patching .in file...)

* Mon Apr 30 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.2mdv2008.0
+ Revision: 19529
- disable Cg plugin

* Sun Apr 29 2007 Olivier Blin <oblin@mandriva.com> 1.06-0.pre0.1mdv2008.0
+ Revision: 19090
- buildrequire mad-devel
- buildrequire oggvorbis-devel
- buildrequire ois-devel
- buildrequire freaalut-devel
- buildrequire openal-devel
- add mpk data files from src+data tarball
- initial funguloids package (from pre 1.06 release with autotools and OpenAL support)
- Create funguloids