SPECS (AC-branch): nethack.spec - release 2: -DWIZARD=root, -DINSU...

radek radek at pld-linux.org
Tue Mar 28 23:21:36 CEST 2006


Author: radek                        Date: Tue Mar 28 21:21:36 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- release 2: -DWIZARD=root, -DINSURANCE

---- Files affected:
SPECS:
   nethack.spec (1.65.2.1 -> 1.65.2.2) 

---- Diffs:

================================================================
Index: SPECS/nethack.spec
diff -u SPECS/nethack.spec:1.65.2.1 SPECS/nethack.spec:1.65.2.2
--- SPECS/nethack.spec:1.65.2.1	Mon May 16 08:08:36 2005
+++ SPECS/nethack.spec	Tue Mar 28 23:21:31 2006
@@ -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:	1
+Release:	2
 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}\"' -DINSURANCE" \
 	LFLAGS="%{rpmldflags}" \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
@@ -185,7 +188,7 @@
 	QTDIR="%{_prefix}"
 
 %{__make} -C util recover \
-	CFLAGS="%{rpmcflags} -I../include" \
+	CFLAGS="%{rpmcflags} -I../include -DINSURANCE" \
 	LFLAGS="%{rpmldflags}" \
 	CC="%{__cc}"
 
@@ -250,6 +253,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65.2.2  2006/03/28 21:21:31  radek
+- release 2: -DWIZARD=root, -DINSURANCE
+
 Revision 1.65.2.1  2005/05/16 06:08:36  adamg
 - BuildRequires: groff
 
================================================================

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



More information about the pld-cvs-commit mailing list