forked from pool/aqbanking
491 lines
13 KiB
RPMSpec
491 lines
13 KiB
RPMSpec
|
#
|
||
|
# spec file for package aqbanking (Version 2.2.3)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: aqbanking
|
||
|
BuildRequires: doxygen gtk2-devel gwenhywfar-devel kdelibs3-devel ktoblzcheck-devel libchipcard-devel libglade2-devel libofx-devel python-devel pyxml qt3-devel
|
||
|
Version: 2.2.3
|
||
|
Release: 26
|
||
|
URL: http://www.aquamaniac.de/aqbanking/
|
||
|
Group: Productivity/Office/Finance
|
||
|
License: GNU General Public License (GPL), Other License(s), see package
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import and Export
|
||
|
Source: %{name}-%{version}.tar.bz2
|
||
|
Patch: aqbanking-aqyellownet-libtool.patch
|
||
|
Patch1: %{name}-%{version}-strcmp.patch
|
||
|
Autoreqprov: on
|
||
|
Prereq: /sbin/ldconfig
|
||
|
Prefix: %{_prefix}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
%define aq_plugindir %{_libdir}/aqbanking/plugins/16
|
||
|
%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
|
||
|
|
||
|
%description
|
||
|
AqBanking is a generic online banking interface. It allows multiple
|
||
|
back-ends (currently HBCI) and multiple front-ends (such as KDE,
|
||
|
GNOME, or console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package devel
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version} glibc-devel gtk2-devel gwenhywfar-devel kdelibs3-devel ktoblzcheck-devel libchipcard-devel libglade2-devel libofx-devel qt3-devel
|
||
|
|
||
|
%description devel
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package -n python-aqbanking
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version} pyxml
|
||
|
|
||
|
%description -n python-aqbanking
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package qt3
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description qt3
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package gtk2
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description gtk2
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package kde3
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description kde3
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package ofx
|
||
|
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.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package ofx-qt3
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description ofx-qt3
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package geldkarte
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description geldkarte
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package geldkarte-qt3
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description geldkarte-qt3
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%ifarch %ix86
|
||
|
%package yellownet
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
License: GNU General Public License (GPL), Other License(s), see package
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description yellownet
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%package yellownet-qt3
|
||
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
||
|
Group: Productivity/Office/Finance
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description yellownet-qt3
|
||
|
AqBanking is a generic OnlineBanking interface. It allows multiple
|
||
|
backends (currently HBCI) and multiple frontends (e.g. KDE, GNOME,
|
||
|
console) to be used.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Martin Preuss <martin@libchipcard.de>
|
||
|
|
||
|
%endif
|
||
|
%prep
|
||
|
%setup
|
||
|
%patch
|
||
|
%patch1
|
||
|
|
||
|
%build
|
||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||
|
aclocal -I m4
|
||
|
automake
|
||
|
autoconf
|
||
|
./configure\
|
||
|
--enable-release\
|
||
|
--prefix=/usr\
|
||
|
--libdir=/usr/%{_lib}\
|
||
|
--sysconfdir=/etc\
|
||
|
%ifarch %ix86
|
||
|
--with-backends="aqdtaus aqgeldkarte aqhbci aqnone aqofxconnect aqyellownet"\
|
||
|
%else
|
||
|
--with-backends="aqdtaus aqhbci aqgeldkarte aqnone aqofxconnect"\
|
||
|
%endif
|
||
|
--enable-python\
|
||
|
--enable-full-doc\
|
||
|
--with-docpath=%{_docdir}/%{name} \
|
||
|
--with-qt3-libs=/usr/lib/qt3/%{_lib} \
|
||
|
--with-kde3-libs=/opt/kde3/%{_lib}
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
make DESTDIR=$RPM_BUILD_ROOT idatadir=%{_docdir}/%{name} install
|
||
|
cp AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||
|
%find_lang %name
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%post
|
||
|
%run_ldconfig
|
||
|
|
||
|
%postun
|
||
|
%run_ldconfig
|
||
|
|
||
|
%post kde3
|
||
|
%run_ldconfig
|
||
|
|
||
|
%postun kde3
|
||
|
%run_ldconfig
|
||
|
|
||
|
%post gtk2
|
||
|
%run_ldconfig
|
||
|
|
||
|
%postun gtk2
|
||
|
%run_ldconfig
|
||
|
|
||
|
%post qt3
|
||
|
%run_ldconfig
|
||
|
|
||
|
%postun qt3
|
||
|
%run_ldconfig
|
||
|
|
||
|
%files -f %name.lang
|
||
|
%defattr(-,root,root)
|
||
|
%doc %{_docdir}/%{name}
|
||
|
### The original aqbanking files
|
||
|
%{_bindir}/%{name}-tool
|
||
|
%{_libdir}/lib%{name}*.so.*
|
||
|
%{_libdir}/gwenhywfar
|
||
|
%{_datadir}/%{name}/bankinfo
|
||
|
%{aq_plugindir}/bankinfo
|
||
|
%{imex_plugindir}/csv.*
|
||
|
%{imex_plugindir}/dbio.*
|
||
|
%{imex_plugindir}/dtaus.*
|
||
|
%{imex_plugindir}/eri.*
|
||
|
%{imex_plugindir}/eri2.*
|
||
|
%{imex_plugindir}/openhbci1.*
|
||
|
%{imex_plugindir}/qif.*
|
||
|
%{imex_plugindir}/swift.*
|
||
|
%{imex_plugindir}/xmldb.*
|
||
|
%{imex_plugindir}/yellownet.*
|
||
|
%{imex_datadir}/csv
|
||
|
%{imex_datadir}/dtaus
|
||
|
%{imex_datadir}/eri
|
||
|
%{imex_datadir}/eri2
|
||
|
%{imex_datadir}/openhbci1
|
||
|
%{imex_datadir}/qif
|
||
|
%{imex_datadir}/swift
|
||
|
%{imex_datadir}/xmldb/profiles/*
|
||
|
%{imex_datadir}/yellownet/profiles/*
|
||
|
### The aqhbci files
|
||
|
%{_bindir}/aqhbci-tool
|
||
|
%{_libdir}/libaqhbci.so.*
|
||
|
%{aq_plugindir}/providers/aqhbci.*
|
||
|
%{_datadir}/aqhbci
|
||
|
#%{_datadir}/doc/aqhbci
|
||
|
### The dtaus files
|
||
|
%{_libdir}/libaqdtaus.so.*
|
||
|
%{aq_plugindir}/providers/aqdtaus.*
|
||
|
### The aqnone files
|
||
|
%{_libdir}/libaqnone.so.*
|
||
|
%{aq_plugindir}/providers/aqnone.*
|
||
|
### The cbanking files
|
||
|
%{_libdir}/libcbanking.so.*
|
||
|
## Directories
|
||
|
%dir %{_libdir}/aqbanking
|
||
|
%dir %{_libdir}/aqbanking/plugins
|
||
|
%dir %{aq_plugindir}
|
||
|
%dir %{aq_plugindir}/debugger
|
||
|
%dir %{aq_plugindir}/providers
|
||
|
%dir %{fronts_libdir}
|
||
|
%dir %{_datadir}/%{name}
|
||
|
%dir %{imex_plugindir}
|
||
|
%dir %{fronts_libdir}/qbanking
|
||
|
%dir %{fronts_datadir}
|
||
|
%dir %{qb_cfgmoddir}
|
||
|
%dir %{imex_datadir}
|
||
|
%dir %{imex_datadir}/xmldb
|
||
|
%dir %{imex_datadir}/xmldb/profiles
|
||
|
%dir %{imex_datadir}/yellownet
|
||
|
%dir %{imex_datadir}/yellownet/profiles
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
### The aqbanking files
|
||
|
%{_bindir}/*-config
|
||
|
#%{_bindir}/%{name}-config
|
||
|
%{_includedir}/%{name}
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/libaqbanking.so
|
||
|
%{_libdir}/libaqdtaus.so
|
||
|
%{_libdir}/libaqhbci.so
|
||
|
%{_libdir}/libaqnone.so
|
||
|
%{_libdir}/libcbanking.so
|
||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||
|
%{_datadir}/aclocal
|
||
|
### The aqhbci files
|
||
|
#%{_bindir}/aqhbci-config
|
||
|
%{_bindir}/hbcixml2
|
||
|
%{_includedir}/aqhbci
|
||
|
### The cbanking files
|
||
|
#%{_bindir}/cbanking-config
|
||
|
%{_includedir}/cbanking
|
||
|
### The g2banking files
|
||
|
#%{_bindir}/g2banking-config
|
||
|
%{_includedir}/g2banking
|
||
|
### The qbanking files
|
||
|
#%{_bindir}/qbanking-config
|
||
|
%{_includedir}/qbanking
|
||
|
### The kbanking files
|
||
|
#%{_bindir}/kbanking-config
|
||
|
%{_includedir}/kbanking
|
||
|
### The aqdtaus files
|
||
|
#%{_bindir}/aqdtaus-config
|
||
|
%{_includedir}/aqdtaus
|
||
|
# .so files from sub-packages
|
||
|
%{_libdir}/libqbanking.so
|
||
|
%{_libdir}/libg2banking.so
|
||
|
%{_libdir}/libkbanking.so
|
||
|
%{_libdir}/libaqofxconnect.so
|
||
|
%{_libdir}/libaqgeldkarte.so
|
||
|
|
||
|
%files -n python-aqbanking
|
||
|
%defattr(-,root,root)
|
||
|
%{py_sitedir}/*
|
||
|
|
||
|
%files qt3
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/qb-help
|
||
|
%{_libdir}/libqbanking.so.*
|
||
|
%{aq_plugindir}/debugger/aqhbci
|
||
|
%{aq_plugindir}/wizards
|
||
|
%{qb_cfgmoddir}/aqhbci*
|
||
|
%{qb_cfgmoddir}/aqdtaus*
|
||
|
%{_datadir}/%{name}/i18n
|
||
|
%{fronts_datadir}/qbanking
|
||
|
|
||
|
%files gtk2
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libg2banking.so.*
|
||
|
%{fronts_datadir}/g2banking
|
||
|
|
||
|
%files kde3
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libkbanking.so.*
|
||
|
|
||
|
%files ofx
|
||
|
%defattr(-,root,root)
|
||
|
#%{_bindir}/aqofxconnect-config
|
||
|
%{_libdir}/libaqofxconnect.so.*
|
||
|
%{_includedir}/aqofxconnect
|
||
|
%{aq_plugindir}/providers/aqofxconnect.*
|
||
|
%{imex_plugindir}/ofx.*
|
||
|
%{imex_datadir}/ofx
|
||
|
|
||
|
%files ofx-qt3
|
||
|
%defattr(-,root,root)
|
||
|
%{qb_cfgmoddir}/aqofxconnect*
|
||
|
|
||
|
%files geldkarte
|
||
|
%defattr(-,root,root)
|
||
|
#%{_bindir}/aqgeldkarte-config
|
||
|
%{_libdir}/libaqgeldkarte.so.*
|
||
|
%{_includedir}/aqgeldkarte
|
||
|
%{aq_plugindir}/providers/aqgeldkarte.*
|
||
|
|
||
|
%files geldkarte-qt3
|
||
|
%defattr(-,root,root)
|
||
|
%{qb_cfgmoddir}/aqgeldkarte*
|
||
|
%ifarch %ix86
|
||
|
|
||
|
%files yellownet
|
||
|
%defattr(-,root,root)
|
||
|
%doc src/plugins/backends/aqyellownet/plugin/COPYING
|
||
|
#%{_bindir}/aqyellownet-config
|
||
|
%{_libdir}/libaqyellownet.so
|
||
|
%{_includedir}/aqyellownet
|
||
|
%{aq_plugindir}/providers/aqyellownet.*
|
||
|
|
||
|
%files yellownet-qt3
|
||
|
%defattr(-,root,root)
|
||
|
%{qb_cfgmoddir}/aqyellownet*
|
||
|
%endif
|
||
|
|
||
|
%changelog -n aqbanking
|
||
|
* Sat Dec 16 2006 - prusnak@suse.cz
|
||
|
- fixed comparison with string literal (strcmp.patch) [#224464]
|
||
|
* Wed Oct 18 2006 - sbrabec@suse.cz
|
||
|
- Updated to version 2.2.3:
|
||
|
* Allows to setup iTAN HBCI accounts.
|
||
|
* Improved support for HBCI iTAN mode, added an import profile
|
||
|
for ABN AMRO Bank (NL).
|
||
|
* Fixes some errors.
|
||
|
* Fri Sep 15 2006 - jhargadon@suse.de
|
||
|
- update to version 2.2.1
|
||
|
- fixed a bug in DTAUS importer profile "default"
|
||
|
- src/libs/aqbanking/types/transaction.xml: Fix typos
|
||
|
- added aqbanking-tool command "chkiban" which checks whether a given IBAN
|
||
|
is valid
|
||
|
- AqOfxConnect: Fixed a bug in provider.c which could lead to a segfault
|
||
|
- generic bankinfo plugin:
|
||
|
- implemented a mechanism to update bank info files via additional files
|
||
|
- Germany: Updated HBCI and bank info files (now reads new
|
||
|
format of Bundesbank files)
|
||
|
- Austria:
|
||
|
- updated BLZ file (now reads new, more extensive format)
|
||
|
- added OFX server information for BAWAG P.S.K and EasyBank
|
||
|
- AqHBCI:
|
||
|
- removed functions AH_HBCI_HbciToUtf8() and AH_JobQueue_AddAsUtf8() because
|
||
|
they are no longer needed since the whole server response is transformed
|
||
|
to UTF8 -> finally fixes Umlaut problems
|
||
|
- implemented iTAN process type 2: It now works against the test server,
|
||
|
tomorrow I will have to test it against a real server
|
||
|
- Fix rule srcdoc if directory was not existing
|
||
|
* Wed Aug 23 2006 - schwab@suse.de
|
||
|
- Work around broken configure check.
|
||
|
* Tue May 09 2006 - sbrabec@suse.cz
|
||
|
- Updated to version 2.0.0 (new branch).
|
||
|
- Split package to follow upstream packaging.
|
||
|
* Thu Feb 23 2006 - sbrabec@suse.cz
|
||
|
- Fixed documentation path (#146744).
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Tue Oct 25 2005 - sbrabec@suse.cz
|
||
|
- Fixed libtool patch.
|
||
|
* Mon Oct 24 2005 - sbrabec@suse.cz
|
||
|
- New SuSE package, version 1.2.0.
|
||
|
Based on spec file from Rajesh Singh <rajeshsingh.geo@yahoo.com>.
|