Dominique Leuenberger 2014-03-08 11:37:52 +00:00 committed by Git OBS Bridge
parent 37ddd461f5
commit cf60de2c00
3 changed files with 36 additions and 0 deletions

24
supertuxkart.appdata.xml Normal file
View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2013 Dominique Leuenberger <dimstar@opensuse.org> -->
<application>
<id type="desktop">supertuxkart.desktop</id>
<licence>CC0</licence>
<name>SuperTuxKart</name>
<summary>3D Kart Racing Game</summary>
<description>
<p>SuperTuxKart is a Free 3d kart racing game.
The focus of the game is more to be fun than it is to be realistic.
You can play with up to 4 friends on one PC, racing against each other or just try to beat the computer.</p>
<p>See the great lighthouse or drive through the sand and visit the pyramids. Race underground or in space,
watching the stars passing by. Have some rest under the palms on the beach (watching the other karts
overtaking you :) ). But don't eat the bananas! Watch for bowling balls, plungers, bubble gum and cakes thrown by opponents.</p>
<p>You can do a single race against other karts, compete in one of several Grand Prix, try to beat the high score in time trials
on your own, play battle mode against your friends, and more!</p>
</description>
<screenshots>
<screenshot type="default" width="1280" height="768">http://supertuxkart.sourceforge.net/persistent/images/7/7a/Supertuxkart-0.8.1-screenshot-1.png</screenshot>
</screenshots>
<url type="homepage">http://supertuxkart.sourceforge.net</url>
<updatecontact> supertuxkart-devel@lists.sourceforge.net</updatecontact>
<project_group>SuperTuxKart</project_group>
</application>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Mar 8 11:37:10 UTC 2014 - dimstar@opensuse.org
- Add supertuxkart.appdata.xml (from upstream git) as source. This
will allow STK to show up in gnome-software.
-------------------------------------------------------------------
Sun Jan 5 21:48:02 UTC 2014 - dimstar@opensuse.org

View File

@ -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
# appdata file, to show in gnome-software
Source2: supertuxkart.appdata.xml
BuildRequires: bluez-devel
BuildRequires: cmake
BuildRequires: curl-devel
@ -89,6 +91,8 @@ make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_datadir}/supertuxkart/data/karts/geeko/
cd %{buildroot}%{_datadir}/supertuxkart/data/karts/geeko/
unzip %{SOURCE1}
mkdir -p %{buildroot}%{_datadir}/appdata/
cp %{S:2} %{buildroot}%{_datadir}/appdata/
%fdupes %{buildroot}%{_datadir}
%suse_update_desktop_file supertuxkart
@ -96,6 +100,8 @@ unzip %{SOURCE1}
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO ChangeLog
%{_bindir}/supertuxkart
%dir %{_datadir}/appdata
%{_datadir}/appdata/supertuxkart.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}_*.png