aboutsummaryrefslogtreecommitdiff
path: root/dists/redhat
diff options
context:
space:
mode:
authorMax Horn2010-04-01 08:31:19 +0000
committerMax Horn2010-04-01 08:31:19 +0000
commit77b25966a06fc690673ba76590faf5a75e19c452 (patch)
treea8ef39f5dad7cf0205733bf4a344b61bffac0dd4 /dists/redhat
parent660950dadd3e6baacc0722fd17276b56651eaf65 (diff)
downloadscummvm-rg350-77b25966a06fc690673ba76590faf5a75e19c452.tar.gz
scummvm-rg350-77b25966a06fc690673ba76590faf5a75e19c452.tar.bz2
scummvm-rg350-77b25966a06fc690673ba76590faf5a75e19c452.zip
Add dists/redhat/scummvm-tools.spec.in, and add it to tools/update-version.pl
This is not quite perfect because in principle the ScummVM Tools version might differ from the ScummVM version. But this way we are at least reminded during a release that we may have to adjust this. A potentially better approach would be to move scummvm-tools.spec to the tools SVN module, and adding a similar update-version.pl script there. svn-id: r48454
Diffstat (limited to 'dists/redhat')
-rw-r--r--dists/redhat/scummvm-tools.spec2
-rw-r--r--dists/redhat/scummvm-tools.spec.in66
2 files changed, 67 insertions, 1 deletions
diff --git a/dists/redhat/scummvm-tools.spec b/dists/redhat/scummvm-tools.spec
index dde5650efb..150ba800f0 100644
--- a/dists/redhat/scummvm-tools.spec
+++ b/dists/redhat/scummvm-tools.spec
@@ -7,7 +7,7 @@
# Prologue information
#------------------------------------------------------------------------------
Name : scummvm-tools
-Version : 1.0.0rc1
+Version : 1.2.0svn
Release : 1
Summary : ScummVM-related tools
Group : Interpreters
diff --git a/dists/redhat/scummvm-tools.spec.in b/dists/redhat/scummvm-tools.spec.in
new file mode 100644
index 0000000000..6a774305d4
--- /dev/null
+++ b/dists/redhat/scummvm-tools.spec.in
@@ -0,0 +1,66 @@
+#------------------------------------------------------------------------------
+# scummvm-tools.spec
+# This SPEC file controls the building of ScummVM Tools RPM packages.
+#------------------------------------------------------------------------------
+
+#------------------------------------------------------------------------------
+# Prologue information
+#------------------------------------------------------------------------------
+Name : scummvm-tools
+Version : @VERSION@
+Release : 1
+Summary : ScummVM-related tools
+Group : Interpreters
+License : GPL
+
+Url : http://www.scummvm.org
+
+Source : %{name}-%{version}.tar.bz2
+BuildRoot : %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires : zlib-devel
+BuildRequires : wxGTK-devel
+#------------------------------------------------------------------------------
+# Description
+#------------------------------------------------------------------------------
+%description
+Tools for compressing ScummVM datafiles and other related tools.
+
+#------------------------------------------------------------------------------
+# install scripts
+#------------------------------------------------------------------------------
+%prep
+%setup -q -n scummvm-tools-%{version}
+
+%build
+make
+echo -e " This script is installed as\n "%{_datadir}/scummvm-tools/convert_dxa.sh.sample >> README
+
+%install
+install -m755 -d %{buildroot}%{_bindir}
+install -m755 -D compress_{agos,gob,kyra,queen,saga,scumm_bun,scumm_san,scumm_sou,sword1,sword2,tinsel,touche,tucker} %{buildroot}%{_bindir}
+install -m755 -D de{cine,gob,kyra,scumm,sword2} %{buildroot}%{_bindir}
+install -m755 -D encode_dxa %{buildroot}%{_bindir}/encode_dxa
+install -m755 -D extract_{agos,cine,gob_stk,kyra,loom_tg16,mm_apple,mm_c64,mm_nes,parallaction,scumm_mac,t7g_mac,zak_c64} %{buildroot}%{_bindir}
+install -m644 -D convert_dxa.sh %{buildroot}%{_datadir}/scummvm-tools/convert_dxa.sh.sample
+
+%clean
+rm -Rf ${RPM_BUILD_ROOT}
+
+#------------------------------------------------------------------------------
+# Files listing.
+#------------------------------------------------------------------------------
+%files
+%doc README COPYING
+%attr(0755,root,root)%{_bindir}/compress_*
+%attr(0755,root,root)%{_bindir}/de*
+%attr(0755,root,root)%{_bindir}/extract_*
+%attr(0755,root,root)%{_bindir}/encode_dxa
+%attr(0644,root,root)%{_datadir}/scummvm-tools/convert_dxa.sh.sample
+
+#------------------------------------------------------------------------------
+# Change Log
+#------------------------------------------------------------------------------
+%changelog
+* Sat Mar 26 2005 (0.7.1)
+ - first tools package