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

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


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


diff --git a/gnome-tweak-tool.spec b/gnome-tweak-tool.spec
index 5b62471..8ff0b9f 100644
--- a/gnome-tweak-tool.spec
+++ b/gnome-tweak-tool.spec
@@ -2,7 +2,7 @@
 
 Name:           gnome-tweak-tool
 Version:        3.16.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A tool to customize advanced GNOME 3 options
 
 License:        GPLv3
@@ -15,6 +15,7 @@ BuildRequires:  pkgconfig(gsettings-desktop-schemas)
 BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(pygobject-3.0)
 BuildRequires:  desktop-file-utils
+BuildRequires:  libappstream-glib
 Requires:       gnome-shell
 Requires:       gnome-shell-extension-user-theme
 Requires:       pygobject3
@@ -48,6 +49,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/gnome-tweak-tool.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/b.png 
+
 %find_lang %{name}
 
 
@@ -84,6 +95,9 @@ fi
 
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 3.16.0-2
+- Use better AppData screenshots
+
 * Tue Mar 24 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-tweak-tool.git/commit/?h=master&id=b6b51cf67c1bded18b723a937a0cd9163f09a7ca


More information about the scm-commits mailing list