packages: lgeneral/lgeneral.spec - wider note in %%post

lisu lisu at pld-linux.org
Thu Sep 30 10:40:34 CEST 2010


Author: lisu                         Date: Thu Sep 30 08:40:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- wider note in %%post

---- Files affected:
packages/lgeneral:
   lgeneral.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: packages/lgeneral/lgeneral.spec
diff -u packages/lgeneral/lgeneral.spec:1.24 packages/lgeneral/lgeneral.spec:1.25
--- packages/lgeneral/lgeneral.spec:1.24	Thu Sep 30 10:29:44 2010
+++ packages/lgeneral/lgeneral.spec	Thu Sep 30 10:40:29 2010
@@ -1,10 +1,4 @@
 # $Revision$, $Date$
-#
-# NOTE:
-# To play the game with original Panzer General campaigns and scenarios
-# we need to run this command as root after install:
-# lgc-pg -s /usr/share/lgeneral/pg-data -d /usr/share/lgeneral
-#
 Summary:	Panzer General clone
 Summary(pl.UTF-8):	Klon gry Panzer General
 Name:		lgeneral
@@ -42,7 +36,7 @@
 %prep
 %setup -q -a 1
 %patch0 -p1
-%{__sed} -i 's at games/@@' {configure.in,src/misc.c,lgc-pg/misc.c}
+%{__sed} -i 's at games/@@' configure.in
 
 %build
 %configure
@@ -73,10 +67,16 @@
 if [ "$1" = 1 ]; then
 %banner %{name} -e <<EOF
 NOTE:
-To play the game with original Panzer General campaigns and scenarios
-run this command as root after install:
+If you have the orginal Panzer General CD then mount it
+(e.g., to /mnt/cdrom) and run the following command as root user:
 
-lgc-pg -s /usr/share/lgeneral/pg-data -d /usr/share/lgeneral
+	lgc-pg -s /mnt/cdrom/DAT -d /usr/share/lgeneral
+
+If you do not have the orginal Panzer General
+CD, you can use the abandonware pg-data package
+by run the following command as root user:
+
+	lgc-pg -s /usr/share/lgeneral/pg-data -d /usr/share/lgeneral
 
 EOF
 fi
@@ -96,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2010/09/30 08:40:29  lisu
+- wider note in %%post
+
 Revision 1.24  2010/09/30 08:29:44  lisu
 - display note after installation
 - builds and works, release 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lgeneral/lgeneral.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list