Name: scummvm Version: 1.5.0 Release: 1%{?dist} Summary: Interpreter for several adventure games Group: Applications/Emulators License: GPLv2+ URL: http://scummvm.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 ####### Icons extracted from icons/scummvm.ico with the gimp Source1: scummvm-icons.tar.gz Patch0: scummvm-1.2.0-nostrip.patch # add option to NASMFLAGS to generate DWARF debug symbols # https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3439302&group_id=37116 Patch1: scummvm-1.4.0-nasm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL-devel libvorbis-devel flac-devel zlib-devel BuildRequires: fluidsynth-devel desktop-file-utils %ifarch %{ix86} BuildRequires: nasm %endif Requires: hicolor-icon-theme %description ScummVM is an implementation of the SCUMM (Script Creation Utility for Maniac Mansion) engine used in various Lucas Arts games such as Monkey Island and Day of the Tentacle. At this time ScummVM should be considered beta software, and is still under heavy development. Also ScummVM is capable of playing several non-SCUMM games. Some of the adventures ScummVM supports include Adventure Soft's Simon the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword I and II; Flight of the Amazon Queen; Wyrmkeep's Inherit the Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of Kyrandia %prep %setup -q -a 1 %patch0 -p1 -b .nostrip %patch1 -p1 -b .nasm sed -i 's/%{name}.xpm/%{name}/' dists/%{name}.desktop sed -i 's/Application;Game;AdventureGame;/Game;Emulator;/' \ dists/%{name}.desktop %build # No rpm configure because scummvm's configure isn't a real configure and thus # doesn't understand some of the options %%configure passes. This includes # -libdir, so rpmlint's complaints should be ignored. # The disables are so that these don't accidently get build in when rebuilding # on a system with the necesarry deps installed ./configure --prefix=%{_prefix} --bindir=%{_bindir} --mandir=%{_mandir} \ --datadir=%{_datadir}/scummvm --disable-mad --enable-all-engines --enable-release make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Remove doc files we want to include with %%doc rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/ # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ dists/%{name}.desktop install -D -p -m 0644 %{name}-16x16.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png install -D -p -m 0644 %{name}-32x32.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png install -D -p -m 0644 %{name}-48x48.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png install -D -p -m 0644 %{name}-128x128.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/%{name}.png rm $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.xpm %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %postun touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README TODO %{_bindir}/%{name} %{_datadir}/%{name}/ %{_mandir}/man6/%{name}.6* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog * Sat Jul 28 2012 Christian Krause - 1.5.0-1 - new upstream release * Sun Jan 29 2012 Christian Krause - 1.4.1-1 - new upstream release * Thu Nov 17 2011 Christian Krause - 1.4.0-1 - new upstream release - add option to NASMFLAGS to generate DWARF debug symbols * Mon Jul 25 2011 Christian Krause - 1.3.1-1 - new upstream release * Wed May 25 2011 Lucian Langa - 1.3.0-1 - new upstream release * Wed Feb 09 2011 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 13 2010 Lucian Langa - 1.2.1-1 - new upstream release * Fri Oct 15 2010 Lucian Langa - 1.2.0-1 - update nostrip patch - drop patch1 - fixed upstream - new upstream release * Fri Sep 17 2010 Lucian Langa - 1.1.1-2 - update description - add enable-release flag * Mon May 03 2010 Lucian Langa - 1.1.1-1 - new upstream release * Sun Apr 05 2010 Lucian Langa - 1.1.0-1 - new upstream release * Sun Apr 4 2010 Hans de Goede - 1.0.0-2 - When starting lure from the cmdline (as the lure fedora package .desktop file does) prefer the VGA version over the EGA version * Wed Nov 25 2009 Lucian Langa - 1.0.0-1 - drop patch1 - fixed upstream - update patch0 to 1.0.0 release - new upstream release * Sun Jul 26 2009 Fedora Release Engineering - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Apr 28 2009 Lucian Langa - 0.13.1-1 - new upstream release * Mon Mar 09 2009 Lucian Langa - 0.13.0-1 - new upstream release - update patch0 - drop installing uneeded theme files - drop vendor from desktop file; fix icon entry * Thu Feb 26 2009 Lucian Langa - 0.12.0-3 - add patch1 for gcc44 fixes * Wed Feb 25 2009 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Sep 01 2008 Lucian Langa - 0.12.0-1 - new upstream 0.12.0 - drop 0.11.0 patches (fixed upstream) - drop 0.9.0 patch (fixed upstream) * Sat Mar 8 2008 Hans de Goede 0.11.1-2 - Various bugfixes to lure sound support - Enable libfluidsynth support * Sat Mar 1 2008 Hans de Goede 0.11.1-1 - New upstream version 0.11.1 * Tue Feb 19 2008 Fedora Release Engineering - 0.11.0-2 - Autorebuild for GCC 4.3 * Wed Jan 16 2008 Hans de Goede 0.11.0-1 - New upstream version 0.11.0 - Drop no longer needed gcc 4.3 patch * Sat Jan 12 2008 Hans de Goede 0.10.0-3 - Fix compilation with gcc 4.3 * Wed Aug 15 2007 Hans de Goede 0.10.0-2 - Update License tag for new Licensing Guidelines compliance * Thu Jun 21 2007 Matthias Saou 0.10.0-1 - Update to 0.10.0, since Hans is away for a few days ;-) - Install icons the same way as the theme, and preserve timestamps. - Use a downloads.sf.net source URL. - Remove two no longer needed patches (gcc41 and new-flac). * Thu Feb 15 2007 Hans de Goede 0.9.1-3 - Take patches from svn for new flac support and rebuild for new flac - Fix (remove) execstack usage * Sat Nov 11 2006 Hans de Goede 0.9.1-2 - Fix desktop-file so that scummvm doesn't end up in the "Other" menu under gnome (bug 215097) * Sat Nov 4 2006 Hans de Goede 0.9.1-1 - New upstream release 0.9.1 - Prepare for inclusion into FE - Remove mp3 support (the same files are also available in ogg format) - Remove mpeg2 video support (problem, but only for one game I will request upstream to add theora support) * Sun Oct 29 2006 Matthias Saou 0.9.0-1 - Update to 0.9.0. - Spec file cleanup. - Add datadir patch from upstream in order to include themes. * Thu Mar 09 2006 Andreas Bierfert - switch to new release field - drop Epoch * Tue Feb 28 2006 Andreas Bierfert - add dist * Mon Feb 06 2006 Andreas Bierfert 0:0.8.2-0.lvn.1 - version upgrade * Mon Jan 30 2006 Andreas Bierfert 0:0.8.1-0.lvn.1 - version upgrade * Thu Dec 08 2005 Andreas Bierfert 0:0.8.0-0.lvn.2 - fix #693 (desktop entry) - beautify desktop-file-install * Sat Oct 29 2005 Andreas Bierfert 0:0.8.0-0.lvn.1 - version upgrade * Mon Jun 20 2005 Andreas Bierfert 0:0.7.1-0.lvn.3 - add --disable--mt32emu switch to fix build with gcc4 * Mon May 30 2005 Andreas Bierfert 0:0.7.1-0.lvn.2 - fix x86_64 build * Thu Mar 31 2005 Andreas Bierfert 0:0.7.1-0.lvn.1 - Version Upgrade * Tue Feb 22 2005 Andreas Bierfert 0:0.7.0-0.lvn.3 - add nasm <-> x86_64 * Tue Feb 22 2005 Andreas Bierfert 0:0.7.0-0.lvn.2 - fixed #371 (bild on non ix86 - David Woodhouse) * Fri Dec 24 2004 Andreas Bierfert 0:0.7.0-0.lvn.1 - added AUTHORS and TODO * Thu Dec 23 2004 Andreas Bierfert - added off. 0.7.0 sources * Sun Dec 19 2004 Andreas Bierfert - upgrade to 0.7.0 cvs (20041219), prep. for 0.7.0 - added more BuildRequires - if without-alsa is defined actually disable alsa via configure * Thu Nov 25 2004 Andreas Bierfert 0:0.6.1b-0.lvn.1 -upgrade to 0.6.1b * Thu May 27 2004 Andreas Bierfert 0:0.6.0-0.lvn.1 - upgrade to 0.6.0 * Thu Oct 02 2003 Andreas Bierfert 0:0.5.1-0.fdr.6 - removed #--- lines * Tue Sep 16 2003 Andreas Bierfert 0:0.5.1-0.fdr.5 - added ${RPM_OPT_FLAGS} * Mon Sep 08 2003 Andreas Bierfert 0:0.5.1-0.fdr.4 - added libvorbis-devel * Tue Sep 02 2003 Andreas Bierfert 0:0.5.1-0.fdr.3 - upgrade to new minor version * Wed Aug 06 2003 Andreas Bierfert 0:0.5.0-0.fdr.2 - upgrade to new major version * Fri Aug 01 2003 Andreas Bierfert 0:0.4.1-0.fdr.1 - Initial RPM release.