42 lines
943 B
Bash
42 lines
943 B
Bash
#!/bin/sh
|
|
# Generate qwcl.x11.spec
|
|
# $1 is version
|
|
# $2 is release
|
|
# $3 is install dir (assumed to be in /var/tmp)
|
|
cat <<EOF
|
|
%define name qwcl.x11
|
|
%define version ${1}
|
|
%define release ${2}
|
|
%define builddir \$RPM_BUILD_DIR/%{name}-%{version}
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Vendor: id Software
|
|
Packager: Dave "Zoid" Kirsch <zoid@idsoftware.com>
|
|
URL: http://www.idsoftware.com/
|
|
Source: qwcl.x11-%{version}.tar.gz
|
|
Group: Games
|
|
Copyright: Restricted
|
|
Icon: quake.gif
|
|
BuildRoot: /var/tmp/%{name}-%{version}
|
|
Summary: X11 QuakeWorld Client
|
|
|
|
%description
|
|
"Quake is the biggest, baddest, and bloodiest 3-D action game ever
|
|
conceived" - PC GAMER
|
|
|
|
"The most important PC game ever" - PC ZONE
|
|
|
|
""Quake": Bloody Amazing" - USA TODAY
|
|
|
|
"The Vanguard of a terrifying new level of immersive interactivity" -
|
|
COMPUTER GAMING WORLD
|
|
|
|
%install
|
|
|
|
%files
|
|
%attr(644,root,root) ${3}/readme.qwcl.x11
|
|
%attr(755,root,root) ${3}/qwcl.x11
|
|
EOF
|
|
|
|
|