Name: chocolate-doom Version: 1.7.0 Release: %mkrel 1 Group: Games/Arcade Summary: Historically compatible Doom engine License: GPLv2+ URL: http://chocolate-doom.org/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRequires: SDL-devel BuildRequires: SDL_mixer-devel BuildRequires: SDL_net-devel BuildRequires: libsamplerate-devel %description Chocolate Doom is a game engine that aims to accurately reproduce the experience of playing vanilla Doom. It is a conservative, historically accurate Doom source port, which is compatible with the thousands of mods and levels that were made before the Doom source code was released. Rather than flashy new graphics, Chocolate Doom's main features are its accurate reproduction of the game as it was played in the 1990s. The following games can be played: -Doom (including the Ultimate Doom expansion pack) -Doom II -Final Doom -Chex Quest It is also possible to play these expansion packs and commercial games: -The Master Levels for Doom II -Hacx And also various TCs and WAD files: http://www.chocolate-doom.org/wiki/index.php/User_guide %prep %setup -q %build %configure2_5x %make %install %makeinstall_std %__rm -f %{buildroot}%{_datadir}/applications/screensavers/%{name}-screensaver.desktop #These suck, we don't like them %__rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop %__rm -f %{buildroot}%{_datadir}/applications/chocolate-setup.desktop %__cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Chocolate Doom Comment=Conservative Doom source port Exec=chocolate-doom Type=Application Terminal=false Icon=chocolate-doom Categories=Game;ArcadeGame; EOF %__cat > %{buildroot}%{_datadir}/applications/chocolate-setup.desktop << EOF [Desktop Entry] Name=Chocolate Doom Setup Comment=Setup tool for Chocolate Doom Exec=chocolate-setup Type=Application Terminal=false Icon=chocolate-setup Categories=Game;ArcadeGame; EOF %files %doc CMDLINE ChangeLog NEWS NOT-BUGS README README.OPL INSTALL %{_gamesbindir}/%{name} %{_gamesbindir}/chocolate-server %{_gamesbindir}/chocolate-setup %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/chocolate-setup.desktop %{_iconsdir}/%{name}.png %{_iconsdir}/chocolate-setup.png %{_mandir}/man5/%{name}.cfg.5.* %{_mandir}/man5/default.cfg.5.* %{_mandir}/man6/%{name}.6.* %{_mandir}/man6/chocolate-server.6.* %{_mandir}/man6/chocolate-setup.6.* %changelog * Mon Jul 16 2012 dams <dams> 1.7.0-1.mga1 + Revision: 271152 - Create branch for mga 1 update (import mga#6591) * Sun Jul 15 2012 dams <dams> 1.7.0-1.mga3 + Revision: 271021 - new version 1.7.0 - clean specfile - imported package chocolate-doom * Tue Oct 25 2011 Andrey Bondrov <abondrov@mandriva.org> 1.6.0-1mdv2010.1 + Revision: 707101 - imported package chocolate-doom