rpms/glest/devel glest.sh,1.3,1.4 glest.spec,1.11,1.12

Aurelien Bompard (abompard) fedora-extras-commits at redhat.com
Sat Oct 6 15:53:05 UTC 2007


Author: abompard

Update of /cvs/pkgs/rpms/glest/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31083

Modified Files:
	glest.sh glest.spec 
Log Message:
* Sat Oct 06 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.0.1-3
- incorporate opengl-games-utils' functionality into the wrapper script



Index: glest.sh
===================================================================
RCS file: /cvs/pkgs/rpms/glest/devel/glest.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- glest.sh	20 Dec 2006 11:58:16 -0000	1.3
+++ glest.sh	6 Oct 2007 15:52:33 -0000	1.4
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+. /usr/share/opengl-games-utils/opengl-game-functions.sh
+checkDriOK glest
+
 GLEST_LOCAL_DIR=$HOME/.glest
 GLEST_DATA_DIR=/usr/share/glest
 GLEST_EXECUTABLE=/usr/libexec/glest/glest


Index: glest.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glest/devel/glest.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- glest.spec	2 Sep 2007 12:47:24 -0000	1.11
+++ glest.spec	6 Oct 2007 15:52:33 -0000	1.12
@@ -1,6 +1,6 @@
 Name:           glest
 Version:        2.0.1
-Release:        1%{?dist}
+Release:        3%{?dist}
 Summary:        3D real time strategy game
 
 Group:          Amusements/Games
@@ -18,6 +18,7 @@
 Requires:       glest-data = %{version}
 # Used in the wrapper script
 Requires:       glx-utils
+Requires:       opengl-games-utils
 
 # Does not work on PPC (see README.Linux). Bug 219540.
 ExcludeArch:    ppc ppc64
@@ -60,6 +61,7 @@
 # Wrapper
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
 install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/glest
+ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper
 
 # Desktop file
 cat > glest.desktop << EOF
@@ -67,7 +69,7 @@
 Encoding=UTF-8
 Name=Glest
 Comment=Real Time Strategy game
-Exec=glest
+Exec=glest-wrapper
 Icon=%{_datadir}/glest/glest-0.png
 StartupNotify=true
 Terminal=false
@@ -88,12 +90,16 @@
 %defattr(-,root,root,-)
 %doc docs/README.linux docs/license.txt
 %{_bindir}/glest
+%{_bindir}/glest-wrapper
 %{_datadir}/applications/*.desktop
 %{_libexecdir}/glest
 %{_datadir}/glest
 
 
 %changelog
+* Sat Oct 06 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.0.1-3
+- incorporate opengl-games-utils' functionality into the wrapper script
+
 * Sun Sep 02 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.0.1-1
 - version 2.0.1
 - patch1 merged upstream




More information about the fedora-extras-commits mailing list