kalev pushed to geary (f22). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 16 19:47:05 UTC 2015


>From bde2c4707f6c543f711cb023e39e9ed8626dad8d Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:42:01 +0100
Subject: Update the screenshot shown in the software center


diff --git a/geary.spec b/geary.spec
index f66b018..a41f2ef 100644
--- a/geary.spec
+++ b/geary.spec
@@ -1,6 +1,6 @@
 Name:		geary
 Version:	0.9.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A lightweight email program designed around conversations
 # Geary is under LGPLv2+.
 # SQLite3-unicodesn code is in the Public Domain.
@@ -18,6 +18,7 @@ BuildRequires:	desktop-file-utils
 BuildRequires:	gettext
 BuildRequires:	intltool
 BuildRequires:	gnome-doc-utils
+BuildRequires:  libappstream-glib
 BuildRequires:	pkgconfig(gthread-2.0)
 BuildRequires:	pkgconfig(glib-2.0) >= 2.32.0
 BuildRequires:	pkgconfig(gio-2.0) >= 2.28.0
@@ -70,6 +71,15 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=%{buildroot}
 
+# 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/geary.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/geary/a.png 
+
 desktop-file-validate \
   %{buildroot}%{_datadir}/applications/geary.desktop \
   %{buildroot}%{_datadir}/applications/geary-autostart.desktop
@@ -109,6 +119,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 0.9.1-2
+- Use better AppData screenshots
+
 * Wed Feb  4 2015 Thomas Moschny <thomas.moschny at gmx.de> - 0.9.1-1
 - Update to 0.9.1.
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/geary.git/commit/?h=f22&id=bde2c4707f6c543f711cb023e39e9ed8626dad8d


More information about the scm-commits mailing list