2012-01-04 14:18:51 +01:00
|
|
|
# vim: set sw=4 ts=4 et:
|
2011-04-29 01:06:06 +02:00
|
|
|
#
|
2011-06-14 16:30:33 +02:00
|
|
|
# spec file for package grisbi
|
|
|
|
#
|
2018-06-14 00:18:11 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-06-14 16:30:33 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2011-04-29 01:06:06 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-01-05 15:32:57 +01:00
|
|
|
|
2011-04-29 01:06:06 +02:00
|
|
|
Name: grisbi
|
2018-06-04 11:16:18 +02:00
|
|
|
Version: 1.0.4
|
2012-01-04 14:18:51 +01:00
|
|
|
Release: 0
|
2011-04-29 01:06:06 +02:00
|
|
|
Summary: Personal Accounting Application
|
2018-06-04 11:16:18 +02:00
|
|
|
License: GPL-2.0-or-later
|
2011-04-29 01:06:06 +02:00
|
|
|
Group: Productivity/Office/Finance
|
2018-06-04 11:16:18 +02:00
|
|
|
URL: http://www.grisbi.org
|
2014-08-09 15:20:48 +02:00
|
|
|
Source: http://downloads.sourceforge.net/project/grisbi/grisbi%20stable/1.0.x/%{name}-%{version}.tar.bz2
|
2018-06-14 00:18:11 +02:00
|
|
|
BuildRequires: cunit-devel
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRequires: fdupes
|
2011-04-29 01:38:52 +02:00
|
|
|
BuildRequires: intltool
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRequires: openssl-devel
|
2018-06-14 00:18:11 +02:00
|
|
|
BuildRequires: pkgconfig
|
2011-04-29 01:38:52 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2018-06-14 00:18:11 +02:00
|
|
|
# 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)
|
2014-08-09 15:20:48 +02:00
|
|
|
BuildRequires: pkgconfig(libofx)
|
2011-04-29 01:06:06 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
|
|
|
|
%description
|
2011-04-29 01:38:52 +02:00
|
|
|
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.
|
2011-04-29 01:06:06 +02:00
|
|
|
|
2011-04-29 01:38:52 +02:00
|
|
|
One notable feature is that it respects French accounting rules.
|
2011-04-29 01:06:06 +02:00
|
|
|
|
|
|
|
%lang_package
|
2018-06-14 00:18:11 +02:00
|
|
|
|
2011-04-29 01:06:06 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2012-01-04 14:18:51 +01:00
|
|
|
--disable-static
|
2018-06-14 00:18:11 +02:00
|
|
|
make %{?_smp_mflags}
|
2011-04-29 01:06:06 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2011-04-29 01:38:52 +02:00
|
|
|
# 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}
|
2011-05-03 18:02:23 +02:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2011-04-29 01:38:52 +02:00
|
|
|
|
2018-06-14 00:18:11 +02:00
|
|
|
%check
|
|
|
|
make %{?_smp_mflags} check
|
2011-04-29 01:06:06 +02:00
|
|
|
|
2018-06-14 03:40:07 +02:00
|
|
|
%if 0%{?suse_version} < 1330
|
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%mime_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%mime_database_postun
|
|
|
|
%endif
|
|
|
|
|
2011-04-29 01:06:06 +02:00
|
|
|
%files
|
2018-06-04 11:16:18 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS NEWS README
|
2011-04-29 01:06:06 +02:00
|
|
|
%{_bindir}/grisbi
|
2018-06-14 00:18:11 +02:00
|
|
|
%{_mandir}/man1/grisbi.1%{?ext_man}
|
2011-04-29 01:06:06 +02:00
|
|
|
%{_datadir}/applications/grisbi.desktop
|
2011-04-29 01:38:52 +02:00
|
|
|
%{_datadir}/doc/grisbi/
|
|
|
|
%{_datadir}/grisbi/
|
|
|
|
%{_datadir}/icons/*/*/apps/grisbi.*
|
2014-08-09 15:20:48 +02:00
|
|
|
%{_datadir}/mime/packages/grisbi.xml
|
2011-04-29 01:38:52 +02:00
|
|
|
%{_datadir}/pixmaps/grisbi/
|
2011-04-29 01:06:06 +02:00
|
|
|
|
2011-04-29 01:38:52 +02:00
|
|
|
%files lang -f %{name}.lang
|
2011-04-29 01:06:06 +02:00
|
|
|
|
2011-04-29 01:38:52 +02:00
|
|
|
%changelog
|