From 14e3cd8eeeab3921258b010b15a1d88e383800ff Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mar 30 2015 16:40:37 +0000 Subject: Update the screenshot shown in the software center --- diff --git a/aisleriot.spec b/aisleriot.spec index 6154011..bff35ae 100644 --- a/aisleriot.spec +++ b/aisleriot.spec @@ -2,7 +2,7 @@ Summary: A collection of card games Name: aisleriot Version: 3.16.0 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv3+ and LGPLv3+ and GFDL Group: Amusements/Games @@ -40,6 +40,18 @@ make %{_smp_mflags} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 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/sol.appdata.xml \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/a.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/b.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/c.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/d.png + # Omit the valgrind suppression file; only for use during development rm $RPM_BUILD_ROOT%{_libdir}/valgrind/aisleriot.supp @@ -86,6 +98,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : %{_mandir}/man6/sol.6* %changelog +* Mon Mar 30 2015 Richard Hughes - 1:3.16.0-2 +- Use better AppData screenshots + * Mon Mar 23 2015 Kalev Lember - 1:3.16.0-1 - Update to 3.16.0