Summary: Kobo Deluxe is an SDL port of Akira Higuchi's game XKobo Name: skobo Version: 0.4 %define pre pre8 Release: 0.%{pre}.13mdk License: GPL Group: Games/Arcade Packager: Pixel <pixel@mandrakesoft.com> URL: http://www.olofson.net/kobodl/ Source0: http://olofson.net/kobodl/download/KoboDeluxe-%{version}%{pre}.tar.bz2 Source5: %{name}-16.png Source6: %{name}-32.png Source7: %{name}-48.png Patch0: KoboDeluxe-0.4pre8-varargs.patch.bz2 BuildRequires: SDL_image-devel BuildRoot: %{_tmppath}/%{name}-root %description Kobo Deluxe is an SDL port of Akira Higuchi's game XKobo. It adds sound, smoother animation, filtered high resolution support, a more intuitive menu driven user interface, joystick support and other features, and runs on most of the major operating systems. Kobo Deluxe uses the Free/Open Source libraries SDL and SDL_image, which can be downloaded (source as well as binaries for various platforms) from http://www.libsdl.org. %prep %setup -q -n KoboDeluxe-%{version}%{pre} %patch0 -p1 -b .varargs %build %configure2_5x --bindir=%{_gamesbindir} %make kobo_scoredir=%{_localstatedir}/games/%{name} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_localstatedir}/games/%{name} %makeinstall_std kobo_scoredir=%{_localstatedir}/games/%{name} mkdir -p %buildroot%_menudir cat > %buildroot%_menudir/%name << EOF ?package(%name):\ needs="x11"\ section="Amusement/Arcade"\ title="Kobo Deluxe"\ longtitle="Arcade video game"\ command="%_gamesbindir/kobodl"\ icon="%name.png" EOF install -D -m644 %SOURCE6 $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png install -D -m644 %SOURCE5 $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png install -D -m644 %SOURCE7 $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png %clean rm -rf $RPM_BUILD_ROOT %post %{update_menus} %postun %{clean_menus} %files %defattr(-,root,root) %doc COPYING* ChangeLog README* TODO %attr(2755, root, games) %{_gamesbindir}/kobodl %attr(775, root, games) %{_localstatedir}/games/%{name} %{_gamesdatadir}/* %{_menudir}/* %{_iconsdir}/*.png %{_miconsdir}/* %{_liconsdir}/* %changelog * Fri Jun 4 2004 <lmontel@n2.mandrakesoft.com> 0.4-0.%{pre}.13mdk - Rebuild * Tue Oct 21 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.4-0.8.12mdk - varargs fixes * Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4-0.pre8.11mdk - fix url - revert patch change from 8mdk, caused a segfault * Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4-0.pre8.10mdk - don't remove the .h file, it's needed!!! * Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4-0.pre8.9mdk - use the right icon in the menu * Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4-0.pre8.8mdk - remove included devel file (for rpmlint) - always apply the patch (for rpmlint) - move menu to the spec file - fix menu entry - remove empty dir - don't obsolete xkobo (by request of rrowan@dandy.net) - configure2_5x macro * Mon Jul 14 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.4-0.pre8.7mdk - don't rm -rf $RPM_BUILD_ROOT in %%prep - use %%{_gamesbindir} * Wed Oct 30 2002 Stew Benedict <sbenedict@mandrakesoft.com> 0.4-0.pre8.6mdk - Patch getargs on PPC build (patch0) * Tue Oct 29 2002 Stefan van der Eijk <stefan@eijk.nu> 0.4-0.pre8.5mdk - BuildRequires: SDL_image-devel * Tue Aug 27 2002 David BAUDENS <baudens@mandrakesoft.com> 0.4-0.pre8.4mdk - Fix icon (menu) * Fri Aug 16 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre8.3mdk - fix permissions for scores dir (thanks to Goetz Waschk) * Thu Aug 15 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre8.2mdk - rebuild for new libstdc++ * Wed Aug 14 2002 Pixel <pixel@mandrakesoft.com> 0.4-0.pre8.1mdk - initial spec