rhughes pushed to eog (master). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 16:41:50 UTC 2015


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


diff --git a/eog.spec b/eog.spec
index 35d9430..a38db40 100644
--- a/eog.spec
+++ b/eog.spec
@@ -8,7 +8,7 @@
 Summary: Eye of GNOME image viewer
 Name:    eog
 Version: 3.16.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL:    https://wiki.gnome.org/Apps/EyeOfGnome
 #VCS: git:git://git.gnome.org/eog
 Source: http://download.gnome.org/sources/eog/3.16/%{name}-%{version}.tar.xz
@@ -82,6 +82,16 @@ 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/eog.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/eog/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/eog/b.png 
+
 %find_lang %{name} --with-gnome
 
 rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la
@@ -132,6 +142,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
 %{_datadir}/installed-tests/
 
 %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/eog.git/commit/?h=master&id=0c8e5c5c73a2aa6dc754e7f1e7437ef9c097685b


More information about the scm-commits mailing list