homebank/homebank.spec
Christophe Marin 26298b7692 - Update to 5.8.5:
* bugfix: date button shortened in ledger book
- Changes in 5.8.4:
  * bugfix: prevent some problems with xfer and both legder
    window opened
  * bugfix: lp#2083124 account rename doesn't allow case correction
  * bugfix: lp#2081574 windows: budget report date fields not
    showing in their entirety
  * bugfix: lp#2081379 planned split operations are not modified
    after a category merge
  * bugfix: lp#2080864 HomeBank CLI --version or -V no longer
    works in linux
  * bugfix: lp#2080756 balance change from ledger toolbar not
    updated for xfer target
  * bugfix: lp#2080032 your accounts print/export hidden columns
  * bugfix: lp#2079884 ledger window snap half left oversize
  * bugfix: lp#2036404 grouped budget categories not showing
    total amount

OBS-URL: https://build.opensuse.org/package/show/Office/homebank?expand=0&rev=37
2024-10-09 14:20:12 +00:00

92 lines
2.6 KiB
RPMSpec

#
# spec file for package homebank
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: homebank
Version: 5.8.5
Release: 0
Summary: Application to manage personal accounts
License: GPL-2.0-or-later
Group: Productivity/Office/Finance
URL: https://www.gethomebank.org/
Source: https://www.gethomebank.org/public/sources/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: gettext-devel
BuildRequires: intltool
BuildRequires: libofx-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0) >= 2.62
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.8
BuildRequires: pkgconfig(libsoup-3.0) >= 3.0
%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse}
BuildRequires: gcc13
BuildRequires: gcc13-c++
%else
BuildRequires: gcc
BuildRequires: gcc-c++
%endif
%description
HomeBank is an application to manage personal accounts at home. The main
concept is to be light, simple and very easy to use. It brings many
features that allows to analyze finances in a detailed way instantly and
dynamically with powerful report tools based on filtering and graphical
charts.
%lang_package
%prep
%setup -q
%build
%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse}
export CC="gcc-13"
export CXX="g++-13"
%endif
%configure
%make_build
%check
make check
%install
%make_install
%suse_update_desktop_file -G "Personal Accounting" %{name}
%fdupes %{buildroot}%{_datadir}
%find_lang %{name} %{?no_lang_C}
# Application Registry is obsolete since GNOME 2.8.
rm -r %{buildroot}%{_datadir}/application-registry
rm -r %{buildroot}%{_datadir}/mime-info
# Remove duplicate file
rm %{buildroot}%{_datadir}/%{name}/datas/ChangeLog
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/metainfo/%{name}.appdata.xml
%files lang -f %{name}.lang
%changelog