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