[gnucash] Merge in appdata from upstream.

Bill Nottingham notting at fedoraproject.org
Tue Sep 3 19:03:42 UTC 2013


commit a00f15bc32a752454dbbd611b9daaf44bb776600
Author: Bill Nottingham <notting at redhat.com>
Date:   Tue Sep 3 15:03:26 2013 -0400

    Merge in appdata from upstream.

 gnucash.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gnucash.spec b/gnucash.spec
index bb62cfb..c345a7d 100644
--- a/gnucash.spec
+++ b/gnucash.spec
@@ -4,10 +4,11 @@ Name: gnucash
 Summary: Finance management application
 Version: 2.4.13
 URL: http://gnucash.org/
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Applications/Productivity
 Source: http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-%{version}.tar.bz2
+Source2: gnucash.appdata.xml
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: webkitgtk-devel, libxml2 >= 2.5.10, zlib-devel
 BuildRequires: libgsf-devel >= 1.12.2, goffice-devel < 0.9, swig
@@ -92,6 +93,9 @@ find $RPM_BUILD_ROOT/%{_libdir} -name *.la -exec rm -f {} \;
 
 rm -rf $RPM_BUILD_ROOT/etc/gconf/gconf.xml.defaults
 
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/appdata
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/appdata/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -131,6 +135,7 @@ fi
 %{_libdir}/*
 %exclude /usr/lib/debug
 %{_datadir}/gnucash
+%{_datadir}/appdata/*
 %{_datadir}/applications/*
 %{_datadir}/icons/hicolor/*/apps/*
 %{_mandir}/man*/*
@@ -140,6 +145,9 @@ fi
 %doc doc/README.german doc/README.francais doc/README.OFX doc/README.HBCI
 
 %changelog
+* Tue Sep  3 2013 Bill Nottingham <notting at redhat.com> - 2.4.13-4
+- add appstream metadata from upstream git head
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.13-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list