File fix-desktop-and-appdata.patch of Package amoebax
diff -Nur amoebax-0.2.1/data/amoebax.appdata.xml new/data/amoebax.appdata.xml --- amoebax-0.2.1/data/amoebax.appdata.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/data/amoebax.appdata.xml 2016-08-23 04:08:47.828694603 +0200 @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright 2016 Ferdinand Thiessen <rpm@fthiessen.de> --> +<component type="desktop"> + <id>amoebax.desktop</id> + <metadata_license>CC0-1.0</metadata_license> + <project_license>GPL-2.0+ and LAL-1.2</project_license> + <name>Amoebax</name> + <summary>Action-puzzle game</summary> + <description> + <p>Amoebax is a cute and addictive action-puzzle game. Due an awful mutation, + some amoeba's species have started to multiply until they take the world + if you can't stop them. Fortunately the mutation made then too unstable + and lining up four or more will make them disappear. + </p> + <p>Follow Kim or Tom through 6 levels in their quest to prevent the cute + multiplying amoebas to take the world and become the new Amoeba Master. + Watch out for the cute but amoeba's controlled creatures that will try to + put and end to your quest. + </p> + <p>Amoebax is designed with levels for everyone, from children to adults. + With the training mode everybody will quickly become a master and the + tournament mode will let you have a good time with your friends. There is + also catchy music, funny sound effects, and beautiful screens that sure + appeal to everyone in the family. + </p> + <p>Power Statistics is a program used to view historical and current battery + information and will show programs running on your computer using power. + </p> + </description> + <screenshots> + <screenshot type="default"> + <image>http://www.emma-soft.com/games/amoebax/screenshots/menu.png</image> + <caption>The main menu</caption> + </screenshot> + <screenshot> + <image>http://www.emma-soft.com/games/amoebax/screenshots/normal.png</image> + <caption>The normal mode</caption> + </screenshot> + <screenshot> + <image>http://www.emma-soft.com/games/amoebax/screenshots/training.png</image> + <caption>The training mode</caption> + </screenshot> + <screenshot> + <image>http://www.emma-soft.com/games/amoebax/screenshots/versus.png</image> + <caption>Player screen</caption> + </screenshot> + </screenshots> + <url type="homepage">http://www.emma-soft.com/games/amoebax/</url> +</component> diff -Nur amoebax-0.2.1/data/amoebax.desktop new/data/amoebax.desktop --- amoebax-0.2.1/data/amoebax.desktop 2009-02-28 18:40:53.000000000 +0100 +++ new/data/amoebax.desktop 2016-08-23 03:47:05.771550080 +0200 @@ -5,7 +5,7 @@ Exec=amoebax GenericName=Computer Puzzle Game GenericName[tr]=Bulmaca Oyunu -Icon=amoebax.svg +Icon=amoebax Name=Amoebax Terminal=false Type=Application diff -Nur amoebax-0.2.1/data/Makefile.am new/data/Makefile.am --- amoebax-0.2.1/data/Makefile.am 2009-02-28 18:40:53.000000000 +0100 +++ new/data/Makefile.am 2016-08-23 03:52:43.749863573 +0200 @@ -5,6 +5,7 @@ Amoebax.icns \ amoebax.ico \ amoebax.png \ + amoebax.appdata.xml \ amoebax.svg \ Amoebax.url \ amoebax.wxs \ @@ -23,6 +24,9 @@ desktopdir = $(datarootdir)/applications desktop_DATA = amoebax.desktop +appdatadir = $(datarootdir)/appdata +appdata_DATA = amoebax.appdata.xml + install-data-hook: mkdir -p $(DESTDIR)$(mandir)/man6 ; \ for j in $(INSTALL_MAN_PAGES); do \