2006-12-19 15:29:53 +01:00
|
|
|
#
|
2011-01-14 16:50:20 +01:00
|
|
|
# spec file for package aqbanking
|
2006-12-19 15:29:53 +01:00
|
|
|
#
|
2020-01-23 09:06:36 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2018-04-21 21:16:26 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nürnberg, Germany.
|
2006-12-19 15:29:53 +01:00
|
|
|
#
|
2009-03-26 00:10:32 +01: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.
|
|
|
|
|
2020-01-23 09:06:36 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 15:29:53 +01:00
|
|
|
#
|
|
|
|
|
2012-03-22 12:31:03 +01:00
|
|
|
|
2020-01-23 09:06:36 +01:00
|
|
|
%define cmake_config_version 6.0
|
2011-08-04 09:36:05 +02:00
|
|
|
%define build_ofx 1
|
2020-01-23 09:06:36 +01:00
|
|
|
%define _name aqbanking
|
|
|
|
%define aq_plugindir %{_libdir}/aqbanking/plugins/44
|
2011-08-04 09:36:05 +02:00
|
|
|
%define fronts_libdir %{aq_plugindir}/frontends
|
|
|
|
%define imex_plugindir %{aq_plugindir}/imexporters
|
2019-09-29 21:47:16 +02:00
|
|
|
%define imex_datadir %{_datadir}/%{_name}/imexporters
|
|
|
|
%define fronts_datadir %{_datadir}/%{_name}/frontends
|
2011-08-04 09:36:05 +02:00
|
|
|
%define qb_cfgmoddir %{fronts_libdir}/qbanking/cfgmodules
|
|
|
|
%define q4b_cfgmoddir %{fronts_libdir}/q4banking/cfgmodules
|
2006-12-19 15:29:53 +01:00
|
|
|
Name: aqbanking
|
2020-01-23 09:06:36 +01:00
|
|
|
Version: 6.0.1
|
2012-01-11 15:35:54 +01:00
|
|
|
Release: 0
|
2011-08-04 09:36:05 +02:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import and Export
|
2020-01-23 09:06:36 +01:00
|
|
|
License: GPL-2.0-only OR GPL-3.0-only
|
2011-08-04 09:36:05 +02:00
|
|
|
Group: Productivity/Office/Finance
|
2020-01-23 09:06:36 +01:00
|
|
|
URL: https://www.aquamaniac.de/aqbanking/
|
|
|
|
Source: %{_name}-%{version}.tar.gz
|
2019-09-29 21:47:16 +02:00
|
|
|
Source1: aqbanking6-handbook-20190221.pdf
|
2020-01-23 09:06:36 +01:00
|
|
|
# 6.0.1 is not signed:
|
2019-09-29 21:47:16 +02:00
|
|
|
#Source2: %%{name}-%%{_version}.tar.gz.asc
|
|
|
|
Source3: %{_name}.keyring
|
2014-12-21 12:05:09 +01:00
|
|
|
BuildRequires: cmake
|
2010-12-10 17:52:09 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gmp-devel
|
2020-01-15 21:45:10 +01:00
|
|
|
BuildRequires: gwenhywfar-devel >= 5.0.0
|
|
|
|
BuildRequires: gwenhywfar-tools >= 5.0.0
|
2009-12-26 11:46:17 +01:00
|
|
|
BuildRequires: ktoblzcheck-devel >= 1.10
|
2020-01-23 09:06:36 +01:00
|
|
|
BuildRequires: libltdl-devel
|
2014-02-19 06:51:26 +01:00
|
|
|
BuildRequires: pkgconfig
|
2020-01-23 09:06:36 +01:00
|
|
|
BuildRequires: xmlsec1-gnutls-devel
|
|
|
|
Recommends: %{name}-lang
|
2013-11-01 17:40:50 +01:00
|
|
|
%if !0%{?sles_version}
|
2011-08-04 09:36:05 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2013-11-01 17:40:50 +01:00
|
|
|
%else
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
%endif
|
2020-01-23 09:06:36 +01:00
|
|
|
%if %{build_ofx}
|
2008-02-28 17:20:00 +01:00
|
|
|
BuildRequires: libofx-devel
|
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2009-10-06 03:46:26 +02:00
|
|
|
%description
|
2006-12-19 15:29:53 +01:00
|
|
|
AqBanking is a generic online banking interface. It allows multiple
|
2007-08-09 17:46:08 +02:00
|
|
|
back-ends (currently HBCI) and multiple front-ends (such as KDE, GNOME,
|
|
|
|
or console) to be used.
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%package devel
|
2006-12-19 15:29:53 +01:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
2020-01-23 09:06:36 +01:00
|
|
|
License: GPL-2.0-or-later
|
2011-08-04 09:36:05 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-12-26 11:46:17 +01:00
|
|
|
Requires: %{name} = %{version}
|
2014-12-21 12:05:09 +01:00
|
|
|
Requires: cmake
|
2011-08-04 09:36:05 +02:00
|
|
|
Requires: glibc-devel
|
2019-11-11 22:14:06 +01:00
|
|
|
Requires: gwenhywfar-devel >= 4.99.24
|
2011-08-04 09:36:05 +02:00
|
|
|
Requires: ktoblzcheck-devel
|
2017-06-29 15:12:50 +02:00
|
|
|
Requires: libltdl-devel
|
|
|
|
Requires: xmlsec1-gnutls-devel
|
2020-01-23 09:06:36 +01:00
|
|
|
%if %{build_ofx}
|
|
|
|
Requires: libofx-devel
|
2017-06-29 15:12:50 +02:00
|
|
|
%endif
|
2009-12-26 11:46:17 +01:00
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%description devel
|
2009-12-26 11:46:17 +01:00
|
|
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
|
|
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
|
|
|
console) to be used.
|
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%package doc
|
2009-12-26 11:46:17 +01:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
2012-05-21 07:23:44 +02:00
|
|
|
License: SUSE-Free-Art-1.3
|
2011-08-04 09:36:05 +02:00
|
|
|
Group: Productivity/Office/Finance
|
|
|
|
Requires: %{name} = %{version}
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%description doc
|
2006-12-19 15:29:53 +01:00
|
|
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
|
|
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
|
|
|
console) to be used.
|
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
This package contains a handbook.
|
|
|
|
|
2020-01-23 09:06:36 +01:00
|
|
|
%if %{build_ofx}
|
2006-12-19 15:29:53 +01:00
|
|
|
%package ofx
|
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
2020-01-23 09:06:36 +01:00
|
|
|
License: GPL-2.0-or-later
|
2006-12-19 15:29:53 +01:00
|
|
|
Group: Productivity/Office/Finance
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description ofx
|
|
|
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
|
|
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
|
|
|
console) to be used.
|
|
|
|
|
2017-06-29 15:12:50 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%package ebics
|
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
2020-01-23 09:06:36 +01:00
|
|
|
License: GPL-2.0-or-later
|
2017-06-29 15:12:50 +02:00
|
|
|
Group: Productivity/Office/Finance
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description ebics
|
|
|
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
|
|
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
|
|
|
console) to be used.
|
|
|
|
|
2007-08-09 17:46:08 +02:00
|
|
|
%lang_package
|
2008-01-24 18:18:49 +01:00
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
%prep
|
2020-01-23 09:06:36 +01:00
|
|
|
%setup -q
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%build
|
2017-06-29 15:12:50 +02:00
|
|
|
BACKEND_LIST="aqhbci aqnone aqpaypal"
|
2020-01-23 09:06:36 +01:00
|
|
|
%if %{build_ofx}
|
2008-02-28 17:20:00 +01:00
|
|
|
BACKEND_LIST="$BACKEND_LIST aqofxconnect"
|
|
|
|
%endif
|
2017-06-29 15:12:50 +02:00
|
|
|
BACKEND_LIST="$BACKEND_LIST aqebics"
|
|
|
|
|
2016-09-12 13:27:33 +02:00
|
|
|
# quick fix for $CPP being unset and configure failing to handle include dirs properly
|
|
|
|
CPP=`which cpp`
|
|
|
|
export CPP
|
2017-07-08 15:21:59 +02:00
|
|
|
[ -n "$SOURCE_DATE_EPOCH" ] && builddate=--with-build-datetime=@$SOURCE_DATE_EPOCH
|
2007-07-31 00:09:22 +02:00
|
|
|
%configure\
|
2020-01-23 09:06:36 +01:00
|
|
|
--enable-release $builddate \
|
|
|
|
--with-backends="$BACKEND_LIST" \
|
|
|
|
--enable-full-doc \
|
|
|
|
--with-docpath=%{_docdir}/%{name} \
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%install
|
2020-01-23 09:06:36 +01:00
|
|
|
%make_install
|
|
|
|
|
2009-12-26 11:46:17 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
# Remove files that we'll have elsewhere
|
2011-08-04 09:36:05 +02:00
|
|
|
rm %{buildroot}%{_datadir}/doc/%{name}/{AUTHORS,COPYING,ChangeLog,README}
|
2020-01-23 09:06:36 +01:00
|
|
|
|
2009-12-26 11:46:17 +01:00
|
|
|
# Install the handbook
|
2014-02-19 06:51:26 +01:00
|
|
|
mkdir -p %{buildroot}/%{_docdir}/%{name}
|
2020-01-23 09:06:36 +01:00
|
|
|
install -m 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/aqbanking-handbook.pdf
|
2019-09-29 21:47:16 +02:00
|
|
|
%find_lang %{_name}
|
2020-01-23 09:06:36 +01:00
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-08-09 17:46:08 +02:00
|
|
|
|
2007-07-31 00:09:22 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2020-01-23 09:06:36 +01:00
|
|
|
%if %{build_ofx}
|
2007-07-31 00:09:22 +02:00
|
|
|
%post ofx -p /sbin/ldconfig
|
|
|
|
%postun ofx -p /sbin/ldconfig
|
2008-02-28 17:20:00 +01:00
|
|
|
%endif
|
2007-05-24 12:17:57 +02:00
|
|
|
|
2017-06-29 15:12:50 +02:00
|
|
|
%post ebics -p /sbin/ldconfig
|
|
|
|
%postun ebics -p /sbin/ldconfig
|
|
|
|
|
2009-12-26 11:46:17 +01:00
|
|
|
%files
|
2020-01-23 09:06:36 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS README TODO
|
2019-09-29 21:47:16 +02:00
|
|
|
%exclude %{_docdir}/%{name}/aqbanking-handbook.pdf
|
2020-01-23 09:06:36 +01:00
|
|
|
%dir %{_datadir}/%{_name}
|
|
|
|
%dir %{_datadir}/%{_name}/backends
|
|
|
|
%dir %{_libdir}/aqbanking
|
|
|
|
%dir %{_libdir}/aqbanking/plugins
|
|
|
|
%dir %{aq_plugindir}
|
2014-02-19 06:51:26 +01:00
|
|
|
%dir %{aq_plugindir}/dbio
|
2020-01-23 09:06:36 +01:00
|
|
|
%dir %{aq_plugindir}/providers
|
|
|
|
%dir %{imex_datadir}
|
|
|
|
%dir %{imex_datadir}/xmldb
|
|
|
|
%dir %{imex_datadir}/xmldb/profiles
|
|
|
|
%dir %{imex_datadir}/yellownet
|
|
|
|
%dir %{imex_datadir}/yellownet/profiles
|
|
|
|
%dir %{imex_plugindir}
|
|
|
|
%{_bindir}/%{_name}-cli
|
|
|
|
%{_bindir}/aqhbci-tool4
|
|
|
|
%{_bindir}/aqpaypal-tool
|
2019-09-29 21:47:16 +02:00
|
|
|
%{_datadir}/%{_name}/aqbanking/
|
2020-01-23 09:06:36 +01:00
|
|
|
%{_datadir}/%{_name}/backends/aqhbci
|
|
|
|
%{_datadir}/%{_name}/backends/aqpaypal
|
2019-09-29 21:47:16 +02:00
|
|
|
%{_datadir}/%{_name}/bankinfo/
|
|
|
|
%{_datadir}/%{_name}/dialogs/
|
|
|
|
%{_datadir}/%{_name}/typemaker2/
|
2020-01-23 09:06:36 +01:00
|
|
|
%{_libdir}/lib%{_name}*.so.*
|
2006-12-19 15:29:53 +01:00
|
|
|
%{aq_plugindir}/bankinfo
|
2020-01-23 09:06:36 +01:00
|
|
|
%{aq_plugindir}/dbio/swift.*
|
|
|
|
%{aq_plugindir}/providers/aqhbci.*
|
|
|
|
%{aq_plugindir}/providers/aqnone.*
|
|
|
|
%{aq_plugindir}/providers/aqpaypal.*
|
2019-09-29 21:47:16 +02:00
|
|
|
%{imex_datadir}/camt
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_datadir}/csv
|
2020-01-23 09:06:36 +01:00
|
|
|
%{imex_datadir}/ctxfile
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_datadir}/eri
|
|
|
|
%{imex_datadir}/eri2
|
2020-01-23 09:06:36 +01:00
|
|
|
%if !%{build_ofx}
|
|
|
|
%{imex_datadir}/ofx
|
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_datadir}/openhbci1
|
2010-12-10 17:52:09 +01:00
|
|
|
%{imex_datadir}/q43
|
2009-08-17 15:28:54 +02:00
|
|
|
%{imex_datadir}/sepa
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_datadir}/swift
|
2019-09-29 21:47:16 +02:00
|
|
|
%{imex_datadir}/xml
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_datadir}/xmldb/profiles/*
|
|
|
|
%{imex_datadir}/yellownet/profiles/*
|
2020-01-23 09:06:36 +01:00
|
|
|
%{imex_plugindir}/camt.*
|
|
|
|
%{imex_plugindir}/csv.*
|
|
|
|
%{imex_plugindir}/ctxfile.*
|
|
|
|
%{imex_plugindir}/eri2.*
|
|
|
|
%{imex_plugindir}/openhbci1.*
|
|
|
|
%{imex_plugindir}/q43.*
|
|
|
|
%{imex_plugindir}/sepa.*
|
|
|
|
%{imex_plugindir}/swift.*
|
|
|
|
%{imex_plugindir}/xml.*
|
|
|
|
%{imex_plugindir}/xmldb.*
|
|
|
|
%{imex_plugindir}/yellownet.*
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%files devel
|
2020-01-23 09:06:36 +01:00
|
|
|
%license COPYING
|
|
|
|
%dir %{_datadir}/aclocal
|
2019-09-29 21:47:16 +02:00
|
|
|
%{_bindir}/%{_name}-config
|
2020-01-23 09:06:36 +01:00
|
|
|
%{_datadir}/aclocal/%{_name}.m4
|
2019-09-29 21:47:16 +02:00
|
|
|
%{_includedir}/%{_name}6/
|
2020-01-23 09:06:36 +01:00
|
|
|
%{_libdir}/cmake/%{_name}-%{cmake_config_version}/
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_libdir}/libaqbanking.so
|
2019-09-29 21:47:16 +02:00
|
|
|
%{_libdir}/pkgconfig/%{_name}.pc
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%files doc
|
2014-02-19 06:51:26 +01:00
|
|
|
%{_docdir}/%{name}/aqbanking-handbook.pdf
|
2011-08-04 09:36:05 +02:00
|
|
|
|
2019-09-29 21:47:16 +02:00
|
|
|
%files lang -f %{_name}.lang
|
2011-08-04 09:36:05 +02:00
|
|
|
|
2020-01-23 09:06:36 +01:00
|
|
|
%if %{build_ofx}
|
2006-12-19 15:29:53 +01:00
|
|
|
%files ofx
|
2020-01-23 09:06:36 +01:00
|
|
|
%license COPYING
|
|
|
|
%{_datadir}/aqbanking/backends/aqofxconnect
|
2006-12-19 15:29:53 +01:00
|
|
|
%{aq_plugindir}/providers/aqofxconnect.*
|
|
|
|
%{imex_datadir}/ofx
|
2020-01-23 09:06:36 +01:00
|
|
|
%{imex_plugindir}/ofx.*
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2008-02-28 17:20:00 +01:00
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2017-06-29 15:12:50 +02:00
|
|
|
%files ebics
|
2020-01-23 09:06:36 +01:00
|
|
|
%license COPYING
|
2017-06-29 15:12:50 +02:00
|
|
|
%{_bindir}/aqebics-tool
|
|
|
|
%{_datadir}/aqbanking/backends/aqebics
|
2020-01-23 09:06:36 +01:00
|
|
|
%{aq_plugindir}/providers/aqebics.*
|
2017-06-29 15:12:50 +02:00
|
|
|
|
2007-05-24 12:17:57 +02:00
|
|
|
%changelog
|