1#!/bin/sh
2# Generate qwcl.x11.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 qwcl.x11
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:		qwcl.x11-%{version}.tar.gz
18Group:		Games
19Copyright:	Restricted
20Icon:		quake.gif
21BuildRoot:	/var/tmp/%{name}-%{version}
22Summary:	X11 QuakeWorld Client
23
24%description
25"Quake is the biggest, baddest, and bloodiest 3-D action game ever 
26conceived" - PC GAMER
27
28"The most important PC game ever" - PC ZONE
29
30""Quake": Bloody Amazing" - USA TODAY
31
32"The Vanguard of a terrifying new level of immersive interactivity" - 
33COMPUTER GAMING WORLD
34
35%install
36
37%files
38%attr(644,root,root) ${3}/readme.qwcl.x11
39%attr(755,root,root) ${3}/qwcl.x11
40EOF
41
42
43