From 767aee99f0eea50e7ffa26fffff49c563d587924 Mon Sep 17 00:00:00 2001 From: Lucian Langa Date: Oct 30 2008 06:08:09 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..ecd1fc6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +scummvm-tools-0.12.0.tar.bz2 diff --git a/scummvm-tools-0.12.0-makeinstalltarget.patch b/scummvm-tools-0.12.0-makeinstalltarget.patch new file mode 100644 index 0000000..7da3525 --- /dev/null +++ b/scummvm-tools-0.12.0-makeinstalltarget.patch @@ -0,0 +1,20 @@ +--- scummvm-tools-0.12.0/Makefile.orig 2008-08-26 02:23:03.000000000 +0300 ++++ scummvm-tools-0.12.0/Makefile 2008-10-16 19:46:13.000000000 +0300 +@@ -87,6 +87,7 @@ + extract_gob_stk$(EXEEXT) \ + tools_gui$(EXEEXT) + ++ + UTILS := \ + utils/adpcm.o \ + utils/audiostream.o \ +@@ -97,6 +98,9 @@ + + all: $(TARGETS) + ++install: $(TARGETS) ++ for i in $^ ; do install -p -m 0755 $$i $(DESTDIR) ; done ++ + bundle_name = ScummVM\ Tools\ GUI.app + bundle: $(TARGETS) + mkdir -p $(bundle_name) diff --git a/scummvm-tools.desktop b/scummvm-tools.desktop new file mode 100644 index 0000000..16c9a20 --- /dev/null +++ b/scummvm-tools.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=ScummVM Tools +GenericName=Tools for ScummVM +Comment=Tools for ScummVM / S.C.U.M.M scripting language +Exec=scummvm-tools_gui +TryExec=scummvm-tools_gui +Terminal=false +Type=Application +Categories=Utility; +Icon=scummvm diff --git a/scummvm-tools.spec b/scummvm-tools.spec new file mode 100644 index 0000000..0290b39 --- /dev/null +++ b/scummvm-tools.spec @@ -0,0 +1,119 @@ +Name: scummvm-tools +Version: 0.12.0 +Release: 5%{?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 30 2008 Lucian Langa - 0.12.0-5 +- add desktop file + +* Fri Oct 30 2008 Lucian Langa - 0.12.0-4 +- use bz2 source + +* 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. diff --git a/sources b/sources index e69de29..e8ccd96 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +af927a7cb59952ed869628250a916ab1 scummvm-tools-0.12.0.tar.bz2