Summary: 3D dungeon crawling game Name: egoboo Version: 2.8.1 Release: %mkrel 11 Epoch: 1 License: GPLv3+ Group: Games/Adventure URL: http://egoboo.sourceforge.net/ #Source0: https://downloads.sourceforge.net/egoboo/%{name}-%{version}.tar.gz #Since upstream gives both source and data in one tarball, we split it between here and egoboo-data package : #wget https://downloads.sourceforge.net/egoboo/%{name}-%{version}.tar.gz #tar xvf %{name}-%{version}.tar.gz #mkdir %{name}-data-%{version} #cd %{name}-%{version} #mv basicdat/ doc/ modules/ egoboo*ico ../%{name}-data-%{version}/ #cd .. #tar Jcvf %{name}-%{version}.tar.xz %{name}-%{version}/ #tar Jcvf %{name}-data-%{version}.tar.xz %{name}-data-%{version}/ Source0: %{name}-%{version}.tar.xz Source1: %{name}.png Patch1: egoboo-2.8.1-mageia-rediff-add-destdir.patch Patch4: egoboo-2.8.0-create-enet-lib-directory.patch Patch6: egoboo-2.8.0-disable-unsupported-gl-extension.patch Patch7: egoboo-2.8.1-mandriva-use-datadir-for-config.patch BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(SDL_mixer) BuildRequires: pkgconfig(SDL_ttf) BuildRequires: pkgconfig(SDL_image) BuildRequires: pkgconfig(glu) BuildRequires: imagemagick BuildRequires: pkgconfig(physfs) Requires: egoboo-data = %{epoch}:%{version} %description Egoboo is an open source project, using OpenGL and SDL(Simple DirectMedia Layer) libraries. It is a 3d dungeon role playing game in the spirit of NetHack. Nice colorful graphics, and detailed models(using Quake2 modeling tools) make this game stand out in the gaming open-source community. %prep %setup -q %patch1 -p1 -b .destdir~ %patch4 -p0 -b .enet_lib~ %patch6 -p1 -b .gl_ext~ %patch7 -p1 perl -pi.add_lm -e 's/(-l)/-lm $1/ if /^LDFLAGS :=/' game/Makefile %build %make_build -C enet OPT='-Wall %{optflags}' %make_build all OPT='-DPREFIX=\"%{_prefix}\" -D_NIX_PREFIX -Wall %{optflags}' %install %make_install mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF [Desktop Entry] Name=Egoboo Comment=A top down graphical (3D) RPG in the spirit of Nethack Exec=%{_gamesbindir}/egoboo Icon=egoboo Terminal=false StartupNotify=false Type=Application Categories=Game;RolePlaying;AdventureGame; EOF mkdir -p %{buildroot}/%{_iconsdir} cp %{SOURCE1} %{buildroot}%{_iconsdir}/%{name}.png %files %doc README.Linux game/change.log %{_gamesbindir}/%{name} %{_gamesdatadir}/%{name}/controls.txt %{_gamesdatadir}/%{name}/setup.txt %{_datadir}/applications/egoboo.desktop %{_iconsdir}/%{name}.png %changelog * Fri Apr 01 2022 umeabot <umeabot> 1:2.8.1-11.mga9 + Revision: 1839610 - Mageia 9 Mass Rebuild * Thu Feb 13 2020 umeabot <umeabot> 1:2.8.1-10.mga8 + Revision: 1512084 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Sun Sep 23 2018 umeabot <umeabot> 1:2.8.1-9.mga7 + Revision: 1297580 - Mageia 7 Mass Rebuild * Mon Feb 08 2016 umeabot <umeabot> 1:2.8.1-8.mga6 + Revision: 947359 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1:2.8.1-7.mga5 + Revision: 746150 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1:2.8.1-6.mga5 + Revision: 678973 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 1:2.8.1-5.mga4 + Revision: 504066 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 1:2.8.1-4.mga3 + Revision: 349540 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Feb 14 2012 zezinho <zezinho> 1:2.8.1-3.mga2 + Revision: 208977 - fix paths * Sat Jan 21 2012 shlomif <shlomif> 1:2.8.1-2.mga2 + Revision: 199233 - Fix regressions in gcc/ld and in ImageMagick's convert. Add "-lm" and handle the multi-.png output of ImageMagick's .ico->.png conversion. + zezinho <zezinho> - rediff patch add-destdir - new version * Sat Jun 11 2011 zezinho <zezinho> 1:2.8.0-1.mga2 + Revision: 103600 - imported package egoboo * Sat Oct 02 2010 Per Ãyvind Karlsen <peroyvind@mandriva.org> 1:2.8.0-2mdv2011.0 + Revision: 582610 - fix infinite loop which makes the game freeze when selecting player (P8) * Thu Sep 23 2010 Per Ãyvind Karlsen <peroyvind@mandriva.org> 1:2.8.0-1mdv2011.0 + Revision: 580671 - split out data from tarball - add DESTDIR support for install (P5) - disable unsupported GL extension (P6) - use datadir for non-user configurations (P7) - compile with %%{optflags} - add missing source files to build target (P3) - create missing 'enet/lib' directory (P4) - add missing 'physfs-devel' buildrequires + Zombie Ryushu <ryushu@mandriva.org> - Attempt to upgrade to 2.8.0 - Attempt to upgrade to 2.8.0 * Sat May 16 2009 Samuel Verschelde <stormi@mandriva.org> 1:2.7.7-2mdv2010.0 + Revision: 376436 - fix str fmt - add to AdventureGame; category * Sun Nov 30 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1:2.7.7-1mdv2009.1 + Revision: 308497 - add buildrequires on SDL_image-devel - fix requires for egoboo-data - sync sources - update to new version 2.7.7 - fix urls - move icons to fd.o compliant directory - spec file clean * Fri Aug 01 2008 Funda Wang <fwang@mandriva.org> 1:2.6.4-1mdv2009.0 + Revision: 259618 - clearify license - New version 2.6.4 * Tue Jul 15 2008 Funda Wang <fwang@mandriva.org> 1:2.6.3b-1mdv2009.0 + Revision: 235743 - New version 2.6.3b - drop debian patch - New version 2.6.3b + Pixel <pixel@mandriva.com> - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Sun Sep 16 2007 Emmanuel Andry <eandry@mandriva.org> 2.22-9mdv2008.0 + Revision: 88695 - drop old menu - uncompress patch - Import egoboo * Tue Sep 12 2006 Emmanuel Andry <eandry@mandriva.org> 2.22-8mdv2007.0 - add buildrequires ImageMagick * Sun Sep 10 2006 Emmanuel Andry <eandry@mandriva.org> 2.22-7mdv2007.0 - buildrequires desktop-file-utils * Mon Aug 28 2006 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 2.22-6mdv2007.0 - sync source, patches, etc. with debian as upstream seems dead - split package - xdg menu - fix file encoding with 'dos2unix' - cleanups * Fri May 06 2005 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 2.22-5mdk - lib64 fix - %%mkrel - fix summary-ended-with-dot * Fri Aug 20 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 2.22-4mdk - rebuild - fix summary macro to avoid possible conflicts if we were to build debug package - fix buildrequires (lib64..) - don't bzip2 icons in src.rpm * Sun Jul 20 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 2.22-3mdk - don't use soundwrapper (David Walser) * Tue Mar 11 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 2.22-2mdk - Added libMesaGLU-devel to BuildRequires * Thu Nov 19 2002 Per Ãyvind Karlsen <peroyvind@sintrax.net> 2.22-1mdk - First mdk-release