Accepting request 594077 from GNOME:Apps
OBS-URL: https://build.opensuse.org/request/show/594077 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash?expand=0&rev=72
This commit is contained in:
parent
1d18b3f322
commit
998603c009
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:758adf10a75abfabc0b0d9a4858c0b79438c3e2157f4240e1a84a6b93d1111c3
|
||||
size 19237701
|
3
gnucash-3.0.tar.bz2
Normal file
3
gnucash-3.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c754476a5b80a97abacaeadac64fefc5a68fcfec15967908dbe3c9f7370dbb9
|
||||
size 13366724
|
@ -1,8 +1,8 @@
|
||||
Index: src/quotes/gnc-fq-update.in
|
||||
Index: libgnucash/quotes/gnc-fq-update.in
|
||||
===================================================================
|
||||
--- src/quotes/gnc-fq-update.in.orig
|
||||
+++ src/quotes/gnc-fq-update.in
|
||||
@@ -24,11 +24,36 @@
|
||||
--- a/libgnucash/quotes/gnc-fq-update.in
|
||||
+++ b/libgnucash/quotes/gnc-fq-update.in
|
||||
@@ -24,11 +24,39 @@
|
||||
use strict;
|
||||
use CPAN;
|
||||
|
||||
@ -13,6 +13,8 @@ Index: src/quotes/gnc-fq-update.in
|
||||
+print "\n";
|
||||
+print "It is strongly recommended NOT TO USE this program and report possible\n";
|
||||
+print "problems with parsing of stock quotes to http://bugzilla.novell.com/\n";
|
||||
+print "\n";
|
||||
+print "Please use the Perl packages provided by the distribution instead!\n";
|
||||
+print "\n\n";
|
||||
+
|
||||
+print "Do you want to continue? (y/n) ";
|
||||
@ -30,6 +32,7 @@ Index: src/quotes/gnc-fq-update.in
|
||||
+chomp ($input);
|
||||
+
|
||||
+exit 0 if ($input ne "n");
|
||||
+
|
||||
+
|
||||
if ($( != 0) {
|
||||
print "\n";
|
||||
|
@ -1,4 +1,7 @@
|
||||
# This line is mandatory to access the configuration functions
|
||||
from Config import *
|
||||
|
||||
addFilter("gnucash devel-file-in-non-devel-package .*/lib.*.so")
|
||||
addFilter("gnucash.* devel-file-in-non-devel-package .*/usr/lib.*\.so")
|
||||
addFilter("gnucash.* non-executable-script .*/usr/share/gnucash/python/pycons/.*\.py")
|
||||
# Splitting the shared libs is not desired at the moment
|
||||
addFilter("gnucash.* shlib-policy-missing-suffix")
|
295
gnucash.changes
295
gnucash.changes
@ -1,3 +1,298 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 4 00:52:58 UTC 2018 - luc14n0@linuxmail.org
|
||||
|
||||
- Update to version 3.0:
|
||||
+ New Features:
|
||||
- New editors to remove outdated or incorrect match data from
|
||||
the import maps, a new user interfacs for managing files
|
||||
associated with transactions, an improved facility for
|
||||
removing old prices from the price database, and a way to
|
||||
remove deleted files from the history list in the file menu.
|
||||
- New Reports: A Reconciliation Report based on the Transaction
|
||||
Report, an Income GST Report, and a Cashflow Barchart report.
|
||||
- A new CSV importer largely rewritten in C++, adding new
|
||||
features including the ability to re-import CSV files
|
||||
exported from GnuCash, along with a separate CSV price
|
||||
importer.
|
||||
- A new preference panel for the Alphavantage API key so that
|
||||
Finance::Quote users need not edit /etc/gnucash/environment.
|
||||
- Data file directories are now located appropriately to the
|
||||
operating system's conventions by default:
|
||||
$XDG_CONFIG_HOME/gnucash (or the default $HOME/.config/\
|
||||
gnucash).
|
||||
- Accounts in the Bayes import map are now linked by GUID
|
||||
instead of names so that the matcher won't have to be
|
||||
retrained if you rename an account.
|
||||
- MySQL and SQLite3 date storage has changed a bit. Once
|
||||
converted, MySQL and SQLite3 database will be loadable only
|
||||
by GnuCash 2.6.19 and later.
|
||||
- Numerics are rewritten to allow for more significant digits.
|
||||
The old 6-digit-maximum fraction is now 9-digits, and prices
|
||||
may have up to 18 digit precision.
|
||||
- Transaction Report improvements, including regular expression
|
||||
filtering and many more options and features.
|
||||
- The About dialog box layout is improved and now includes the
|
||||
detected Finance::Quote version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 27 02:44:09 UTC 2018 - luc14n0@linuxmail.org
|
||||
|
||||
- Update to version 2.7.8:
|
||||
+ Bugs fixed:
|
||||
- Segmentation Fault in Transfer dialog after clearing Date
|
||||
field and pressing escape (bgo#787439).
|
||||
- Remove keep above setting for assistant hierarchy
|
||||
(bgo#794242).
|
||||
+ Other fixes:
|
||||
- Test for Key_file not being NULL before trying to free it.
|
||||
- Stop critical error due to testing null filename
|
||||
g_filename_from_uri returns NULL if it is not a file uri so
|
||||
test for the file:// prefix before doing g_file_test.
|
||||
- More transient-parent fixes.
|
||||
- Add missing response section to the account picker dialog.
|
||||
- Glade 3.20 adds surplus padding option to action area.
|
||||
When glade files are saved which have GtkAssistants defined
|
||||
a packing section is added to the assistant action area which
|
||||
then causes a warning so remove them.
|
||||
- Add XML namespaces for all Account Hierarchy Templates.
|
||||
- Increase default options dialog size: The old 400x400 was
|
||||
woefully inadequate for most options especially options
|
||||
involving account trees.
|
||||
- Changes from version 2.7.7:
|
||||
+ Bugs fixed:
|
||||
- Segmentation Fault in Transfer dialog after clearing Date
|
||||
field and pressing escape (bgo#787439).
|
||||
- Add python3 support (bgo#791831).
|
||||
- Remove keep above setting for assistant hierarchy
|
||||
(bgo#794242).
|
||||
+ Other fixes:
|
||||
- Fix date corruption in SQL load. Four date elements were
|
||||
affected: GncEntry::date, GncEntry::date_entered,
|
||||
GncInvoice::opened, and GncInvoice::posted. This does not
|
||||
affect the stored values of the dates.
|
||||
- Fix lost Bayesian matches in SQL backend. The
|
||||
import-map-bayes uses a three-part key that uses the same
|
||||
delimiter as a path and the SQL backend was throwing away
|
||||
everything except the account guid.
|
||||
- More transient-window fixes and other Gtk3 cleanups.
|
||||
- Add xmlns namespace declarations to all of the accounts
|
||||
templates that lacked it and remove the emacs mode-setting
|
||||
comments at the end of them.
|
||||
+ Updated translations.
|
||||
- Pass COMPILE_GSCHEMAS=OFF to cmake to disable gschemas
|
||||
compilation as this is delegated to Glib's RPM file triggers.
|
||||
- Add python3-devel BuildRequires, readd Python bindings now
|
||||
that Python 3 support is provided and Recommend the subpackage.
|
||||
- Update package summaries and description to show more explicitly
|
||||
their contents.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 04:29:31 UTC 2018 - luc14n0@linuxmail.org
|
||||
|
||||
- Pass CMAKE_BUILD_WITH_INSTALL_RPATH to cmake since GnuCash won't
|
||||
be ran from the build tree, and to avoid occasionally relinking
|
||||
failures.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 12 23:17:23 UTC 2018 - luc14n0@linuxmail.org
|
||||
|
||||
- Update to version 2.7.6:
|
||||
+ New Features:
|
||||
- Modernise chart colours from the dated CSS defaults to modern
|
||||
colours as suggested by http://clrs.cc/.
|
||||
- Add "Subtotal Summary Grid" to the Transaction Report.
|
||||
+ Bugs fixed: bgo#764245, bgo#793460, bgo#793467, bgo#793699,
|
||||
bgo#793900, bgo#793941, bgo#793947, bgo#794031, bgo#794083 and
|
||||
bgo#794137.
|
||||
+ Other fixes:
|
||||
- Csv imp settings - internalize prefix handling.
|
||||
- Csv import - improve memory handling in the assistant class.
|
||||
- Add some background info on memory management in CSV
|
||||
importers. As the assistant code combines multiple memory
|
||||
management models care should be taken not to mix them up.
|
||||
The notes should give some insights in how to do this.
|
||||
- Lots of transient parent warnings fixed.
|
||||
- Fix Segmentation fault when going to File->New.
|
||||
- Speed up GUID equality comparison.
|
||||
- With register obscured the sheet kept being redrawn.
|
||||
+ Updated translations.
|
||||
- Add libboost_system-devel BuildRequires: new dependency.
|
||||
- Drop intltool BuildRequires following upstream migration to
|
||||
Gettext.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:30:27 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 12:58:44 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 2.7.5:
|
||||
+ Locate all user data and configuration files to
|
||||
platform-dependent standard locations ($XDG_CONFIG_HOME/gnucash
|
||||
(or the default $HOME/.config/gnucash))
|
||||
- GnuCash currently uses the following files in this directory:
|
||||
. log.conf (to set what gets logged to gnucash.trace).
|
||||
. config-user.scm (to add custom scheme code like custom
|
||||
reports; replaces config.user and config-.user).
|
||||
. gtk-3.0.css (For theming)
|
||||
+ Further improvements to the Transaction and
|
||||
Income-GST-statement reports.
|
||||
+ Transaction Report: omit display of $0 in subtotals in other
|
||||
currencies. Previously in dual-subtotal columns, the
|
||||
dual-subtotal would attempt to print all commodities in the
|
||||
row. This meant if user chose common-currency thereby
|
||||
triggering additional commodities, the dual-subtotal would
|
||||
attempt to add amounts in other commodities which would be 0,
|
||||
and display the 0 amount.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 24 23:31:46 UTC 2017 - luc14n0@linuxmail.org
|
||||
|
||||
- Update to version 2.7.4:
|
||||
+ New Features For Users:
|
||||
- A new preference panel for the Alphavantage API key so that
|
||||
Finance::Quote users need not edit /etc/gnucash/environment.
|
||||
- The detected Finance::Quote version is displayed in the About
|
||||
box.
|
||||
- Removed all references to the various Yahoo! quote sources
|
||||
and made Alphavantage the default.
|
||||
+ Bugs fixed: bgo#787497, bgo#790526, bgo#790845, bgo#792106,
|
||||
bgo#792809 and bgo#792947.
|
||||
+ Other fixes:
|
||||
- Some Guile 2.2 issues are resolved.
|
||||
- Some bugs in the new Transaction Report.
|
||||
- Correct setting of WebKit version during configuration when
|
||||
the version is cached.
|
||||
- The change to the Average Cost calulation introduced in
|
||||
2.6.12 is reverted (bgo#775368).
|
||||
- Fix appstream id as per the appstream recommendation.
|
||||
- Fix incorrect minimum dates in the net-linechart and
|
||||
net-barchart reports.
|
||||
- Fix a report crash if the Account Depth is too low.
|
||||
+ Updated translations.
|
||||
- Changes from version 2.7.3:
|
||||
+ New Features For Users:
|
||||
- A greatly enhanced Transaction report with many new options
|
||||
and features.
|
||||
- Removed 6-figure rounding from price calculations, allowing
|
||||
prices to have up to 18 digit precision.
|
||||
- A flatter storage scheme for Bayes account-matching scores.
|
||||
- A CSV Price importer.
|
||||
- Enhanced python bindings exposing more GnuCash API.
|
||||
+ Bugs fixed: bgo#616709, bgo#771667, bgo#787497, bgo#790526,
|
||||
bgo#791848, bgo#787497, bgo#789928 and bgo#790620.
|
||||
+ Other fixes:
|
||||
- More dialogs are made "transient for" so that they pop up
|
||||
centered on the main Gnucash window.
|
||||
- Added a framework for migrating preferences.
|
||||
- Make the splash/lock screen the transient parent for dialog
|
||||
boxes if the main window is not yet mapped.
|
||||
- Adapter for new flat KVP scheme for bayes import maps to be
|
||||
introduced in 3.0.
|
||||
- A better way to handle MySQL's 0000-00-00 invalid date
|
||||
indicator.
|
||||
- Improve type of bank accounts in SKR03.
|
||||
+ Updated translations.
|
||||
- Update to version 2.7.2:
|
||||
+ Bugs fixed: bgo#734865, bgo#778692, bgo#784623, bgo#789608,
|
||||
bgo#789928 and bgo#790550.
|
||||
+ Other fixes:
|
||||
- SQL parameter quoting is corrected in the backend so that
|
||||
only string parameters are quoted.
|
||||
- SQL table versions weren't set consistently and a bogus
|
||||
version test could cause some tables to be not loaded.
|
||||
- Better, more targeted handling of MySQL's penchant for
|
||||
setting date-time fields.
|
||||
- Major repairs to the "Dense Calendar" date selector.
|
||||
- Fix colors on graph reports.
|
||||
- Two large batches of styling fixes for Gtk3.
|
||||
- Convert the graphical reports to use GnuCash's rational
|
||||
numbers instead of doubles for better accuracy.
|
||||
- Changes from version 2.7.1:
|
||||
+ Bug fixed: Prompt for file history update leads to crash during
|
||||
startup (bgo#789298).
|
||||
+ Other fixes:
|
||||
- GnuCash no longer crashes when loading price data.
|
||||
- The Options Dialogs will appear over the application window
|
||||
instead of wherever Gdk decides is coordinates 0, 0 on the
|
||||
display.
|
||||
- Link correctly owners to invoices in the SQL backend.
|
||||
- Fix Reconcile dialog always showing a 0 ending balance.
|
||||
- Fix the book being always marked dirty at startup if it
|
||||
contained any scheduled transactions.
|
||||
- Changes from version 2.7.0:
|
||||
+ New Features For Users:
|
||||
- There's a new CSV importer largely rewritten in C++, adding
|
||||
some new features.
|
||||
- Data file directories are now located appropriately to the
|
||||
operating system's conventions by default.
|
||||
- Accounts in the Bayes import map are now linked by GUID
|
||||
instead of names so that the matcher won't have to be
|
||||
retrained if you rename an account. THIS WILL MAKE YOUR FILE
|
||||
UNREADABLE BY PREVIOUS VERSIONS OF GNUCASH. There's a new
|
||||
editor to remove outdated or incorrect match data from the
|
||||
import maps, a new user interfacs for managing files
|
||||
associated with transactions, an improved facility for
|
||||
removing old prices from the price database, and a way to
|
||||
remove deleted files from the history list in the file menu.
|
||||
- Numerics are rewritten to allow for more significant
|
||||
digits.
|
||||
- New Income GST Report and some improvements to the
|
||||
Transaction report.
|
||||
+ Bugs fixed: bgo# 87652, bgo#120250, bgo#122895, bgo#343227,
|
||||
bgo#541541, bgo#608098, bgo#639401, bgo#647230, bgo#679791,
|
||||
bgo#684719, bgo#689489, bgo#695610, bgo#706021, bgo#726535,
|
||||
bgo#728136, bgo#729001, bgo#731589, bgo#733186, bgo#734168,
|
||||
bgo#737171, bgo#738462, bgo#738477, bgo#741810, bgo#747377,
|
||||
bgo#752686, bgo#754530, bgo#754533, bgo#756373, bgo#757532,
|
||||
bgo#759674, bgo#760107, bgo#764268, bgo#769115, bgo#769576,
|
||||
bgo#778042 and bgo#780845.
|
||||
+ Updated Guide translations.
|
||||
- Drop automake and libtool BuildRequires, and add cmake and ninja.
|
||||
Replace configure, make and make_install macros by cmake,
|
||||
make_jobs and cmake_install. And pass: DCMAKE_SKIP_RPATH=OFF,
|
||||
CMAKE_INSTALL_DOCDIR=%{_docdir}/%{name},
|
||||
GMOCK_ROOT=%{_includedir}/gmock and
|
||||
GTEST_ROOT=%{_includedir}/gtest options to cmake. All of these
|
||||
changes reflect the upstream port to CMake build system.
|
||||
- Drop python-devel BuildRequires and python-gnucash subpackage as
|
||||
python 3 support is not available.
|
||||
- Drop gconf-2.0, gtkmm-2.4, gwengui-gtk2 and libgnomeui-2.0
|
||||
pkgconfig modules and slib as build requirements: they are no
|
||||
longer dependencies.
|
||||
- Drop guile, perl-Crypt-SSLeay, perl-HTML-Parser,
|
||||
perl-HTML-TableExtract, perl-libwww-perl and slib Requires:
|
||||
they are no longer run time requirements anymore.
|
||||
- Replace perl-Date-Manip and perl-Finance-Quote Requires tag with
|
||||
perl(Date::Manip) perl(Finance::Quote) Recommends and add
|
||||
iso-codes as recomendation too: the first two are used for online
|
||||
price retrieval and are not necessary to run GnuCash, and the
|
||||
third is for translation of currency names.
|
||||
- Add gmock, gtest, and date_time, filesystem, headers, locale
|
||||
and regex libboost_*-devel packages, makeinfo and xsltproc; and
|
||||
glib-2.0, gio-2.0, gobject-2.0, gmodule-2.0, gthread-2.0,
|
||||
icu-i18n, icu-uc and ktoblzcheck pkgconfig modules as new build
|
||||
time dependencies.
|
||||
- Replace libdbi-devel with pkgconfig(dbi) now that its pkgconfig
|
||||
module is available, pkgconfig(gtk+-2.0) with *(gtk+-3.0) and
|
||||
pkgconfig(webkit-1.0) with *(webkit2gtk-4.0), using their newer
|
||||
versions and following upstream changes.
|
||||
- Move to guile-2.2 replacing pkgconfig(guile-2.0) BuildRequires
|
||||
with guile-devel: this allows flexibility with the guile-version
|
||||
that can be built against.
|
||||
- Drop %glib2_gsettings_schema_requires macro: it is no longer a
|
||||
requirement since RPM File Triggers cover its functionality now.
|
||||
- Remove unneeded %clean section as RPM already does this work
|
||||
itself.
|
||||
- Drop update-desktop-files BuildRequires and its macro: it is no
|
||||
longer required.
|
||||
- Add shlib-policy-missing-suffix filter to rpmlintrc since
|
||||
splitting the shared libraries does not make sense at the moment.
|
||||
- Update package descriptions shortening it.
|
||||
- Rebase gnucash-cpan-warning.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 21 01:02:30 UTC 2017 - luc14n0@linuxmail.org
|
||||
|
||||
|
215
gnucash.spec
215
gnucash.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gnucash
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,155 +16,132 @@
|
||||
#
|
||||
|
||||
|
||||
%define __builder ninja
|
||||
Name: gnucash
|
||||
Version: 2.6.19
|
||||
Version: 3.0
|
||||
Release: 0
|
||||
Summary: Personal Finance Manager
|
||||
License: SUSE-GPL-2.0-with-openssl-exception or SUSE-GPL-3.0-with-openssl-exception
|
||||
License: SUSE-GPL-2.0-with-openssl-exception OR SUSE-GPL-3.0-with-openssl-exception
|
||||
Group: Productivity/Office/Finance
|
||||
Url: http://www.gnucash.org/
|
||||
Source: https://download.sourceforge.net/gnucash/%{name}-%{version}.tar.gz
|
||||
URL: http://www.gnucash.org/
|
||||
Source: https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-rpmlintrc
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
||||
## Cpan-warning patch must always be applied.
|
||||
# PATCH-FIX-UPSTREAM gnucash-cpan-warning.patch -- Add a warning about the danger of using gnc-fq-update to update the perl modules used by GnuCash.
|
||||
Patch0: gnucash-cpan-warning.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libdbi-devel
|
||||
BuildRequires: gmock >= 1.8.0
|
||||
BuildRequires: gtest >= 1.8.0
|
||||
BuildRequires: guile-devel >= 2.0.0
|
||||
BuildRequires: libboost_date_time-devel >= 1.54.0
|
||||
BuildRequires: libboost_filesystem-devel >= 1.54.0
|
||||
BuildRequires: libboost_headers-devel >= 1.54.0
|
||||
BuildRequires: libboost_locale-devel >= 1.54.0
|
||||
BuildRequires: libboost_regex-devel >= 1.54.0
|
||||
BuildRequires: libboost_system-devel >= 1.54.0
|
||||
BuildRequires: libdbi-drivers-dbd-sqlite3
|
||||
BuildRequires: libofx-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: python-devel >= 2.4
|
||||
BuildRequires: slib
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(aqbanking)
|
||||
BuildRequires: pkgconfig(gconf-2.0)
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: xsltproc
|
||||
BuildRequires: pkgconfig(aqbanking) >= 4.0.0
|
||||
BuildRequires: pkgconfig(dbi) >= 0.8.3
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gnome-keyring-1)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtkmm-2.4) >= 2.24
|
||||
BuildRequires: pkgconfig(guile-2.0) >= 2.0.0
|
||||
BuildRequires: pkgconfig(gwengui-gtk2)
|
||||
BuildRequires: pkgconfig(gwenhywfar)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.40
|
||||
BuildRequires: pkgconfig(gmodule-2.0) >= 2.40
|
||||
BuildRequires: pkgconfig(gnome-keyring-1) >= 0.6
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.40
|
||||
BuildRequires: pkgconfig(gthread-2.0) >= 2.40
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10.0
|
||||
BuildRequires: pkgconfig(gwenhywfar) >= 3.99.20
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
BuildRequires: pkgconfig(icu-uc)
|
||||
BuildRequires: pkgconfig(ktoblzcheck)
|
||||
BuildRequires: pkgconfig(libglade-2.0)
|
||||
BuildRequires: pkgconfig(libgnomeui-2.0)
|
||||
BuildRequires: pkgconfig(libgoffice-0.8) >= 0.7.0
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(libofx) >= 0.9.0
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.0
|
||||
BuildRequires: pkgconfig(libxslt)
|
||||
BuildRequires: pkgconfig(webkit-1.0)
|
||||
#BuildRequires: callgrind
|
||||
# tested but unused BuildRequires: readline-devel qt3-devel termcap
|
||||
Requires: guile
|
||||
# Required to make quotes working. Gnucash can run without quotes support:
|
||||
Requires: perl-Crypt-SSLeay
|
||||
Requires: perl-Date-Manip
|
||||
Requires: perl-Finance-Quote
|
||||
Requires: perl-HTML-Parser
|
||||
Requires: perl-HTML-TableExtract
|
||||
Requires: perl-libwww-perl
|
||||
# the python bindings are split out for potential other consumers
|
||||
Requires: python-gnucash >= %{version}
|
||||
Requires: slib
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
Recommends: %{name}-docs
|
||||
Recommends: %{name}-lang
|
||||
Recommends: gnucash-docs
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%glib2_gsettings_schema_requires
|
||||
# For translation of currency names
|
||||
Recommends: iso-codes
|
||||
Recommends: python3-gnucash = %{version}
|
||||
# Optional perl modules for online price retrieval
|
||||
Recommends: perl(Date::Manip)
|
||||
Recommends: perl(Finance::Quote)
|
||||
|
||||
%description
|
||||
GnuCash is a personal finance manager. A check book-like register GUI
|
||||
allows you to enter and track bank accounts, stocks, income, and even
|
||||
currency trades. A full set of reports allows you to see the state
|
||||
of your finances. The interface is designed to be simple and easy to
|
||||
use, but is backed with double-entry accounting principles to
|
||||
ensure balanced books.
|
||||
currency trades.
|
||||
|
||||
%package -n python-gnucash
|
||||
Feature Highlights:
|
||||
|
||||
* Double-Entry Accounting;
|
||||
* Stock/Bond/Mutual Fund Accounts;
|
||||
* Small-Business Accounting;
|
||||
* Reports, Graphs;
|
||||
* QIF/OFX/HBCI Import, Transaction Matching;
|
||||
* Scheduled Transactions;
|
||||
* Financial Calculations.
|
||||
|
||||
%package -n python3-gnucash
|
||||
Summary: Python bindings for GnuCash
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
%py_requires
|
||||
|
||||
%description -n python-gnucash
|
||||
GnuCash is a personal finance manager. A check-book like register GUI
|
||||
allows you to enter and track bank accounts, stocks, income and even
|
||||
currency trades. A full set of reports allow you to see the state of
|
||||
your finances. The interface is designed to be simple and easy to use,
|
||||
but is backed with double-entry accounting principles to ensure
|
||||
balanced books.
|
||||
%description -n python3-gnucash
|
||||
This package provides the Python bindings for development of GnuCash,
|
||||
a personal finance manager, in Python 3.
|
||||
|
||||
%package devel
|
||||
Summary: Personal Finance Manager
|
||||
Summary: Development files for GnuCash
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: gtk2-devel
|
||||
Requires: guile-devel
|
||||
Requires: libglade2-devel
|
||||
Requires: libgnomeui-devel
|
||||
|
||||
%description devel
|
||||
GnuCash is a personal finance manager. A check-book like register GUI
|
||||
allows you to enter and track bank accounts, stocks, income and even
|
||||
currency trades. A full set of reports allow you to see the state of
|
||||
your finances. The interface is designed to be simple and easy to use,
|
||||
but is backed with double-entry accounting principles to ensure
|
||||
balanced books.
|
||||
This package provides all the necessary files for development of GnuCash,
|
||||
a personal finance manager.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# This patch must be applied:
|
||||
%patch0
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure\
|
||||
--libexecdir=%{_libexecdir}\
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--enable-ofx\
|
||||
--enable-aqbanking\
|
||||
--enable-locale-specific-tax\
|
||||
--enable-html-docs\
|
||||
--with-html-engine=webkit\
|
||||
--enable-dbi\
|
||||
--enable-gtkmm\
|
||||
--enable-python
|
||||
make %{?_smp_mflags}
|
||||
%cmake \
|
||||
-DCMAKE_SKIP_RPATH=OFF \
|
||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
|
||||
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
|
||||
-DGMOCK_ROOT=%{_includedir}/gmock \
|
||||
-DGTEST_ROOT=%{_includedir}/gtest \
|
||||
-DWITH_PYTHON=ON \
|
||||
-DCOMPILE_GSCHEMAS=OFF
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%suse_update_desktop_file gnucash
|
||||
%find_lang gnucash %{?no_lang_C}
|
||||
%cmake_install
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
%fdupes %{buildroot}%{_libdir}
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
%fdupes %{buildroot}%{python_sitearch}
|
||||
# Remove MS-Windows-related files and auto-installed LICENSE file
|
||||
rm %{buildroot}%{_docdir}/%{name}/README*win32-bin.txt
|
||||
rm %{buildroot}%{_docdir}/%{name}/LICENSE
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%glib2_gsettings_schema_post
|
||||
%if 0%{?suse_version} > 1130
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
%endif
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%glib2_gsettings_schema_postun
|
||||
%if 0%{?suse_version} > 1130
|
||||
%desktop_database_postun
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%doc AUTHORS COPYING LICENSE README
|
||||
%license LICENSE
|
||||
%{_bindir}/gnc-fq-*
|
||||
%{_bindir}/gnucash
|
||||
%{_bindir}/gnucash-env
|
||||
%{_bindir}/gnucash-make-guids
|
||||
%{_bindir}/gnucash-valgrind
|
||||
%dir %{_datadir}/appdata
|
||||
%{_datadir}/appdata/gnucash.appdata.xml
|
||||
@ -173,29 +150,23 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/gnucash/
|
||||
%{_datadir}/icons/hicolor/*/apps/gnucash-icon.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/gnucash-icon.svg
|
||||
%{_docdir}/%{name}
|
||||
%{_libdir}/*.so.*
|
||||
# Required by slib for many libraries:
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_libdir}/*.so
|
||||
# NOTE: .la files are required by ltdl in the main package (skip-check-libtool-deps)
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/gnucash
|
||||
%doc %{_mandir}/man?/*.*
|
||||
%if "%{_libdir}" != "%{_libexecdir}"
|
||||
%{_libexecdir}/gnucash
|
||||
%endif
|
||||
%{_mandir}/man?/*%{?ext_man}
|
||||
%dir %{_sysconfdir}/gnucash
|
||||
%config %{_sysconfdir}/gnucash/config
|
||||
%config %{_sysconfdir}/gnucash/environment
|
||||
%exclude %{_datadir}/gnucash/python
|
||||
|
||||
%files -n python-gnucash
|
||||
%defattr (-, root, root)
|
||||
%{python_sitearch}/gnucash/
|
||||
%files -n python3-gnucash
|
||||
%{_datadir}/gnucash/python
|
||||
%dir %{python3_sitearch}/gnucash
|
||||
%{python3_sitearch}/gnucash
|
||||
|
||||
%files devel
|
||||
%defattr (-, root, root)
|
||||
%doc ChangeLog README
|
||||
%{_includedir}/gnucash/
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user