File grisbi.spec of Package grisbi

# vim: set sw=4 ts=4 et:
# spec file for package grisbi
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           grisbi
Version:        1.0.4
Release:        0
Summary:        Personal Accounting Application
License:        GPL-2.0-or-later
Group:          Productivity/Office/Finance
BuildRequires:  cunit-devel
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  openssl-devel
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtk+-2.0)
# Disabled as we do not want to depend on this old compat version - next major grisbi release will depend on new libgoffice
#BuildRequires:  pkgconfig(libgoffice-0.8)
BuildRequires:  pkgconfig(libofx)
BuildRequires:  pkgconfig(libxml-2.0)
Recommends:     %{name}-lang

Grisbi is a personal accounting application, aiming at providing the most
simple and intuitive software for basic use, although it can be very powerful
if you spend a little time on the setup.

One notable feature is that it respects French accounting rules.


%setup -q

%configure \
make %{?_smp_mflags}

# Those files are deprecated and not needed anymore
rm %{buildroot}%{_datadir}/mime-info/grisbi.{keys,mime}
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes -s %{buildroot}%{_datadir}

make %{?_smp_mflags} check

%if 0%{?suse_version} < 1330


%license COPYING

%files lang -f %{name}.lang