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

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 16:35:14 UTC 2015


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


diff --git a/d-feet.spec b/d-feet.spec
index 766143d..e9188c4 100644
--- a/d-feet.spec
+++ b/d-feet.spec
@@ -1,6 +1,6 @@
 Name: d-feet 
 Version: 0.3.9
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A powerful D-Bus Debugger
 Group: Development/Tools
 License: GPLv2+
@@ -18,6 +18,7 @@ BuildRequires: gtk3-devel
 BuildRequires: intltool
 BuildRequires: itstool
 BuildRequires: python-pep8
+BuildRequires: libappstream-glib
 Requires: libwnck3
 Requires: pygobject3
 
@@ -38,6 +39,16 @@ 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/d-feet.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/b.png 
+
 %find_lang d-feet --with-gnome
 
 %check
@@ -70,6 +81,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/icons/HighContrast/scalable/apps/d-feet.svg
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 0.3.9-2
+- Use better AppData screenshots
+
 * Sun Jun 08 2014 Kalev Lember <kalevlember at gmail.com> - 0.3.9-1
 - Update to 0.3.9
 - Include the appdata file
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/d-feet.git/commit/?h=master&id=96ea4fdea8a8a7bd3ae8d57c43ea07e14c3ad0b3


More information about the scm-commits mailing list