rpms/bsd-games/FC-4 bsd-games-2.17-monop-rename.patch, NONE, 1.1 bsd-games.spec, 1.3, 1.4

Michael Thomas (wart) fedora-extras-commits at redhat.com
Tue Jun 20 21:54:34 UTC 2006


Author: wart

Update of /cvs/extras/rpms/bsd-games/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13974/FC-4

Modified Files:
	bsd-games.spec 
Added Files:
	bsd-games-2.17-monop-rename.patch 
Log Message:
Add flex and bison to BuildRequires: for new minimal build root.
Rename monop executable to avoid conflict with mono packages.



bsd-games-2.17-monop-rename.patch:

--- NEW FILE bsd-games-2.17-monop-rename.patch ---
--- bsd-games-2.17.new/monop/monop.6.in	2003-12-16 18:47:37.000000000 -0800
+++ bsd-games-2.17.new/monop/monop.6.in.new	2006-05-03 07:33:20.000000000 -0700
@@ -30,10 +30,10 @@
 .\"	@(#)monop.6	6.5 (Berkeley) 3/25/93
 .\"
 .Dd March 25, 1993
-.Dt MONOP 6
+.Dt MPOLY 6
 .Os
 .Sh NAME
-.Nm monop
+.Nm mpoly
 .Nd Monopoly game
 .Sh SYNOPSIS
 .Nm


Index: bsd-games.spec
===================================================================
RCS file: /cvs/extras/rpms/bsd-games/FC-4/bsd-games.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bsd-games.spec	2 May 2006 00:12:02 -0000	1.3
+++ bsd-games.spec	20 Jun 2006 21:54:34 -0000	1.4
@@ -1,7 +1,7 @@
 Summary: Collection of text-based games
 Name: bsd-games
 Version: 2.17
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: BSD
 Group: Amusements/Games
 URL: ftp://metalab.unc.edu/pub/Linux/games/
@@ -18,14 +18,16 @@
 Patch5: bsd-games-2.17-tetrisgid.patch
 Patch6: bsd-games-2.17-hackgid.patch
 Patch7: bsd-games-2.17-phantasiagid.patch
+# Add patch for monop->mpoly man page
+Patch8: bsd-games-2.17-monop-rename.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: ncurses-devel libtermcap-devel words
+BuildRequires: ncurses-devel libtermcap-devel words flex bison
 Requires(Pre): /usr/sbin/groupadd
 
 %description
 Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar,
 bcd, caesar, canfield, cfscores, cribbage, go-fish, gomoku,
-hunt, mille, monop, morse, number, phantasia, pig, pom, ppt, primes,
+hunt, mille, mpoly, morse, number, phantasia, pig, pom, ppt, primes,
 quiz, rain, random, robots, rot13, sail, snake, snscore, teachgammon,
 tetris-bsd, trek, wargames, worm, worms and wump.
 
@@ -40,6 +42,7 @@
 %patch5 -p1 -b .tetrisgid
 %patch6 -p1 -b .hackgid
 %patch7 -p1 -b .phantasiagid
+%patch8 -p1 -b .monop.rename
 
 %build
 # We include a templatized configuration settings file to set
@@ -71,6 +74,7 @@
 # Change the binary name for monop to prevent a conflict with the mono-devel
 # package
 mv $RPM_BUILD_ROOT/%{_bindir}/monop $RPM_BUILD_ROOT/%{_bindir}/mpoly
+mv $RPM_BUILD_ROOT/%{_mandir}/man6/monop.6.gz $RPM_BUILD_ROOT/%{_mandir}/man6/mpoly.6.gz
 
 # Remove this doc file.  We're copying it to a different location for Fedora.
 rm -f $RPM_BUILD_ROOT/%{_docdir}/trek.me
@@ -149,6 +153,10 @@
 %doc AUTHORS COPYING ChangeLog ChangeLog.0 THANKS YEAR2000 README.hunt trek/USD.doc/trek.me
 
 %changelog
+* Tue Jun 20 2006 Wart <wart at kobold.org> 2.17-11
+- Added missing BR: flex, bison
+- Rename monop man page to match the renamed executable.
+
 * Mon May 1 2006 Wart <wart at kobold.org> 2.17-10
 - Remove banner (conflict with a similar package in FE)
 




More information about the fedora-extras-commits mailing list