]> git.pld-linux.org Git - packages/lgeneral.git/commitdiff
- display note after installation
authorlisu <lisu@pld-linux.org>
Thu, 30 Sep 2010 08:29:44 +0000 (08:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- builds and works, release 1

Changed files:
    lgeneral.spec -> 1.24

lgeneral.spec

index 4bd2b9c9a53b8aa508fef6cd5ebda179b5fce46e..9f8478cf16fe48aa7cf6e61358751624d8ed76f9 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Panzer General clone
 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
@@ -68,6 +68,18 @@ cp -r pg-data $RPM_BUILD_ROOT%{_datadir}/%{name}
 %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
This page took 0.095835 seconds and 4 git commands to generate.