SPECS: nethack.spec - release 3: enable wizard mode

radek radek at pld-linux.org
Tue Aug 9 23:11:50 CEST 2005


Author: radek                        Date: Tue Aug  9 21:11:50 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 3: enable wizard mode

---- Files affected:
SPECS:
   nethack.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: SPECS/nethack.spec
diff -u SPECS/nethack.spec:1.67 SPECS/nethack.spec:1.68
--- SPECS/nethack.spec:1.67	Mon May 16 08:07:54 2005
+++ SPECS/nethack.spec	Tue Aug  9 23:11:43 2005
@@ -4,6 +4,9 @@
 %bcond_without	qt	# no X11 and Qt bloat 
 %bcond_with	vanilla	# build vanilla NetHack (without patches)
 #
+# --define 'wizard other_username', default is root
+%define		_wizard		%{?wizard:%{wizard}}%{!?wizard:"root"}
+#
 # no patches for now, wait for updates
 %define		with_vanilla	1
 #
@@ -15,7 +18,7 @@
 Summary(pt_BR):	Jogo estilo rogue baseado no Dungeons and Dragons
 Name:		nethack
 Version:	3.4.3
-Release:	2
+Release:	3
 License:	Nethack GPL
 Group:		Applications/Games
 Source0:	http://dl.sourceforge.net/sourceforge/nethack/%{name}-%{file_version}-src.tgz
@@ -177,7 +180,7 @@
 sh ./sys/unix/setup.sh links
 
 %{__make} all \
-	CFLAGS="%{rpmcflags} -I../include -I%{_includedir}/ncurses" \
+	CFLAGS="%{rpmcflags} -I../include -I%{_includedir}/ncurses -DWIZARD='\"%{_wizard}\"'" \
 	LFLAGS="%{rpmldflags}" \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
@@ -250,6 +253,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2005/08/09 21:11:43  radek
+- release 3: enable wizard mode
+
 Revision 1.67  2005/05/16 06:07:54  adamg
 - BuildRequires: groff
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nethack.spec?r1=1.67&r2=1.68&f=u




More information about the pld-cvs-commit mailing list