diff --git a/iagno.spec b/iagno.spec index 3d929b2..31d4608 100644 --- a/iagno.spec +++ b/iagno.spec @@ -1,6 +1,6 @@ Name: iagno Version: 3.16.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GNOME Reversi game License: GPLv3+ and CC-BY-SA @@ -14,6 +14,7 @@ BuildRequires: libcanberra-devel BuildRequires: intltool BuildRequires: itstool BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib Obsoletes: gnome-games-iagno < 1:3.7.4 Obsoletes: gnome-games-extra-data < 3.2.0-6 @@ -37,6 +38,15 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT +# Update the screenshot shown in the software center +# +# NOTE: It would be *awesome* if this file was pushed upstream. +# +# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details. +# +appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/iagno.appdata.xml \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/iagno/a.png + desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/iagno.desktop %find_lang %{name} --with-gnome @@ -77,6 +87,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %changelog +* Mon Mar 30 2015 Richard Hughes - 3.16.0-2 +- Use better AppData screenshots + * Mon Mar 23 2015 Kalev Lember - 3.16.0-1 - Update to 3.16.0