SHA256
1
0
forked from pool/aqbanking

Accepting request 766249 from home:cgiboudeaux:branches:Office

- Update to 6.0.1. Check the ChangeLog file for the list of changes.
- Drop conditions for obsolete openSUSE versions.
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/766249
OBS-URL: https://build.opensuse.org/package/show/Office/aqbanking?expand=0&rev=25
This commit is contained in:
Johannes Engel 2020-01-23 08:06:36 +00:00 committed by Git OBS Bridge
parent 01346be81c
commit 2c864fe7e7
3 changed files with 97 additions and 154 deletions

3
aqbanking-6.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d66e298cab763adaa10d8e8f6367d178e6c3948eedbc89041cfc36a97caca49
size 2551617

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 22 09:15:32 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 6.0.1. Check the ChangeLog file for the list of changes.
- Drop conditions for obsolete openSUSE versions.
- Run spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 15 19:58:06 UTC 2020 - Johannes Engel <jcnengel@gmail.com> Wed Jan 15 19:58:06 UTC 2020 - Johannes Engel <jcnengel@gmail.com>

View File

@ -1,6 +1,7 @@
# #
# spec file for package aqbanking # spec file for package aqbanking
# #
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2018 SUSE LINUX GmbH, Nürnberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nürnberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -12,39 +13,30 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define cmake_config_version 6.0
%define build_ofx 1 %define build_ofx 1
%define devversion 5.99
# disable EBICS plugin for older openSUSE versions due to problems linking
# to xmlsec1-gcrypt:
%if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420300
%define build_ebics 1
%else
%define build_ebics 0
%endif
%define _name aqbanking %define _name aqbanking
%define aq_plugindir %{_libdir}/aqbanking/plugins/43 %define aq_plugindir %{_libdir}/aqbanking/plugins/44
%define fronts_libdir %{aq_plugindir}/frontends %define fronts_libdir %{aq_plugindir}/frontends
%define imex_plugindir %{aq_plugindir}/imexporters %define imex_plugindir %{aq_plugindir}/imexporters
%define imex_datadir %{_datadir}/%{_name}/imexporters %define imex_datadir %{_datadir}/%{_name}/imexporters
%define fronts_datadir %{_datadir}/%{_name}/frontends %define fronts_datadir %{_datadir}/%{_name}/frontends
%define qb_cfgmoddir %{fronts_libdir}/qbanking/cfgmodules %define qb_cfgmoddir %{fronts_libdir}/qbanking/cfgmodules
%define q4b_cfgmoddir %{fronts_libdir}/q4banking/cfgmodules %define q4b_cfgmoddir %{fronts_libdir}/q4banking/cfgmodules
Name: aqbanking Name: aqbanking
Version: 5.99.45 Version: 6.0.1
%define _version %{version}
Release: 0 Release: 0
Summary: Library for Online Banking Functions and Financial Data Import and Export Summary: Library for Online Banking Functions and Financial Data Import and Export
License: GPL-2.0 or GPL-3.0 License: GPL-2.0-only OR GPL-3.0-only
Group: Productivity/Office/Finance Group: Productivity/Office/Finance
Url: http://www.aquamaniac.de/aqbanking/ URL: https://www.aquamaniac.de/aqbanking/
Source: %{_name}-%{_version}.tar.gz Source: %{_name}-%{version}.tar.gz
Source1: aqbanking6-handbook-20190221.pdf Source1: aqbanking6-handbook-20190221.pdf
# Not available for beta: # 6.0.1 is not signed:
#Source2: %%{name}-%%{_version}.tar.gz.asc #Source2: %%{name}-%%{_version}.tar.gz.asc
Source3: %{_name}.keyring Source3: %{_name}.keyring
BuildRequires: cmake BuildRequires: cmake
@ -55,21 +47,18 @@ BuildRequires: gmp-devel
BuildRequires: gwenhywfar-devel >= 5.0.0 BuildRequires: gwenhywfar-devel >= 5.0.0
BuildRequires: gwenhywfar-tools >= 5.0.0 BuildRequires: gwenhywfar-tools >= 5.0.0
BuildRequires: ktoblzcheck-devel >= 1.10 BuildRequires: ktoblzcheck-devel >= 1.10
BuildRequires: libltdl-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xmlsec1-gnutls-devel
Recommends: %{name}-lang
%if !0%{?sles_version} %if !0%{?sles_version}
BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-2.0)
%else %else
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
%endif %endif
%if %build_ofx %if %{build_ofx}
BuildRequires: libofx-devel BuildRequires: libofx-devel
%endif %endif
%if %build_ebics
BuildRequires: libltdl-devel
BuildRequires: xmlsec1-gnutls-devel
%endif
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
AqBanking is a generic online banking interface. It allows multiple AqBanking is a generic online banking interface. It allows multiple
@ -78,19 +67,17 @@ or console) to be used.
%package devel %package devel
Summary: Library for Online Banking Functions and Financial Data Import/Export Summary: Library for Online Banking Functions and Financial Data Import/Export
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: cmake Requires: cmake
Requires: glibc-devel Requires: glibc-devel
Requires: gwenhywfar-devel >= 4.99.24 Requires: gwenhywfar-devel >= 4.99.24
Requires: ktoblzcheck-devel Requires: ktoblzcheck-devel
%if %build_ofx
Requires: libofx-devel
%endif
%if %build_ebics
Requires: libltdl-devel Requires: libltdl-devel
Requires: xmlsec1-gnutls-devel Requires: xmlsec1-gnutls-devel
%if %{build_ofx}
Requires: libofx-devel
%endif %endif
%description devel %description devel
@ -111,11 +98,10 @@ console) to be used.
This package contains a handbook. This package contains a handbook.
%if %build_ofx %if %{build_ofx}
%package ofx %package ofx
Summary: Library for Online Banking Functions and Financial Data Import/Export Summary: Library for Online Banking Functions and Financial Data Import/Export
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Office/Finance Group: Productivity/Office/Finance
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -126,11 +112,9 @@ console) to be used.
%endif %endif
%if %build_ebics
%package ebics %package ebics
Summary: Library for Online Banking Functions and Financial Data Import/Export Summary: Library for Online Banking Functions and Financial Data Import/Export
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Office/Finance Group: Productivity/Office/Finance
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -139,20 +123,17 @@ AqBanking is a generic OnlineBanking interface. It allows multiple
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME, backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
console) to be used. console) to be used.
%endif
%lang_package %lang_package
%prep %prep
%setup -q -n %{_name}-%{_version} %setup -q
%build %build
BACKEND_LIST="aqhbci aqnone aqpaypal" BACKEND_LIST="aqhbci aqnone aqpaypal"
%if %build_ofx %if %{build_ofx}
BACKEND_LIST="$BACKEND_LIST aqofxconnect" BACKEND_LIST="$BACKEND_LIST aqofxconnect"
%endif %endif
%if %build_ebics
BACKEND_LIST="$BACKEND_LIST aqebics" BACKEND_LIST="$BACKEND_LIST aqebics"
%endif
# quick fix for $CPP being unset and configure failing to handle include dirs properly # quick fix for $CPP being unset and configure failing to handle include dirs properly
CPP=`which cpp` CPP=`which cpp`
@ -163,69 +144,84 @@ export CPP
--with-backends="$BACKEND_LIST" \ --with-backends="$BACKEND_LIST" \
--enable-full-doc \ --enable-full-doc \
--with-docpath=%{_docdir}/%{name} \ --with-docpath=%{_docdir}/%{name} \
# --enable-gui-tests
make make %{?_smp_mflags}
%install %install
%makeinstall %make_install
#mv %{buildroot}%{_datadir}/doc/%{_name} %{buildroot}%{_datadir}/doc/%{name}
#mv %{buildroot}%{_includedir}/aqpaypal %{buildroot}%{_includedir}/%{name}6/
%if %build_ebics
#mv %{buildroot}%{_includedir}/aqebics %{buildroot}%{_includedir}/%{name}6/
%endif
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
# Remove files that we'll have elsewhere # Remove files that we'll have elsewhere
rm %{buildroot}%{_datadir}/doc/%{name}/{AUTHORS,COPYING,ChangeLog,README} rm %{buildroot}%{_datadir}/doc/%{name}/{AUTHORS,COPYING,ChangeLog,README}
#mv %{buildroot}%{_datadir}/doc/aqhbci/aqhbci-tool/README README.aqhbci
#mv %{buildroot}%{_datadir}/doc/aqpaypal/aqpaypal-tool/README README.aqpaypal
%if %build_ebics
#mv %{buildroot}%{_datadir}/doc/aqebics/aqebics-tool/README README.aqebics
%endif
# Install the handbook # Install the handbook
mkdir -p %{buildroot}/%{_docdir}/%{name} mkdir -p %{buildroot}/%{_docdir}/%{name}
%__install -m 644 %{S:1} %{buildroot}%{_docdir}/%{name}/aqbanking-handbook.pdf install -m 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/aqbanking-handbook.pdf
%find_lang %{_name} %find_lang %{_name}
%fdupes %{buildroot} %fdupes %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%if %build_ofx %if %{build_ofx}
%post ofx -p /sbin/ldconfig %post ofx -p /sbin/ldconfig
%postun ofx -p /sbin/ldconfig %postun ofx -p /sbin/ldconfig
%endif %endif
%if %build_ebics
%post ebics -p /sbin/ldconfig %post ebics -p /sbin/ldconfig
%postun ebics -p /sbin/ldconfig %postun ebics -p /sbin/ldconfig
%endif
%files %files
%defattr(-,root,root) %license COPYING
%doc AUTHORS COPYING ChangeLog NEWS README TODO %doc AUTHORS ChangeLog NEWS README TODO
# README.aqhbci README.aqpaypal
%exclude %{_docdir}/%{name}/aqbanking-handbook.pdf %exclude %{_docdir}/%{name}/aqbanking-handbook.pdf
### The original aqbanking files %dir %{_datadir}/%{_name}
%{_bindir}/%{_name}-cli %dir %{_datadir}/%{_name}/backends
%{_libdir}/lib%{_name}*.so.* %dir %{_libdir}/aqbanking
%dir %{_libdir}/aqbanking/plugins
%dir %{aq_plugindir}
%dir %{aq_plugindir}/dbio %dir %{aq_plugindir}/dbio
%{aq_plugindir}/dbio/swift.* %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
%{_datadir}/%{_name}/aqbanking/ %{_datadir}/%{_name}/aqbanking/
%{_datadir}/%{_name}/backends/aqhbci
%{_datadir}/%{_name}/backends/aqpaypal
%{_datadir}/%{_name}/bankinfo/ %{_datadir}/%{_name}/bankinfo/
%{_datadir}/%{_name}/dialogs/ %{_datadir}/%{_name}/dialogs/
%{_datadir}/%{_name}/typemaker2/ %{_datadir}/%{_name}/typemaker2/
%dir %{_datadir}/%{_name}/backends %{_libdir}/lib%{_name}*.so.*
%{aq_plugindir}/bankinfo %{aq_plugindir}/bankinfo
%{aq_plugindir}/dbio/swift.*
%{aq_plugindir}/providers/aqhbci.*
%{aq_plugindir}/providers/aqnone.*
%{aq_plugindir}/providers/aqpaypal.*
%{imex_datadir}/camt
%{imex_datadir}/csv
%{imex_datadir}/ctxfile
%{imex_datadir}/eri
%{imex_datadir}/eri2
%if !%{build_ofx}
%{imex_datadir}/ofx
%endif
%{imex_datadir}/openhbci1
%{imex_datadir}/q43
%{imex_datadir}/sepa
%{imex_datadir}/swift
%{imex_datadir}/xml
%{imex_datadir}/xmldb/profiles/*
%{imex_datadir}/yellownet/profiles/*
%{imex_plugindir}/camt.* %{imex_plugindir}/camt.*
%{imex_plugindir}/ctxfile.*
%{imex_plugindir}/csv.* %{imex_plugindir}/csv.*
%{imex_plugindir}/ctxfile.*
%{imex_plugindir}/eri2.* %{imex_plugindir}/eri2.*
%{imex_plugindir}/openhbci1.* %{imex_plugindir}/openhbci1.*
%{imex_plugindir}/q43.* %{imex_plugindir}/q43.*
@ -234,99 +230,36 @@ mkdir -p %{buildroot}/%{_docdir}/%{name}
%{imex_plugindir}/xml.* %{imex_plugindir}/xml.*
%{imex_plugindir}/xmldb.* %{imex_plugindir}/xmldb.*
%{imex_plugindir}/yellownet.* %{imex_plugindir}/yellownet.*
%{imex_datadir}/ctxfile
%{imex_datadir}/camt
%{imex_datadir}/csv
%{imex_datadir}/eri
%{imex_datadir}/eri2
%{imex_datadir}/openhbci1
%{imex_datadir}/q43
%{imex_datadir}/sepa
%{imex_datadir}/swift
%{imex_datadir}/xml
%{imex_datadir}/xmldb/profiles/*
%{imex_datadir}/yellownet/profiles/*
### The aqhbci files
%{_bindir}/aqhbci-tool4
#{_libdir}/libaqhbci.so.*
%{aq_plugindir}/providers/aqhbci.*
%{_datadir}/%{_name}/backends/aqhbci
### The aqpaypal files
%{_bindir}/aqpaypal-tool
#{_libdir}/libaqpaypal.so.*
%{aq_plugindir}/providers/aqpaypal.*
%{_datadir}/%{_name}/backends/aqpaypal
### The aqnone files
#{_libdir}/libaqnone.so.*
%{aq_plugindir}/providers/aqnone.*
## Directories
%dir %{_libdir}/aqbanking
%dir %{_libdir}/aqbanking/plugins
%dir %{aq_plugindir}
%dir %{aq_plugindir}/providers
%dir %{_datadir}/%{_name}
%dir %{imex_plugindir}
%dir %{imex_datadir}
%dir %{imex_datadir}/xmldb
%dir %{imex_datadir}/xmldb/profiles
%dir %{imex_datadir}/yellownet
%dir %{imex_datadir}/yellownet/profiles
%if !%build_ofx
%{imex_datadir}/ofx
%endif
%files devel %files devel
%defattr(-,root,root) %license COPYING
### The aqbanking files
%{_bindir}/%{_name}-config
%{_includedir}/%{_name}6/
%{_libdir}/cmake/%{_name}-%{devversion}/
%{_libdir}/libaqbanking.so
#{_libdir}/libaqhbci.so
#{_libdir}/libaqpaypal.so
#{_libdir}/libaqnone.so
#{_libdir}/libaqbankingpp.so
%{_libdir}/pkgconfig/%{_name}.pc
%dir %{_datadir}/aclocal %dir %{_datadir}/aclocal
%{_bindir}/%{_name}-config
%{_datadir}/aclocal/%{_name}.m4 %{_datadir}/aclocal/%{_name}.m4
### The aqhbci files %{_includedir}/%{_name}6/
#{_bindir}/hbcixml3 %{_libdir}/cmake/%{_name}-%{cmake_config_version}/
# .so files from sub-packages %{_libdir}/libaqbanking.so
%if %build_ofx %{_libdir}/pkgconfig/%{_name}.pc
#{_libdir}/libaqofxconnect.so
%endif
%if %build_ebics
#{_libdir}/libaqebics.so
%endif
%files doc %files doc
%defattr(-,root,root)
%{_docdir}/%{name}/aqbanking-handbook.pdf %{_docdir}/%{name}/aqbanking-handbook.pdf
%files lang -f %{_name}.lang %files lang -f %{_name}.lang
%if %build_ofx %if %{build_ofx}
%files ofx %files ofx
%defattr(-,root,root) %license COPYING
%{aq_plugindir}/providers/aqofxconnect.*
%{imex_plugindir}/ofx.*
%{imex_datadir}/ofx
%{_datadir}/aqbanking/backends/aqofxconnect %{_datadir}/aqbanking/backends/aqofxconnect
%{aq_plugindir}/providers/aqofxconnect.*
%{imex_datadir}/ofx
%{imex_plugindir}/ofx.*
%endif %endif
%if %build_ebics
%files ebics %files ebics
#doc README.aqebics %license COPYING
%defattr(-,root,root)
%{_bindir}/aqebics-tool %{_bindir}/aqebics-tool
%{aq_plugindir}/providers/aqebics.*
#{imex_plugindir}/ebics.*
#{imex_datadir}/ebics
%{_datadir}/aqbanking/backends/aqebics %{_datadir}/aqbanking/backends/aqebics
%{aq_plugindir}/providers/aqebics.*
%endif
%changelog %changelog