From 215710580a2b21f06f51b29b583868b843b436ab Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sep 24 2007 19:57:25 +0000 Subject: - Use opengl-games-utils wrapper to show error dialog when DRI is missing --- diff --git a/pinball.desktop b/pinball.desktop index fb84673..97107fd 100644 --- a/pinball.desktop +++ b/pinball.desktop @@ -2,7 +2,7 @@ Encoding=UTF-8 Name=Pinball Comment=Emilia Pinball game -Exec=pinball +Exec=pinball-wrapper Icon=pinball.png Terminal=false Type=Application diff --git a/pinball.spec b/pinball.spec index 6533152..f60c671 100644 --- a/pinball.spec +++ b/pinball.spec @@ -1,6 +1,6 @@ Name: pinball Version: 0.3.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Emilia Pinball game Group: Amusements/Games License: GPL+ @@ -14,7 +14,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libXt-devel freeglut-devel SDL_image-devel SDL_mixer-devel BuildRequires: libpng-devel libvorbis-devel libtool-ltdl-devel BuildRequires: desktop-file-utils -Requires: hicolor-icon-theme +Requires: hicolor-icon-theme opengl-games-utils %description The Emilia Pinball project is an open source pinball simulator for linux @@ -53,6 +53,7 @@ make CXXFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper # remove unused global higescorefiles: rm -fr $RPM_BUILD_ROOT%{_localstatedir} # remove unused test module @@ -90,7 +91,7 @@ fi %files %defattr(-,root,root,-) %doc README ChangeLog -%{_bindir}/%{name} +%{_bindir}/%{name}* %dir %{_libdir}/%{name} %{_libdir}/%{name}/lib*.so.* %{_libdir}/%{name}/lib*.la @@ -105,6 +106,9 @@ fi %changelog +* Mon Sep 24 2007 Hans de Goede 0.3.1-9 +- Use opengl-games-utils wrapper to show error dialog when DRI is missing + * Wed Aug 15 2007 Hans de Goede 0.3.1-8 - Update License tag for new Licensing Guidelines compliance