notting pushed to gnucash (f21). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 1 02:23:27 UTC 2015


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


diff --git a/gnucash.spec b/gnucash.spec
index cc03ef9..292c0ff 100644
--- a/gnucash.spec
+++ b/gnucash.spec
@@ -2,7 +2,7 @@ Name: gnucash
 Summary: Finance management application
 Version: 2.6.5
 URL: http://gnucash.org/
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Applications/Productivity
 Source: http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-%{version}.tar.bz2
@@ -18,6 +18,7 @@ BuildRequires: libdbi-dbd-mysql, libdbi-dbd-pgsql, libdbi-dbd-sqlite
 BuildRequires: libtool-ltdl-devel
 BuildRequires: ktoblzcheck-devel
 BuildRequires: libsecret-devel
+BuildRequires: libappstream-glib
 
 Requires: gnucash-docs >= 2.2.0
 Requires: dconf
@@ -64,6 +65,15 @@ rm -rf $RPM_BUILD_ROOT
 
 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/gnucash.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnucash/a.png 
+
 %find_lang %{name}
 
 # vfolder desktop file install stuff
@@ -125,6 +135,9 @@ fi
 %config(noreplace) %{_sysconfdir}/gnucash/*
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 2.6.5-2
+- Use better AppData screenshots
+
 * Thu Jan  8 2015 Bill Nottingham <notting at splat.cc> - 2.6.5-1
 - update to 2.6.5 (#1176892) which fixes guile cache issues (#1151870) and charts (#1157203)
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gnucash.git/commit/?h=f21&id=af4a4fa03cea05d2fa0db8bb45e9408bf1dd1a7e


More information about the scm-commits mailing list