1#!/bin/sh
2# Generate qwcl.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
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-%{version}.tar.gz
18Group:		Games
19Copyright:	Restricted
20Icon:		quake.gif
21BuildRoot:	/var/tmp/%{name}-%{version}
22Summary:	QuakeWorld Client
23
24%description
25QuakeWorld is an Internet multi-player specific version of Quake. While the 
26original version of Quake can be played over the Internet, many users modem 
27users - the majority of players, had less than satisfactory play. Symptoms 
28like excessive lag - actions actually happening much later than you did them; 
29packet loss - the game would freeze and resume several seconds later; and 
30various other difficulties plagued users.
31
32After realizing how many people played Quake on the internet, and how many 
33wanted to, but couldn't due to the play being unsatisfactory, John Carmack 
34of id Software decided to create a version of Quake that was optimized for 
35the average modem Internet player. This Internet specific version does only 
36one thing, play deathmatch games over a TCP/IP network such as the Internet. 
37It has no support for solo play, and you can't do anything with out connecting 
38to a special server.
39
40Now in it's second generation, QuakeWorld has been sculpted by countless 
41hours of user feedback and tweaking to provide the best multi-player 
42experience that can be had from the equipment the average gamer will have. 
43All that is required to use QuakeWorld is registered Quake.
44
45%install
46
47%files
48%attr(644,root,root) ${3}/README.qwcl
49%attr(4755,root,root) ${3}/qwcl
50%attr(4755,root,root) ${3}/glqwcl
51%attr(4755,root,root) ${3}/glqwcl.glx
52%attr(755,root,root) ${3}/glqwcl.3dfxgl
53%attr(755,root,root) ${3}/lib3dfxgl.so
54%attr(755,root,root) ${3}/libMesaGL.so.2.6
55%attr(755,root,root) ${3}/libMesaGL.so.2
56%attr(755,root,root) ${3}/libMesaGL.so
57%attr(755,root,root) ${3}/libGL.so
58%attr(755,root,root) ${3}/qwcl.x11
59%attr(755,root,root) ${3}/qw/skins/fixskins.sh
60EOF
61
62
63