rpms/glest/F-7 glest.sh,1.3,1.4 glest.spec,1.8,1.9
Aurelien Bompard (abompard)
fedora-extras-commits at redhat.com
Sat Dec 1 15:58:17 UTC 2007
Author: abompard
Update of /cvs/pkgs/rpms/glest/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1571/F-7
Modified Files:
glest.sh glest.spec
Log Message:
* Sat Dec 01 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.0.1-4
- add a symlink to the "scenarios" directory (bug 403401)
Index: glest.sh
===================================================================
RCS file: /cvs/pkgs/rpms/glest/F-7/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 1 Dec 2007 15:57:44 -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
@@ -52,7 +55,7 @@
mkdir -p $GLEST_LOCAL_DIR
cd $GLEST_LOCAL_DIR
-for dir in techs data maps tilesets; do
+for dir in techs data maps scenarios tilesets; do
ln -snf $GLEST_DATA_DIR/$dir $dir
done
test -L screens && rm screens
Index: glest.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glest/F-7/glest.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- glest.spec 2 Sep 2007 12:47:21 -0000 1.8
+++ glest.spec 1 Dec 2007 15:57:44 -0000 1.9
@@ -1,6 +1,6 @@
Name: glest
Version: 2.0.1
-Release: 1%{?dist}
+Release: 4%{?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,19 @@
%defattr(-,root,root,-)
%doc docs/README.linux docs/license.txt
%{_bindir}/glest
+%{_bindir}/glest-wrapper
%{_datadir}/applications/*.desktop
%{_libexecdir}/glest
%{_datadir}/glest
%changelog
+* Sat Dec 01 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.0.1-4
+- add a symlink to the "scenarios" directory (bug 403401)
+
+* 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