summaryrefslogtreecommitdiff
path: root/rpm.spec.in
diff options
context:
space:
mode:
authorSimon Howard2011-09-06 21:50:30 +0000
committerSimon Howard2011-09-06 21:50:30 +0000
commitbab992ea55ea849d606e1733f10be42488441ab7 (patch)
tree66f0e4f2ad207e2a8118c0d9efbb82a3ddf0cbcf /rpm.spec.in
parenta74c5e46b0cd578880f9fcbb45e6c3ef26d1c941 (diff)
downloadchocolate-doom-bab992ea55ea849d606e1733f10be42488441ab7.tar.gz
chocolate-doom-bab992ea55ea849d606e1733f10be42488441ab7.tar.bz2
chocolate-doom-bab992ea55ea849d606e1733f10be42488441ab7.zip
Initial changes towards supporting multi-package RPM build, with
separate packages for Doom, Heretic and Hexen binaries. Subversion-branch: /branches/raven-branch Subversion-revision: 2363
Diffstat (limited to 'rpm.spec.in')
-rw-r--r--rpm.spec.in39
1 files changed, 36 insertions, 3 deletions
diff --git a/rpm.spec.in b/rpm.spec.in
index 137a9517..a31c2036 100644
--- a/rpm.spec.in
+++ b/rpm.spec.in
@@ -18,6 +18,16 @@ Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0
See @PACKAGE_URL@ for more information.
+%package -n @PROGRAM_PREFIX@heretic
+Summary: @PACKAGE_SHORTDESC@ (Heretic binaries)
+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@hexen
+Summary: @PACKAGE_SHORTDESC@ (Hexen 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
@@ -47,10 +57,33 @@ make
rm -rf $RPM_BUILD_ROOT
%files
-%doc %{_mandir}/man5/*
-%doc %{_mandir}/man6/*
+%{_mandir}/man5/@PROGRAM_PREFIX@doom.cfg.5
+%{_mandir}/man5/default.cfg.5
+%{_mandir}/man6/@PROGRAM_PREFIX@doom.6
+%{_mandir}/man6/@PROGRAM_PREFIX@server.6
+%{_mandir}/man6/@PROGRAM_PREFIX@doom-setup.6
/usr/share/doc/@PACKAGE@/*
-/usr/games/*
+/usr/games/@PROGRAM_PREFIX@doom
+/usr/games/@PROGRAM_PREFIX@server
+/usr/games/@PROGRAM_PREFIX@doom-setup
/usr/share/icons/*
/usr/share/applications/*
+%files @PROGRAM_PREFIX@heretic
+%{_mandir}/man5/@PROGRAM_PREFIX@heretic.cfg.5
+%{_mandir}/man5/heretic.cfg.5
+%{_mandir}/man6/@PROGRAM_PREFIX@heretic.6
+%{_mandir}/man6/@PROGRAM_PREFIX@heretic-setup.6
+/usr/share/doc/@PROGRAM_PREFIX@heretic/*
+/usr/games/@PROGRAM_PREFIX@heretic
+/usr/games/@PROGRAM_PREFIX@heretic-setup
+
+%files @PROGRAM_PREFIX@hexen
+%{_mandir}/man5/@PROGRAM_PREFIX@hexen.cfg.5
+%{_mandir}/man5/hexen.cfg.5
+%{_mandir}/man6/@PROGRAM_PREFIX@hexen.6
+%{_mandir}/man6/@PROGRAM_PREFIX@hexen-setup.6
+/usr/share/doc/@PROGRAM_PREFIX@hexen/*
+/usr/games/@PROGRAM_PREFIX@hexen
+/usr/games/@PROGRAM_PREFIX@hexen-setup
+