yaneti pushed to gnome-clocks (f22). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 16:50:29 UTC 2015


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


diff --git a/gnome-clocks.spec b/gnome-clocks.spec
index 3a033d6..2a3f880 100644
--- a/gnome-clocks.spec
+++ b/gnome-clocks.spec
@@ -1,6 +1,6 @@
 Name:           gnome-clocks
 Version:        3.16.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Clock application designed for GNOME 3
 
 License:        GPLv2+
@@ -18,6 +18,7 @@ BuildRequires:  desktop-file-utils glib2-devel itstool
 BuildRequires:  geoclue2-devel
 BuildRequires:  geocode-glib-devel
 BuildRequires:  gsound-devel
+BuildRequires:  libappstream-glib
 
 %description
 Clock application designed for GNOME 3
@@ -34,6 +35,19 @@ make install DESTDIR=$RPM_BUILD_ROOT
 desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.clocks.desktop
 %find_lang gnome-clocks --with-gnome
 
+# 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/org.gnome.clocks.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/b.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/c.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/d.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/e.png 
+
 %post
 /bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null || :
 
@@ -66,6 +80,9 @@ fi
 
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 3.16.0-2
+- Use better AppData screenshots
+
 * Mon Mar 23 2015 Yanko Kaneti <yaneti at declera.com> - 3.16.0-1
 - Update to 3.16.0
 - Use license macro
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gnome-clocks.git/commit/?h=f22&id=c56587c1c046c479416ecf6186a7624a8d623443


More information about the scm-commits mailing list