SHA256
1
0
forked from pool/aqbanking
aqbanking/aqbanking.spec

515 lines
14 KiB
RPMSpec

#
# spec file for package aqbanking (Version 2.2.9)
#
# Copyright (c) 2007 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 fdupes gtk2-devel gwenhywfar-devel kdelibs3-devel ktoblzcheck-devel libchipcard3-devel libglade2-devel libofx-devel python-devel pyxml qt3-devel
Version: 2.2.9
Release: 4
Requires: %{name}-lang = %{version}
URL: http://www.aquamaniac.de/aqbanking/
Group: Productivity/Office/Finance
License: GPL v2 or later, Link-exceptions for OpenSSL and AqYellowNet
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
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: GPL v2 or later, aAqYellowNet EULA
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
%lang_package
%prep
%setup -q
%patch
%patch1
%build
ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure\
--enable-release\
%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}
# 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
%post ofx -p /sbin/ldconfig
%postun ofx -p /sbin/ldconfig
%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
%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
### The ofx files
%{_includedir}/aqofxconnect
%ifarch %ix86
### The yellownet files
%{_includedir}/aqyellownet
%endif
# .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.*
%{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
%{aq_plugindir}/providers/aqyellownet.*
%files yellownet-qt3
%defattr(-,root,root)
%{qb_cfgmoddir}/aqyellownet*
%endif
%changelog
* 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.
* 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>.