• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# Generate quake-data.spec
3# $1 is version
4# $2 is release
5# $3 is install dir (assumed to be in /var/tmp)
6cat <<EOF
7%define name quake-data
8%define version ${1}
9%define release ${2}
10%define builddir \$RPM_BUILD_DIR/%{name}-%{version}
11Name:		%{name}
12Version:	%{version}
13Release:	%{release}
14Vendor:		id Software
15Packager:	Dave "Zoid" Kirsch <zoid@idsoftware.com>
16URL:		http://www.idsoftware.com/
17Source:		quake-data-%{version}.tar.gz
18BuildArchitectures: noarch
19Group:		Games
20Copyright:	Restricted
21Icon:		quake.gif
22BuildRoot:	/var/tmp/%{name}-%{version}
23Summary:	Quake for Linux
24
25%description
26"Quake is the biggest, baddest, and bloodiest 3-D action game ever 
27conceived" - PC GAMER
28
29"The most important PC game ever" - PC ZONE
30
31""Quake": Bloody Amazing" - USA TODAY
32
33"The Vanguard of a terrifying new level of immersive interactivity" - 
34COMPUTER GAMING WORLD
35
36From the creators of DOOM and DOOM II comes the most intense, technologically
37advanced 3-D experience ever captured on CD ROM.  Features free and fluid
38motion, ambient sound and lighting, and unmatched multiplayer capabilities
39(play with up to 15 others).
40
41This package contians the Quake data files needed to play the game.
42
43%install
44
45%files
46%attr(644,root,root) $3/comexp.txt
47%attr(644,root,root) $3/help.txt
48%attr(644,root,root) $3/licinfo.txt
49%attr(644,root,root) $3/manual.txt
50%attr(644,root,root) $3/readme.txt
51%attr(644,root,root) $3/rlicnse.txt
52%attr(644,root,root) $3/techinfo.txt
53%attr(644,root,root) $3/id1/pak0.pak
54%attr(644,root,root) $3/id1/pak1.pak
55
56%post
57/sbin/ldconfig
58
59EOF
60
61