rhughes pushed to aisleriot (master). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 16:40:44 UTC 2015
>From 14e3cd8eeeab3921258b010b15a1d88e383800ff Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:40:37 +0100
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 <rhughes at redhat.com> - 1:3.16.0-2
+- Use better AppData screenshots
+
* Mon Mar 23 2015 Kalev Lember <kalevlember at gmail.com> - 1:3.16.0-1
- Update to 3.16.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/aisleriot.git/commit/?h=master&id=14e3cd8eeeab3921258b010b15a1d88e383800ff
More information about the scm-commits
mailing list