SHA256
1
0
forked from pool/grisbi

Accepting request 616352 from home:iznogood:branches:GNOME:Apps

- Disable optional pkgconfig(libgoffice-0.8) BuildRequires, we do
  not want to depend on this compat package anymore.
- Enable cunit-devel BuildRequires and make check, run tests.
- Run spec-cleaner.

OBS-URL: https://build.opensuse.org/request/show/616352
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/grisbi?expand=0&rev=25
This commit is contained in:
Bjørn Lie 2018-06-13 22:18:11 +00:00 committed by Git OBS Bridge
parent fa5f23d46e
commit 898788a5d7
2 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jun 12 16:14:26 UTC 2018 - bjorn.lie@gmail.com
- Disable optional pkgconfig(libgoffice-0.8) BuildRequires, we do
not want to depend on this compat package anymore.
- Enable cunit-devel BuildRequires and make check, run tests.
- Run spec-cleaner.
-------------------------------------------------------------------
Mon Jun 4 07:04:11 UTC 2018 - bjorn.lie@gmail.com

View File

@ -2,7 +2,7 @@
#
# spec file for package grisbi
#
# 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
@ -25,14 +25,16 @@ License: GPL-2.0-or-later
Group: Productivity/Office/Finance
URL: http://www.grisbi.org
Source: http://downloads.sourceforge.net/project/grisbi/grisbi%20stable/1.0.x/%{name}-%{version}.tar.bz2
# Needed for make check
#BuildRequires: cunit-devel
BuildRequires: cunit-devel
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libgoffice-0.8)
# 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
@ -45,13 +47,14 @@ if you spend a little time on the setup.
One notable feature is that it respects French accounting rules.
%lang_package
%prep
%setup -q
%build
%configure \
--disable-static
make %{?jobs:-j%{jobs}}
make %{?_smp_mflags}
%install
%make_install
@ -61,15 +64,14 @@ rm %{buildroot}%{_datadir}/mime-info/grisbi.{keys,mime}
%find_lang %{name} %{?no_lang_C}
%fdupes -s %{buildroot}%{_datadir}
# We need cunit for this
#%%check
#make check
%check
make %{?_smp_mflags} check
%files
%license COPYING
%doc AUTHORS NEWS README
%{_bindir}/grisbi
%doc %{_mandir}/man1/grisbi.1%{?ext_man}
%{_mandir}/man1/grisbi.1%{?ext_man}
%{_datadir}/applications/grisbi.desktop
%{_datadir}/doc/grisbi/
%{_datadir}/grisbi/