shithub: choc

Download patch

ref: 2933ccf02c2d0f34cf018599cacec5121e6ca595
parent: a853a1ef6298dbd7b99d486a0799d5df45181a56
author: Simon Howard <[email protected]>
date: Sat Sep 21 00:37:08 EDT 2013

Update rpm.spec to build Strife package.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2673

--- a/rpm.spec.in
+++ b/rpm.spec.in
@@ -28,6 +28,11 @@
 Group: Amusements/Games
 Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0
 
+%package -n @PROGRAM_PREFIX@strife
+Summary: @PACKAGE_SHORTDESC@ (Strife binaries)
+Group: Amusements/Games
+Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0
+
 %prep
 rm -rf $RPM_BUILD_ROOT
 
@@ -86,4 +91,13 @@
 /usr/share/doc/@PROGRAM_PREFIX@hexen/*
 /usr/games/@PROGRAM_PREFIX@hexen
 /usr/games/@PROGRAM_PREFIX@hexen-setup
+
+%files @PROGRAM_PREFIX@strife
+%{_mandir}/man5/@[email protected]
+%{_mandir}/man5/strife.cfg.5
+%{_mandir}/man6/@[email protected]
+%{_mandir}/man6/@[email protected]
+/usr/share/doc/@PROGRAM_PREFIX@strife/*
+/usr/games/@PROGRAM_PREFIX@strife
+/usr/games/@PROGRAM_PREFIX@strife-setup