SPECS (DEVEL): lgeneral.spec - unpack campaigns and scenarios file...

lisu lisu at pld-linux.org
Thu Oct 11 19:58:59 CEST 2007


Author: lisu                         Date: Thu Oct 11 17:58:59 2007 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- unpack campaigns and scenarios files
- add notes

---- Files affected:
SPECS:
   lgeneral.spec (1.19.2.2 -> 1.19.2.3) 

---- Diffs:

================================================================
Index: SPECS/lgeneral.spec
diff -u SPECS/lgeneral.spec:1.19.2.2 SPECS/lgeneral.spec:1.19.2.3
--- SPECS/lgeneral.spec:1.19.2.2	Thu Oct 11 19:25:55 2007
+++ SPECS/lgeneral.spec	Thu Oct 11 19:58:54 2007
@@ -1,4 +1,9 @@
 # $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
+
 %define _bver	13
 %define	_beta	beta-%{_bver}
 Summary:	LGeneral game
@@ -35,12 +40,13 @@
 warunki walki.
 
 %prep
-%setup -q -n %{name}-%{version}%{_beta}
+%setup -q -n %{name}-%{version}%{_beta} -a 1
 %{__sed} -i 's at games/@@' {configure.in,src/misc.c,lgc-pg/misc.c}
 
 %build
 %configure
 
+#Maybe somebody know better way?
 cp /usr/share/gettext/config.rpath .
 %{__make} \
 	ACLOCAL="%{__aclocal}" \
@@ -54,6 +60,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+cp -r pg-data $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %find_lang %{name} --all-name
 
@@ -74,6 +81,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19.2.3  2007/10/11 17:58:54  lisu
+- unpack campaigns and scenarios files
+- add notes
+
 Revision 1.19.2.2  2007/10/11 17:25:55  lisu
 - fix datadir paths
 - include more files
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lgeneral.spec?r1=1.19.2.2&r2=1.19.2.3&f=u



More information about the pld-cvs-commit mailing list