rhughes pushed to gnome-photos (master). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 16:44:07 UTC 2015


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


diff --git a/gnome-photos.spec b/gnome-photos.spec
index 6e252ec..81c0e40 100644
--- a/gnome-photos.spec
+++ b/gnome-photos.spec
@@ -4,7 +4,7 @@
 Name:          gnome-photos
 Summary:       Access, organize and share your photos on GNOME
 Version:       3.16.0
-Release:       1%{?dist}
+Release:       2%{?dist}
 URL:           https://live.gnome.org/GnomePhotos
 
 # GNOME Photos itself is GPLv2+, but the bundled libgd is LGPLv2+
@@ -32,6 +32,7 @@ BuildRequires: libgdata-devel >= %{gdata_version}
 BuildRequires: librsvg2-devel => 2.26.0
 BuildRequires: tracker-devel >= 0.17.0
 BuildRequires: gfbgraph-devel
+BuildRequires: libappstream-glib
 
 Requires:      ImageMagick
 Requires:      dleyna-renderer
@@ -68,6 +69,16 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p"
 
+# 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.Photos.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Photos/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Photos/b.png 
+
 # Upstream doesn't install with desktop-file-install, so let's check
 desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Photos.desktop
 
@@ -108,6 +119,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 Kalev Lember <kalevlember at gmail.com> - 3.16.0-1
 - Update to 3.16.0
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gnome-photos.git/commit/?h=master&id=93688ba74b480e6049b10db698eec5fce098632b


More information about the scm-commits mailing list