Ticket #8464: scummvm-tools.spec

File scummvm-tools.spec, 2.1 KB (added by wjp, 15 years ago)

scummvm-tools.spec

Line 
1#------------------------------------------------------------------------------
2# scummvm-tools.spec
3# This SPEC file controls the building of ScummVM Tools RPM packages.
4#------------------------------------------------------------------------------
5
6#------------------------------------------------------------------------------
7# Prologue information
8#------------------------------------------------------------------------------
9Name : scummvm-tools
10Version : 0.8.0
11Release : 1
12Summary : ScummVM-related tools
13Group : Interpreters
14License : GPL
15
16Url : http://www.scummvm.org
17
18Source : %{name}-%{version}.tar.bz2
19BuildRoot : %{_tmppath}/%{name}-%{version}-root
20
21BuildRequires : zlib-devel
22#------------------------------------------------------------------------------
23# Description
24#------------------------------------------------------------------------------
25%description
26Tools for compressing ScummVM datafiles and other related tools.
27
28#------------------------------------------------------------------------------
29# install scripts
30#------------------------------------------------------------------------------
31%prep
32%setup -q -n scummvm-tools-%{version}
33
34%build
35make
36
37%install
38install -m755 -D compress_queen %{buildroot}%{_bindir}/compress_queen
39install -m755 -D compress_{saga,san,scumm_sou,simon,sword1,sword2} %{buildroot}%{_bindir}
40install -m755 -D de{kyra,scumm,sword2} %{buildroot}%{_bindir}
41install -m755 -D extract_{kyra,loom_tg16,mm_nes,scumm_mac,simon1_amiga} %{buildroot}%{_bindir}
42
43%clean
44rm -Rf ${RPM_BUILD_ROOT}
45
46#------------------------------------------------------------------------------
47# Files listing.
48#------------------------------------------------------------------------------
49%files
50%doc README COPYING
51%attr(0755,root,root)%{_bindir}/compress_*
52%attr(0755,root,root)%{_bindir}/de*
53%attr(0755,root,root)%{_bindir}/extract_*
54
55#------------------------------------------------------------------------------
56# Change Log
57#------------------------------------------------------------------------------
58%changelog
59* Sat Mar 26 2005 (0.7.1)
60 - first tools package