notting pushed to gnucash (f20). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 1 02:25:46 UTC 2015
>From 13712a3d471a96920953b170c1f68a3dd3541fc6 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 f3926cb..b9b529a 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
@@ -17,6 +17,7 @@ BuildRequires: python-devel, libdbi-devel
BuildRequires: libdbi-dbd-mysql, libdbi-dbd-pgsql, libdbi-dbd-sqlite
BuildRequires: libtool-ltdl-devel
BuildRequires: ktoblzcheck-devel
+BuildRequires: libappstream-glib
Requires: gnucash-docs >= 2.2.0
Requires: dconf
@@ -59,6 +60,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
@@ -120,6 +130,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=f20&id=13712a3d471a96920953b170c1f68a3dd3541fc6
More information about the scm-commits
mailing list