From 0231b6fee63454c81aec7377d59e9b0a1b79349f Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sep 25 2007 07:20:40 +0000 Subject: - Use opengl-games-utils wrapper to show error dialog when DRI is missing --- diff --git a/ballbuster.desktop b/ballbuster.desktop index 3e9fea3..55d2890 100644 --- a/ballbuster.desktop +++ b/ballbuster.desktop @@ -2,7 +2,7 @@ Encoding=UTF-8 Name=Ball: Buster Comment=Move the paddle to bounce the ball and break all the bricks -Exec=ballbuster +Exec=ballbuster-wrapper Icon=ballbuster.png Terminal=false StartupNotify=false diff --git a/ballbuster.spec b/ballbuster.spec index 7664ebe..914fd8b 100644 --- a/ballbuster.spec +++ b/ballbuster.spec @@ -1,6 +1,6 @@ Name: ballbuster Version: 1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Move the paddle to bounce the ball and break all the bricks Group: Amusements/Games License: GPLv2+ @@ -10,7 +10,7 @@ Source1: %{name}.desktop Patch0: ballbuster-unix.patch.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ClanLib-devel desktop-file-utils ImageMagick -Requires: hicolor-icon-theme +Requires: hicolor-icon-theme opengl-games-utils %description Game inspired by one of the great classics. The purpose of the game is to @@ -35,6 +35,7 @@ convert -transparent black icon1.ico %{name}.png %install rm -rf $RPM_BUILD_ROOT make install PREFIX=$RPM_BUILD_ROOT%{_prefix} +ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper # below is the desktop file and icon stuff. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications @@ -66,13 +67,16 @@ fi %files %defattr(-,root,root,-) %doc COPYING credits.txt ExtremeUpdates.txt manual.html html -%{_bindir}/%{name} +%{_bindir}/%{name}* %{_datadir}/%{name} %{_datadir}/applications/fedora-%{name}.desktop %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %changelog +* Tue Sep 25 2007 Hans de Goede 1.0-3 +- Use opengl-games-utils wrapper to show error dialog when DRI is missing + * Sun Aug 5 2007 Hans de Goede 1.0-2 - Update License tag for new Licensing Guidelines compliance