From cca99011c9338959175dd350bea8b78092a20d3e Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Wed, 15 Feb 2006 21:54:07 +0000 Subject: [PATCH] - Add nethack-3.4.3-guidebook.patch to fix issues with generating the Guidebook (this patch also removes the need for our groff dep) --- nethack-3.4.3-guidebook.patch | 15 +++++++++++++++ nethack.spec | 11 +++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 nethack-3.4.3-guidebook.patch diff --git a/nethack-3.4.3-guidebook.patch b/nethack-3.4.3-guidebook.patch new file mode 100644 index 0000000..589411a --- /dev/null +++ b/nethack-3.4.3-guidebook.patch @@ -0,0 +1,15 @@ +--- sys/unix/Makefile.doc.orig 2006-02-15 16:47:41.000000000 -0500 ++++ sys/unix/Makefile.doc 2006-02-15 16:47:52.000000000 -0500 +@@ -20,10 +20,10 @@ + + # Use the "cat" GUIDECMD if nroff and/or tbl and/or col are not installed + # Not appropriate for creating Guidebook.txt. +-# GUIDECMD = cat Guidebook.txt ++GUIDECMD = cat Guidebook.txt + # The following works better with groff-1.18, eg on Linux + # GUIDECMD = tbl tmac.n Guidebook.mn | nroff -c -Tascii | $(COLCMD) +-GUIDECMD = tbl tmac.n Guidebook.mn | nroff | $(COLCMD) ++# GUIDECMD = tbl tmac.n Guidebook.mn | nroff | $(COLCMD) + + # the basic guidebook + Guidebook: Guidebook.mn diff --git a/nethack.spec b/nethack.spec index f848d06..dc032b0 100644 --- a/nethack.spec +++ b/nethack.spec @@ -3,7 +3,7 @@ Name: nethack Version: 3.4.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A rogue-like single player dungeon exploration game Group: Amusements/Games @@ -14,9 +14,10 @@ Source1: %{name}.desktop Patch0: %{name}-%{version}-makefile.patch Patch1: %{name}-%{version}-config.patch Patch2: %{name}-%{version}-x11.patch +Patch3: %{name}-%{version}-guidebook.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: ncurses-devel, groff +BuildRequires: ncurses-devel BuildRequires: bison, flex, desktop-file-utils BuildRequires: bdftopcf, mkfontdir, libX11-devel, libXaw-devel, libXext-devel BuildRequires: libXmu-devel, libXpm-devel, libXt-devel @@ -43,6 +44,7 @@ characters: you can pick your race, your role, and your gender. %patch0 -b .makefile %patch1 -b .config %patch2 -b .x11 +%patch3 -b .guidebook (source sys/unix/setup.sh) # Set our paths @@ -121,6 +123,7 @@ rm -rf $RPM_BUILD_ROOT %{nhgamedir}/rip.xpm %{nhgamedir}/x11tiles %{nhgamedir}/fonts/ +%{nhgamedir}/license %defattr(0664,root,games) %config(noreplace) %{nhdatadir}/record %config(noreplace) %{nhdatadir}/perm @@ -131,6 +134,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 15 2006 Luke Macken 3.4.3-9 +- Add nethack-3.4.3-guidebook.patch to fix issues with generating the Guidebook + (this patch also removes the need for our groff dep) + * Wed Feb 15 2006 Luke Macken 3.4.3-8 - Add groff to BuildRequires