Name: scummvm-tools Version: 0.12.0 Release: 3%{?dist} Summary: Tools for scummVM / S.C.U.M.M scripting language Group: Development/Tools License: GPLv2+ URL: http://scummvm.sourceforge.net Source0: http://dl.sf.net/scummvm/%{name}-%{version}.tar.bz2 Source1: %{name}.desktop #patch submited upstream https://sourceforge.net/tracker2/?func=detail&aid=2174188&group_id=37116&atid=418822 Patch0: scummvm-tools-0.12.0-makeinstalltarget.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: wxGTK-devel, libvorbis-devel, flac-devel, desktop-file-utils BuildRequires: zlib-devel Requires: scummvm >= %{version} %description This is a collection of various tools that may be useful to use in conjunction with ScummVM. Please note that although a tool may support a feature, certain ScummVM versions may not. ScummVM 0.6.x does not support FLAC audio, for example. Many games package together all their game data in a few big archive files. The following tools can be used to extract these archives, and in some cases are needed to make certain game versions usable with ScummVM. The following tools can also be used to analyze the game scripts (controlling the behavior of certain scenes and actors in a game). These tools are most useful to developers. %prep %setup -q -n %{name}-%{version} %patch0 -p1 -b .makeinstall sed -i -e "s/-O //g" -e "s/-fno-exceptions//g" Makefile %build CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS make %{?_smp_mflags} %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} make install DESTDIR=${RPM_BUILD_ROOT}%{_bindir} (cd ${RPM_BUILD_ROOT}%{_bindir} ; for i in * ; do mv $i scummvm-$i ; done) mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE1} %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root,-) %doc COPYING README TODO %{_bindir}/* %{_datadir}/applications/%{name}.desktop %changelog * Fri Oct 29 2008 Lucian Langa - 0.12.0-3 - prevent fedora optflags being overwritten * Fri Oct 17 2008 Lucian Langa - 0.12.0-2 - update license tag - fix CXXFLAGS - update description * Thu Oct 16 2008 Lucian Langa - 0.12.0-1 - New upstream release 0.12.0 - Update license - Add desktop entry - Prepare for inclusion into Fedora * Sat Oct 29 2005 Andreas Bierfert - 0:0.8.0-0.lvn.1 - Version upgrade * Fri Dec 31 2004 Dams - 0:0.7.0-0.lvn.3 - Missing zlib-devel BuildRequires * Fri Dec 31 2004 Dams - 0:0.7.0-0.lvn.2 - Patch for an 'install' target in Makefile - Smarter way to rename all binaries * Fri Dec 24 2004 Andreas Bierfert - 0:0.7.0-0.lvn.1 - upgrade to 0.7.0 - all tools have scummvm- prefix now so they can easily be found * Thu Nov 25 2004 Andreas Bierfert - 0:0.6.1-0.lvn.1 - upgrade to 0.6.1 - adjust spec to new tools naming scheme.. * 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.0-0.fdr.5 - removed #--- lines * Tue Sep 16 2003 Andreas Bierfert - 0:0.5.0-0.fdr.4 - added ${RPM_OPT_FLAGS} * Tue Sep 02 2003 Andreas Bierfert - 0:0.5.0-0.fdr.3 - changed Requires entry... * Wed Aug 06 2003 Andreas Bierfert - 0:0.5.0-0.fdr.2 - upgrade to new version * Fri Aug 01 2003 Andreas Bierfert - 0:0.4.1-0.fdr.1 - Initial RPM release.