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:
parent
fa5f23d46e
commit
898788a5d7
@ -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
|
||||
|
||||
|
20
grisbi.spec
20
grisbi.spec
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user