packages: lgeneral/lgeneral.spec - display note after installation - builds...

lisu lisu at pld-linux.org
Thu Sep 30 10:29:50 CEST 2010


Author: lisu                         Date: Thu Sep 30 08:29:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- display note after installation
- builds and works, release 1

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

---- Diffs:

================================================================
Index: packages/lgeneral/lgeneral.spec
diff -u packages/lgeneral/lgeneral.spec:1.23 packages/lgeneral/lgeneral.spec:1.24
--- packages/lgeneral/lgeneral.spec:1.23	Thu Sep 30 10:17:23 2010
+++ packages/lgeneral/lgeneral.spec	Thu Sep 30 10:29:44 2010
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Klon gry Panzer General
 Name:		lgeneral
 Version:	1.2
-Release:	0.1
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games/Strategy
 Source0:	http://downloads.sourceforge.net/lgeneral/%{name}-%{version}.tar.gz
@@ -69,6 +69,18 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+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:
+
+lgc-pg -s /usr/share/lgeneral/pg-data -d /usr/share/lgeneral
+
+EOF
+fi
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README.lg* TODO
@@ -84,6 +96,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2010/09/30 08:29:44  lisu
+- display note after installation
+- builds and works, release 1
+
 Revision 1.23  2010/09/30 08:17:23  lisu
 - add -separataor.patch to fix build
 - cosmetics
================================================================

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



More information about the pld-cvs-commit mailing list