From af4a4fa03cea05d2fa0db8bb45e9408bf1dd1a7e Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mar 30 2015 16:43:01 +0000 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 - 2.6.5-2 +- Use better AppData screenshots + * Thu Jan 8 2015 Bill Nottingham - 2.6.5-1 - update to 2.6.5 (#1176892) which fixes guile cache issues (#1151870) and charts (#1157203)