SPECS: glest.spec - version 2.0.0

tommat tommat at pld-linux.org
Fri Jul 28 15:43:15 CEST 2006


Author: tommat                       Date: Fri Jul 28 13:43:15 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- version 2.0.0

---- Files affected:
SPECS:
   glest.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/glest.spec
diff -u SPECS/glest.spec:1.7 SPECS/glest.spec:1.8
--- SPECS/glest.spec:1.7	Fri Jun 30 14:30:57 2006
+++ SPECS/glest.spec	Fri Jul 28 15:43:10 2006
@@ -7,14 +7,14 @@
 Summary:	Glest - 3D real time strategy game
 Summary(pl):	Glest - Strategia 3D czasu rzeczywistego
 Name:		glest
-Version:	1.1.0
+Version:	2.0.0
 Release:	0.1
 License:	GPL
 Group:		X11/Applications/Games
-Source0:	http://dl.sourceforge.net/glest/%{name}-source-%{version}.tar.bz2
-# Source0-md5:	f549d496789d4a54166a7c386232069e
-Source1:	http://dl.sourceforge.net/glest/%{name}_data_v%{version}.zip
-# Source1-md5:	bbf40de52ad412b1e36fc3bc1f6822fc
+Source0:	http://dl.sourceforge.net/glest/%{name}_source_%{version}.zip
+# Source0-md5:	f7716da7a044dbe108c619b0f52621bb
+Source1:	http://dl.sourceforge.net/glest/%{name}_data_%{version}.zip
+# Source1-md5:	8b6902e82874011e768c64e20fbeead5
 Source2:	http://www.glest.org/files/contrib/translations/polish_1.0.9.zip
 # Source2-md5:	977df518ef4523fce1e833769e760e29
 #Patch0: %{name}-DESTDIR.patch
@@ -40,18 +40,26 @@
 XML-a i zestawu narzędzi.
 
 %prep
-%setup -q -a1 -a2
+%setup -q -n glest_source_%{version} -a1 -a2
+for file in xml ini log txt html lng; do
+	find ./ -noleaf -type f -name \*.$file -exec dos2unix '{}' \;
+done
+
+find mk -noleaf -type f -exec dos2unix '{}' \;
+
+chmod +x mk/linux/autogen.sh
 
 %build
+cd mk/linux
+./autogen.sh
 %configure
 jam
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sysconfdir}/%{name},%{_bindir}}
-install glest $RPM_BUILD_ROOT%{_bindir}/%{name}
-install glest.ini $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/glest.ini
-install polish.lng $RPM_BUILD_ROOT{_datadir}/%{name}/data/lang/
+install mk/linux/glest $RPM_BUILD_ROOT%{_bindir}/%{name}
+install mk/linux/glest.ini $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/glest.ini
 ln -s %{_sysconfdir}/%{name}/%{name}.ini $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}.ini
 ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}
 cd glest_game
@@ -60,13 +68,14 @@
 rm configuration.xml
 rm glest.ini
 cp -r ./* $RPM_BUILD_ROOT%{_datadir}/%{name}
+install ../polish.lng $RPM_BUILD_ROOT%{_datadir}/%{name}/data/lang/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README README.linux license.txt
+%doc docs/README docs/README.linux docs/license.txt
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
@@ -77,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/07/28 13:43:10  tommat
+- version 2.0.0
+
 Revision 1.7  2006/06/30 12:30:57  wolvverine
 - add polish lang
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/glest.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list