From d617f2f9fbeed8ce5cdc31eacf16a0d99c596d1fdd33a4fbc6eb78d74db36c63 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 15 Dec 2012 20:59:12 +0000 Subject: [PATCH] fix OBS-URL: https://build.opensuse.org/package/show/games/supertuxkart?expand=0&rev=38 --- supertuxkart-desktop.patch | 21 +++++++++++++++++++++ supertuxkart.changes | 6 ++++++ supertuxkart.spec | 3 +++ 3 files changed, 30 insertions(+) create mode 100644 supertuxkart-desktop.patch diff --git a/supertuxkart-desktop.patch b/supertuxkart-desktop.patch new file mode 100644 index 0000000..2692b8f --- /dev/null +++ b/supertuxkart-desktop.patch @@ -0,0 +1,21 @@ +--- main/trunk/data/supertuxkart_desktop.template 2012/12/13 02:23:14 12275 ++++ main/trunk/data/supertuxkart_desktop.template 2012/12/13 20:23:26 12276 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=SuperTuxKart + Icon=@PREFIX@/share/pixmaps/supertuxkart_64.xpm + GenericName=A kart racing game +@@ -7,9 +6,9 @@ + GenericName[fr_FR]=Un jeu de karting + GenericName[gl]=Xogo de carreiras con karts + GenericName[ro_RO]=Un joc de curse cu carturi +-Exec=@PREFIX@/games/supertuxkart --log=file ++Exec=@STK_INSTALL_BINARY_DIR@/supertuxkart --log=file + Terminal=false + StartupNotify=false + Type=Application +-TryExec=@PREFIX@/games/supertuxkart ++TryExec=@STK_INSTALL_BINARY_DIR@/supertuxkart + Categories=Game;ArcadeGame; + diff --git a/supertuxkart.changes b/supertuxkart.changes index e893aff..efd877c 100644 --- a/supertuxkart.changes +++ b/supertuxkart.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 15 20:58:22 UTC 2012 - dimstar@opensuse.org + +- Add supertuxkart-desktop.patch: Fix path to supertuxkart in + .desktop file (bnc#794681). + ------------------------------------------------------------------- Tue Dec 11 23:30:04 UTC 2012 - dimstar@opensuse.org diff --git a/supertuxkart.spec b/supertuxkart.spec index 2472e11..b55c714 100644 --- a/supertuxkart.spec +++ b/supertuxkart.spec @@ -26,6 +26,8 @@ Url: http://supertuxkart.sourceforge.net/ Source: http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/%{version}/%{name}-%{version}-src.tar.bz2 # Geeko kart add-on (CC-BY 3.0) Source1: http://stkaddons.net/dl/14e6ba25b17f0d.zip +# PATCH-FIX-UPSTREAM supertuxkart-desktop.patch dimstar@opensuse.org -- Fix exec path in supertuxkart.desktop, taken from upstream svn. +Patch0: supertuxkart-desktop.patch BuildRequires: curl-devel BuildRequires: fdupes cmake fribidi-devel BuildRequires: gcc-c++ @@ -62,6 +64,7 @@ Data files for SuperTuxKart a Free 3d kart racing game. %prep %setup -q -n SuperTuxKart-%{version} +%patch0 %build # We need an internal version of Irrlicht...