rpms/methane/devel methane.desktop,1.1,1.2 methane.spec,1.2,1.3

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Tue Sep 25 07:21:17 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/methane/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15383

Modified Files:
	methane.desktop methane.spec 
Log Message:
* Tue Sep 25 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.7-3
- Use opengl-games-utils wrapper to show error dialog when DRI is missing



Index: methane.desktop
===================================================================
RCS file: /cvs/extras/rpms/methane/devel/methane.desktop,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- methane.desktop	14 Feb 2007 07:57:12 -0000	1.1
+++ methane.desktop	25 Sep 2007 07:20:44 -0000	1.2
@@ -72,7 +72,7 @@
 GenericName[zh_TW]=電子遊戲
 GenericName[zu]=Umdlalo womhhume
 Comment=Converted from the Amiga by its original author
-Exec=methane
+Exec=methane-wrapper
 Icon=methane
 Terminal=false
 StartupNotify=false


Index: methane.spec
===================================================================
RCS file: /cvs/extras/rpms/methane/devel/methane.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- methane.spec	15 Aug 2007 07:30:07 -0000	1.2
+++ methane.spec	25 Sep 2007 07:20:44 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           methane
 Version:        1.4.7
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Super Methane Brothers
 Group:          Amusements/Games
 License:        GPLv2+
@@ -15,7 +15,7 @@
 Patch2:         methane-fullscreen.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  ClanLib-devel mikmod-devel desktop-file-utils
-Requires:       hicolor-icon-theme
+Requires:       hicolor-icon-theme opengl-games-utils
 
 %description
 Super Methane Brothers is a platform game converted from the Amiga by
@@ -45,9 +45,9 @@
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
 mkdir -p $RPM_BUILD_ROOT%{_var}/games
 install -m 755 source/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
+ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper
 touch $RPM_BUILD_ROOT%{_var}/games/%{name}scores
 
-
 # below is the desktop file and icon stuff.
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
 desktop-file-install --vendor fedora            \
@@ -82,6 +82,7 @@
 %defattr(-,root,root,-)
 %doc authors copying docs history i_linux readme todo
 %attr(2755,root,games) %{_bindir}/%{name}
+%{_bindir}/%{name}-wrapper
 %verify(not md5 size mtime) %config(noreplace) %attr(664,root,games) %{_var}/games/%{name}scores
 %{_datadir}/applications/fedora-%{name}.desktop
 %{_datadir}/applications/fedora-%{name}-help.desktop
@@ -90,6 +91,9 @@
 
 
 %changelog
+* Tue Sep 25 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.7-3
+- Use opengl-games-utils wrapper to show error dialog when DRI is missing
+
 * Wed Aug 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4.7-2
 - Update License tag for new Licensing Guidelines compliance
 




More information about the fedora-extras-commits mailing list