# # spec file for package aqbanking (Version 2.3.3) # # Copyright (c) 2008 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 %define build_ofx 0 Name: aqbanking BuildRequires: doxygen fdupes gtk2-devel gwenhywfar-devel kdelibs3-devel ktoblzcheck-devel libchipcard3 libchipcard3-devel libglade2-devel python-devel pyxml qt3-devel %if %build_ofx BuildRequires: libofx-devel %endif Version: 2.3.3 Release: 1 Requires: %{name}-lang = %{version} Url: http://www.aquamaniac.de/aqbanking/ Group: Productivity/Office/Finance License: GPL v2 or later Summary: Library for Online Banking Functions and Financial Data Import and Export Source: %{name}-%{version}.tar.bz2 Patch: aqbanking-aqyellownet-libtool.patch Patch1: aqbanking-internal-lib-reference.patch Patch2: aqbanking-open-call.patch 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 %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 libchipcard3-devel libglade2-devel qt3-devel %if %build_ofx Requires: libofx-devel %endif %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 %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 %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 %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 %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 %if %build_ofx %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 %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 %endif %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 %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 %ifarch %ix86 %package yellownet Summary: Library for Online Banking Functions and Financial Data Import/Export Group: Productivity/Office/Finance License: GPL v2 or later 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 %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 %endif %lang_package %prep %setup -q %patch %patch1 %patch2 %build BACKEND_LIST="aqdtaus aqgeldkarte aqhbci aqnone" %if %build_ofx BACKEND_LIST="$BACKEND_LIST aqofxconnect" %endif %ifarch %ix86 BACKEND_LIST="$BACKEND_LIST aqyellownet" %endif ACLOCAL="aclocal -I m4" autoreconf -f -i %configure\ --enable-release\ --with-backends="$BACKEND_LIST" \ --enable-python\ --enable-full-doc\ --with-docpath=%{_docdir}/%{name} \ --with-qt3-libs=/usr/lib/qt3/%{_lib} \ --with-kde3-libs=/opt/kde3/%{_lib} # Does not work with aqbanking-2.2.9: #make %{?jobs:-j%jobs} make %install %makeinstall idatadir=%{_docdir}/%{name} cp -a AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name} rm $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/16/bankinfo/*.la %find_lang %{name} %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post kde3 -p /sbin/ldconfig %postun kde3 -p /sbin/ldconfig %post gtk2 -p /sbin/ldconfig %postun gtk2 -p /sbin/ldconfig %post qt3 -p /sbin/ldconfig %postun qt3 -p /sbin/ldconfig %if %build_ofx %post ofx -p /sbin/ldconfig %postun ofx -p /sbin/ldconfig %endif %post geldkarte -p /sbin/ldconfig %postun geldkarte -p /sbin/ldconfig %files %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 %if !%build_ofx %{imex_datadir}/ofx %endif %files lang -f %name.lang %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 %if %build_ofx ### The ofx files %{_includedir}/aqofxconnect %endif %ifarch %ix86 ### The yellownet files %{_includedir}/aqyellownet %endif # .so files from sub-packages %{_libdir}/libqbanking.so %{_libdir}/libg2banking.so %{_libdir}/libkbanking.so %if %build_ofx %{_libdir}/libaqofxconnect.so %endif %{_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.* %if %build_ofx %files ofx %defattr(-,root,root) #%{_bindir}/aqofxconnect-config %{_libdir}/libaqofxconnect.so.* %{aq_plugindir}/providers/aqofxconnect.* %{imex_plugindir}/ofx.* %{imex_datadir}/ofx %files ofx-qt3 %defattr(-,root,root) %{qb_cfgmoddir}/aqofxconnect* %endif %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 %{aq_plugindir}/providers/aqyellownet.* %files yellownet-qt3 %defattr(-,root,root) %{qb_cfgmoddir}/aqyellownet* %endif %changelog * Thu Feb 28 2008 ro@suse.de - update to 2.3.3 (last in 2.3 series) - Very minor improvements: One windows function signature has been fixed. DTAUS export has been improved. Error messages at aqbanking-tool have been improved. - update to 2.3.2 - Windows registry lookup issues have been solved. This release is only interesting for windows users. - update to 2.3.1 - Fix translations when using qt4, especially on Windows. Improve cross-compiling. (This release brings no changes for the conventional qt3 compile.) - update to 2.3.0 - Fix some path lookup issues on MS Windows. Fix a crash with erroneous bank codes. Fix check function in PIN/TAN mode. Improved aqhbci-tool. Add a function for easier initial setup (hence the incremented version number). - disabled ofx backend build (incompatible with current libofx) * Thu Jan 24 2008 coolo@suse.de - fix open call * Wed Aug 08 2007 maw@suse.de - Use %%fdupes - Split off a -lang subpackage. * Mon Jul 30 2007 sbrabec@suse.cz - Updated to version 2.2.9: * Improvements in the setup wizard. * Fix qt4 porting code. * Fix crashes when actions have no selected items in qbanking. * Improve aqbanking-tool and aqhbci-tool usage messages. * Fix command line processing in tool hbcixml. * Fixed changes in aqofxconnect to be enabled only for new libofx versions. * The config file is saved correctly. * Adaptation on gwenhywfar changes. * AqGeldKarte has been fixed and adapted to Libchipcard3. * The QBanking frontend is now less verbous. * Allows to setup iTAN HBCI accounts. * Import profile for ABN AMRO Bank (NL). * Other fixes and improvements, see NEWS for details. * Thu May 24 2007 stbinner@suse.de - add missing %%run_ldconfig calls * 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. * Sat Sep 16 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 .