%define name luola %define version 0.9.7 %define release 4mdk %define summary Fly a small V shaped ship in a 2D arcade game Summary: %{summary} Name: %{name} Version: %{version} Release: %{release} Source0: http://www.saunalahti.fi/~laakkon1/linux/luola/bin/%{name}-%{version}.tar.bz2 License: GPL Group: Games/Arcade URL: http://www.saunalahti.fi/~laakkon1/linux/luola/index.php Packager: Guillaume Cottenceau <gc@mandrakesoft.com> BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel %description Luola is a 2D arcade game where you fly a small V shaped ship in different kinds of levels. It's genre "Luolalentely" (Cave-flying) is (or was) very popular here in Finland. Though cavern-flying games are not originally Finnish, nowdays most of them are. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure %{_target_cpu}-mandrake-linux --prefix=%{_prefix} make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-, root, root) %doc README COPYING AUTHORS %{_bindir}/* %{_datadir}/%{name} %changelog * Thu Sep 05 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.9.7-4mdk - rebuild * Sun Jul 21 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.9.7-3mdk - recompile against new vorbis stuff * Mon Apr 29 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.9.7-2mdk - rebuild for new alsa * Thu Mar 14 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.9.7-1mdk - first mdk package