2005-10-11 20:41:10 +00:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# scummvm-tools.spec
|
|
|
|
# This SPEC file controls the building of ScummVM Tools RPM packages.
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Prologue information
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
Name : scummvm-tools
|
2009-08-31 12:16:00 +00:00
|
|
|
Version : 1.0.0rc1
|
2005-10-11 20:41:10 +00:00
|
|
|
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
|
2008-08-25 19:22:16 +00:00
|
|
|
BuildRequires : wxGTK-devel
|
2005-10-11 20:41:10 +00:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Description
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
%description
|
|
|
|
Tools for compressing ScummVM datafiles and other related tools.
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# install scripts
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
%prep
|
|
|
|
%setup -q -n scummvm-tools-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
2009-02-11 17:33:39 +00:00
|
|
|
echo -e " This script is installed as\n "%{_datadir}/scummvm-tools/convert_dxa.sh.sample >> README
|
2005-10-11 20:41:10 +00:00
|
|
|
|
|
|
|
%install
|
2008-08-25 19:22:16 +00:00
|
|
|
install -m755 -d %{buildroot}%{_bindir}
|
2009-08-31 12:16:00 +00:00
|
|
|
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}
|
2008-08-24 22:09:55 +00:00
|
|
|
install -m755 -D encode_dxa %{buildroot}%{_bindir}/encode_dxa
|
2009-08-31 12:16:00 +00:00
|
|
|
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}
|
2007-06-09 22:05:45 +00:00
|
|
|
install -m644 -D convert_dxa.sh %{buildroot}%{_datadir}/scummvm-tools/convert_dxa.sh.sample
|
2005-10-11 20:41:10 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -Rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
2008-01-27 19:47:41 +00:00
|
|
|
# Files listing.
|
2005-10-11 20:41:10 +00:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
%files
|
|
|
|
%doc README COPYING
|
|
|
|
%attr(0755,root,root)%{_bindir}/compress_*
|
|
|
|
%attr(0755,root,root)%{_bindir}/de*
|
|
|
|
%attr(0755,root,root)%{_bindir}/extract_*
|
2006-06-21 21:04:12 +00:00
|
|
|
%attr(0755,root,root)%{_bindir}/encode_dxa
|
2007-06-09 22:05:45 +00:00
|
|
|
%attr(0644,root,root)%{_datadir}/scummvm-tools/convert_dxa.sh.sample
|
2005-10-11 20:41:10 +00:00
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Change Log
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
%changelog
|
|
|
|
* Sat Mar 26 2005 (0.7.1)
|
|
|
|
- first tools package
|