1#!/bin/sh
2# Generate qwsv.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 qwsv
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:		qwsv-%{version}.tar.gz
18Group:		Games
19Copyright:	Restricted
20Icon:		quake.gif
21BuildRoot:	/var/tmp/%{name}-%{version}
22Summary:	QuakeWorld Server
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.qwsv
49%attr(755,root,root) ${3}/qwsv
50%attr(644,root,root) ${3}/qw/buttons.qc 
51%attr(644,root,root) ${3}/qw/client.qc 
52%attr(644,root,root) ${3}/qw/combat.qc 
53%attr(644,root,root) ${3}/qw/defs.qc 
54%attr(644,root,root) ${3}/qw/doors.qc 
55%attr(644,root,root) ${3}/qw/items.qc 
56%attr(644,root,root) ${3}/qw/misc.qc 
57%attr(644,root,root) ${3}/qw/models.qc 
58%attr(644,root,root) ${3}/qw/plats.qc 
59%attr(644,root,root) ${3}/qw/player.qc 
60%attr(644,root,root) ${3}/qw/progdefs.h 
61%attr(644,root,root) ${3}/qw/progs.src 
62%attr(644,root,root) ${3}/qw/qwprogs.dat 
63%attr(644,root,root) ${3}/qw/server.qc 
64%attr(644,root,root) ${3}/qw/spectate.qc 
65%attr(644,root,root) ${3}/qw/sprites.qc 
66%attr(644,root,root) ${3}/qw/subs.qc 
67%attr(644,root,root) ${3}/qw/triggers.qc 
68%attr(644,root,root) ${3}/qw/weapons.qc 
69%attr(644,root,root) ${3}/qw/world.qc
70%attr(644,root,root) ${3}/qw/skins/fixskins.sh
71EOF
72
73
74