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
|
|
|
#
|
2011-01-14 16:50:20 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, 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.
|
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%define build_ofx 1
|
|
|
|
%define aq_plugindir %{_libdir}/aqbanking/plugins/33
|
|
|
|
%define fronts_libdir %{aq_plugindir}/frontends
|
|
|
|
%define imex_plugindir %{aq_plugindir}/imexporters
|
|
|
|
%define imex_datadir %{_datadir}/%{name}/imexporters
|
|
|
|
%define fronts_datadir %{_datadir}/%{name}/frontends
|
|
|
|
%define qb_cfgmoddir %{fronts_libdir}/qbanking/cfgmodules
|
|
|
|
%define q4b_cfgmoddir %{fronts_libdir}/q4banking/cfgmodules
|
2008-02-21 01:30:17 +01:00
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
Name: aqbanking
|
2011-09-19 22:48:49 +02:00
|
|
|
Version: 5.0.15
|
2011-08-04 09:36:05 +02:00
|
|
|
Release: 1
|
2011-08-04 09:36:22 +02:00
|
|
|
# FIXME Still unable to use parallel make. Last checked: 2011-07-19
|
2011-08-04 09:36:05 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import and Export
|
|
|
|
Url: http://www.aquamaniac.de/aqbanking/
|
|
|
|
Group: Productivity/Office/Finance
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
2011-09-19 22:48:49 +02:00
|
|
|
#Source: http://www.aquamaniac.de/sites/download/download.php?package=03&release=86&file=01&dummy=aqbanking-5.0.15.tar.gz
|
2011-08-04 09:36:05 +02:00
|
|
|
Source1: aqbanking4-handbook-20091231.pdf
|
|
|
|
#Source1: http://www.aquamaniac.de/sites/download/download.php?package=09&release=09&file=01&dummy=aqbanking4-handbook-20091231.pdf
|
2010-12-10 17:52:09 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gmp-devel
|
|
|
|
BuildRequires: gwenhywfar-devel >= 4.0
|
2009-12-26 11:46:17 +01:00
|
|
|
BuildRequires: gwenhywfar-tools
|
|
|
|
BuildRequires: ktoblzcheck-devel >= 1.10
|
2011-08-04 09:36:05 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
|
|
|
BuildRequires: libofx-devel
|
|
|
|
%endif
|
2010-12-10 17:52:09 +01:00
|
|
|
Recommends: %{name}-lang
|
2006-12-19 15:29:53 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
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
|
|
|
|
License: GPL-2.0+
|
2006-12-19 15:29:53 +01:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
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}
|
2011-08-04 09:36:05 +02:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: gwenhywfar-devel
|
|
|
|
Requires: ktoblzcheck-devel
|
|
|
|
%if %build_ofx
|
|
|
|
Requires: libofx-devel
|
|
|
|
%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
|
|
|
|
License: Free Art License 1.3
|
2009-12-26 11:46:17 +01:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
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.
|
|
|
|
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
%package ofx
|
2011-08-04 09:36:05 +02:00
|
|
|
License: GPL-2.0+
|
2006-12-19 15:29:53 +01:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
|
|
|
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.
|
|
|
|
|
|
|
|
%endif
|
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
|
2007-07-31 00:09:22 +02:00
|
|
|
%setup -q
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%build
|
2009-08-17 15:28:54 +02:00
|
|
|
BACKEND_LIST="aqhbci aqnone"
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
|
|
|
BACKEND_LIST="$BACKEND_LIST aqofxconnect"
|
|
|
|
%endif
|
2007-07-31 00:09:22 +02:00
|
|
|
%configure\
|
2006-12-19 15:29:53 +01:00
|
|
|
--enable-release\
|
2008-02-28 17:20:00 +01:00
|
|
|
--with-backends="$BACKEND_LIST" \
|
2006-12-19 15:29:53 +01:00
|
|
|
--enable-full-doc\
|
2010-12-10 17:52:09 +01:00
|
|
|
--enable-gui-tests
|
2006-12-19 15:29:53 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2011-08-04 09:36:05 +02: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}
|
|
|
|
mv %{buildroot}%{_datadir}/doc/aqhbci/aqhbci-tool/README README.aqhbci
|
2009-12-26 11:46:17 +01:00
|
|
|
# Install the handbook
|
2011-08-04 09:36:05 +02:00
|
|
|
%__install -m 644 %{S:1} %{buildroot}%{_datadir}/%{name}/aqbanking-handbook.pdf
|
2007-07-31 00:09:22 +02:00
|
|
|
%find_lang %{name}
|
2011-08-04 09:36:05 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-08-09 17:46:08 +02:00
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
%clean
|
2011-08-04 09:36:05 +02:00
|
|
|
rm -rf %{buildroot}
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2007-07-31 00:09:22 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2007-07-31 00:09:22 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2007-07-31 00:09:22 +02:00
|
|
|
%post ofx -p /sbin/ldconfig
|
2007-05-24 12:17:57 +02:00
|
|
|
|
2007-07-31 00:09:22 +02:00
|
|
|
%postun ofx -p /sbin/ldconfig
|
2008-02-28 17:20:00 +01:00
|
|
|
%endif
|
2007-05-24 12:17:57 +02:00
|
|
|
|
2009-12-26 11:46:17 +01:00
|
|
|
%files
|
2006-12-19 15:29:53 +01:00
|
|
|
%defattr(-,root,root)
|
2009-12-26 11:46:17 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO README.aqhbci
|
2006-12-19 15:29:53 +01:00
|
|
|
### The original aqbanking files
|
2009-08-17 15:28:54 +02:00
|
|
|
%{_bindir}/%{name}-cli
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_libdir}/lib%{name}*.so.*
|
2010-12-10 17:52:09 +01:00
|
|
|
%dir %{_libdir}/gwenhywfar/plugins/*/dbio
|
|
|
|
%{_libdir}/gwenhywfar/plugins/*/dbio/dtaus.*
|
|
|
|
%{_libdir}/gwenhywfar/plugins/*/dbio/swift.*
|
|
|
|
%{_datadir}/%{name}/aqbanking/
|
|
|
|
%{_datadir}/%{name}/bankinfo/
|
|
|
|
%{_datadir}/%{name}/dialogs/
|
|
|
|
%{_datadir}/%{name}/typemaker2/
|
2009-12-26 11:46:17 +01:00
|
|
|
%dir %{_datadir}/%{name}/backends
|
2006-12-19 15:29:53 +01:00
|
|
|
%{aq_plugindir}/bankinfo
|
2009-08-17 15:28:54 +02:00
|
|
|
%{imex_plugindir}/ctxfile.*
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_plugindir}/csv.*
|
|
|
|
%{imex_plugindir}/dtaus.*
|
|
|
|
%{imex_plugindir}/eri2.*
|
|
|
|
%{imex_plugindir}/openhbci1.*
|
2010-12-10 17:52:09 +01:00
|
|
|
%{imex_plugindir}/q43.*
|
2009-08-17 15:28:54 +02:00
|
|
|
%{imex_plugindir}/sepa.*
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_plugindir}/swift.*
|
|
|
|
%{imex_plugindir}/xmldb.*
|
|
|
|
%{imex_plugindir}/yellownet.*
|
2009-08-17 15:28:54 +02:00
|
|
|
%{imex_datadir}/ctxfile
|
2006-12-19 15:29:53 +01:00
|
|
|
%{imex_datadir}/csv
|
|
|
|
%{imex_datadir}/dtaus
|
|
|
|
%{imex_datadir}/eri
|
|
|
|
%{imex_datadir}/eri2
|
|
|
|
%{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
|
|
|
|
%{imex_datadir}/xmldb/profiles/*
|
|
|
|
%{imex_datadir}/yellownet/profiles/*
|
|
|
|
### The aqhbci files
|
2009-08-17 15:28:54 +02:00
|
|
|
%{_bindir}/aqhbci-tool4
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_libdir}/libaqhbci.so.*
|
|
|
|
%{aq_plugindir}/providers/aqhbci.*
|
2009-08-17 15:28:54 +02:00
|
|
|
%{_datadir}/%{name}/backends/aqhbci
|
2006-12-19 15:29:53 +01:00
|
|
|
### 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
|
2008-02-28 17:20:00 +01:00
|
|
|
%if !%build_ofx
|
|
|
|
%{imex_datadir}/ofx
|
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
### The aqbanking files
|
2010-12-10 17:52:09 +01:00
|
|
|
%{_bindir}/%{name}-config
|
|
|
|
%{_includedir}/%{name}5/
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_libdir}/libaqbanking.so
|
|
|
|
%{_libdir}/libaqhbci.so
|
|
|
|
%{_libdir}/libaqnone.so
|
2011-03-30 11:59:36 +02:00
|
|
|
%{_libdir}/libaqbankingpp.so
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2010-12-10 17:52:09 +01:00
|
|
|
%{_datadir}/aclocal/%{name}.m4
|
2006-12-19 15:29:53 +01:00
|
|
|
### The aqhbci files
|
2009-08-17 15:28:54 +02:00
|
|
|
%{_bindir}/hbcixml3
|
2006-12-19 15:29:53 +01:00
|
|
|
# .so files from sub-packages
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_libdir}/libaqofxconnect.so
|
2008-02-28 17:20:00 +01:00
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2011-08-04 09:36:05 +02:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/%{name}/aqbanking-handbook.pdf
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%files ofx
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libaqofxconnect.so.*
|
|
|
|
%{aq_plugindir}/providers/aqofxconnect.*
|
|
|
|
%{imex_plugindir}/ofx.*
|
|
|
|
%{imex_datadir}/ofx
|
2010-12-10 17:52:09 +01:00
|
|
|
%{_datadir}/aqbanking/backends/aqofxconnect
|
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
|
|
|
|
2007-05-24 12:17:57 +02:00
|
|
|
%changelog
|