rpms/blobAndConquer/devel blobAndConquer.spec,1.6,1.7

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Mon Sep 24 20:38:40 UTC 2007


Author: jwrdegoede

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

Modified Files:
	blobAndConquer.spec 
Log Message:
* Mon Sep 24 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.91-4
- Use opengl-games-utils wrapper to show error dialog when DRI is missing



Index: blobAndConquer.spec
===================================================================
RCS file: /cvs/extras/rpms/blobAndConquer/devel/blobAndConquer.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- blobAndConquer.spec	21 Aug 2007 20:41:34 -0000	1.6
+++ blobAndConquer.spec	24 Sep 2007 20:38:08 -0000	1.7
@@ -7,7 +7,7 @@
 
 Name:           blobAndConquer
 Version:        0.91
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Blob Wars 2: Blob And Conquer
 Group:          Amusements/Games
 License:        GPLv2+
@@ -19,7 +19,7 @@
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires:  SDL_image-devel SDL_mixer-devel SDL_ttf-devel zlib-devel
 BuildRequires:  desktop-file-utils
-Requires:       hicolor-icon-theme
+Requires:       hicolor-icon-theme opengl-games-utils
 
 %description
 With the apparent defeat of Galdov and the reclaiming of the Fire, Time, Space
@@ -39,6 +39,8 @@
 # some cleanup
 chmod -x gfx/rw2/*.raw data/gameDefs/defines.h `find src -type f`
 sed -i 's/\r//g' data/gameDefs/defines.h `find src -type f`
+sed -i 's/Exec=blobAndConquer/Exec=blobAndConquer-wrapper/' \
+  icons/blobAndConquer.desktop
 
 
 %build
@@ -56,6 +58,7 @@
 make install DESTDIR=$RPM_BUILD_ROOT BINDIR=$RPM_BUILD_ROOT%{_bindir} \
   DATADIR=$RPM_BUILD_ROOT%{_datadir}/%{name} \
   ICONDIR=$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper
 mkdir installed-docs
 mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* installed-docs
 
@@ -86,7 +89,7 @@
 %files
 %defattr(-,root,root,-)
 %doc installed-docs/*
-%{_bindir}/%{name}
+%{_bindir}/%{name}*
 # the data/gameDefs/defines.h file is needed runtime and thus not a devel file!
 %{_datadir}/%{name}
 %{_datadir}/applications/fedora-%{name}.desktop
@@ -94,6 +97,9 @@
 
 
 %changelog
+* Mon Sep 24 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.91-4
+- Use opengl-games-utils wrapper to show error dialog when DRI is missing
+
 * Tue Aug 21 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.91-3
 - Rebuild for buildId
 




More information about the fedora-extras-commits mailing list