diff options
author | Simon Howard | 2011-09-06 21:50:30 +0000 |
---|---|---|
committer | Simon Howard | 2011-09-06 21:50:30 +0000 |
commit | bab992ea55ea849d606e1733f10be42488441ab7 (patch) | |
tree | 66f0e4f2ad207e2a8118c0d9efbb82a3ddf0cbcf | |
parent | a74c5e46b0cd578880f9fcbb45e6c3ef26d1c941 (diff) | |
download | chocolate-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
-rw-r--r-- | rpm.spec.in | 39 |
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 + |