File aqfinance.spec of Package aqfinance
#
# spec file for package aqfinance
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: aqfinance
Version: 0.9.133
Release: 0
Summary: A graphical finance manager
License: GPL-2.0-only
Group: Productivity/Office/Finance
URL: https://www.aquamaniac.de/sites/aqfinance/
Source: %{name}-%{version}beta.tar.gz
BuildRequires: aqbanking-devel >= 5.0.0
BuildRequires: aqdatabase-devel >= 0.9.1
BuildRequires: aqfoxext-devel
BuildRequires: cairo-devel
BuildRequires: fox16-devel
BuildRequires: gcc-c++
BuildRequires: gwenhywfar-devel >= 4.9.0
Requires: libgwenhywfar60-plugins >= 4.9.0
%description
AQFinance is a graphical finance manager designed to work with
aqbanking.
%package devel
Summary: Development files for aqfinance
Group: Development/Libraries/C and C++
Requires: %{name} >= %{version}
Requires: lib%{name}0 = %{version}
%description devel
Development files for libaqfinance, a library used by aqfinance
%package -n lib%{name}0
Summary: Library for aqfinance
Group: Development/Libraries/C and C++
%description -n lib%{name}0
Library used by aqfinance, a graphical finance manager designed
to work with aqbanking
%prep
%setup -q -n %{name}-%{version}beta
%build
%configure \
--enable-gwenhywfar \
--enable-aqbanking \
--enable-fox \
--enable-cairo \
--enable-release
make %{?_smp_mflags} build_sources
make %{?_smp_mflags}
%install
%make_install
rm %{buildroot}%{_libdir}/lib%{name}.{a,la}
%find_lang %{name}
%post -n lib%{name}0 -p /sbin/ldconfig
%postun -n lib%{name}0 -p /sbin/ldconfig
%files -f %{name}.lang
%license COPYING
%doc README
%{_bindir}/*
%{_datadir}/%{name}
%files devel
%license COPYING
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%{_datadir}/aclocal/%{name}.m4
%files -n lib%{name}0
%license COPYING
%{_libdir}/lib%{name}.so.*
%changelog