2006-12-19 15:29:53 +01:00
|
|
|
#
|
2009-08-17 15:28:54 +02:00
|
|
|
# spec file for package aqbanking (Version 4.0.0)
|
2006-12-19 15:29:53 +01:00
|
|
|
#
|
2009-03-26 00:10:32 +01:00
|
|
|
# Copyright (c) 2009 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-08-17 15:28:54 +02:00
|
|
|
%define build_ofx 1
|
2008-02-21 01:30:17 +01:00
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
Name: aqbanking
|
2009-08-17 15:28:54 +02:00
|
|
|
BuildRequires: doxygen fdupes gmp-devel gtk2-devel gwenhywfar-devel kdelibs3-devel ktoblzcheck-devel libchipcard4 libchipcard4-devel libglade2-devel python-devel pyxml qt3-devel
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
|
|
|
BuildRequires: libofx-devel
|
|
|
|
%endif
|
2009-08-17 15:28:54 +02:00
|
|
|
Version: 4.0.0
|
|
|
|
Release: 1
|
2007-08-09 17:46:08 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2008-01-24 18:18:49 +01:00
|
|
|
Url: http://www.aquamaniac.de/aqbanking/
|
2006-12-19 15:29:53 +01:00
|
|
|
Group: Productivity/Office/Finance
|
2008-01-24 18:18:49 +01:00
|
|
|
License: GPL v2 or later
|
2006-12-19 15:29:53 +01:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import and Export
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2009-08-17 15:28:54 +02:00
|
|
|
Patch5: %{name}-strncat.patch
|
2006-12-19 15:29:53 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-08-17 15:28:54 +02:00
|
|
|
%define aq_plugindir %{_libdir}/aqbanking/plugins/29
|
2006-12-19 15:29:53 +01:00
|
|
|
%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
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Martin Preuss <martin@libchipcard.de>
|
|
|
|
|
|
|
|
%package devel
|
2009-03-26 00:10:32 +01:00
|
|
|
License: GPL v2 or later
|
2006-12-19 15:29:53 +01:00
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
|
|
|
Group: Productivity/Office/Finance
|
2008-02-28 17:20:00 +01:00
|
|
|
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
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%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 qt3
|
2009-03-26 00:10:32 +01:00
|
|
|
License: GPL v2 or later
|
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 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>
|
|
|
|
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
%package ofx
|
2009-03-26 00:10:32 +01:00
|
|
|
License: GPL v2 or later
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Martin Preuss <martin@libchipcard.de>
|
|
|
|
|
|
|
|
%package ofx-qt3
|
2009-03-26 00:10:32 +01:00
|
|
|
License: GPL v2 or later
|
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-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>
|
|
|
|
|
2008-02-28 17:20:00 +01:00
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
%ifarch %ix86
|
2008-01-24 18:18:49 +01:00
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
%package yellownet
|
|
|
|
Summary: Library for Online Banking Functions and Financial Data Import/Export
|
|
|
|
Group: Productivity/Office/Finance
|
2008-01-24 18:18:49 +01:00
|
|
|
License: GPL v2 or later
|
2006-12-19 15:29:53 +01:00
|
|
|
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
|
2009-03-26 00:10:32 +01:00
|
|
|
License: GPL v2 or later
|
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 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
|
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
|
2009-08-17 15:28:54 +02:00
|
|
|
%patch5
|
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
|
|
|
|
%ifarch %ix86
|
|
|
|
BACKEND_LIST="$BACKEND_LIST aqyellownet"
|
|
|
|
%endif
|
2007-07-31 00:09:22 +02:00
|
|
|
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
|
|
|
%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-python\
|
|
|
|
--enable-full-doc\
|
|
|
|
--with-docpath=%{_docdir}/%{name} \
|
|
|
|
--with-qt3-libs=/usr/lib/qt3/%{_lib} \
|
|
|
|
--with-kde3-libs=/opt/kde3/%{_lib}
|
2007-07-31 00:09:22 +02:00
|
|
|
# Does not work with aqbanking-2.2.9:
|
|
|
|
#make %{?jobs:-j%jobs}
|
2006-12-19 15:29:53 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2007-07-31 00:09:22 +02:00
|
|
|
%makeinstall idatadir=%{_docdir}/%{name}
|
|
|
|
cp -a AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
%find_lang %{name}
|
2007-08-09 17:46:08 +02:00
|
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
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
|
|
|
|
2007-07-31 00:09:22 +02:00
|
|
|
%post qt3 -p /sbin/ldconfig
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2007-07-31 00:09:22 +02:00
|
|
|
%postun qt3 -p /sbin/ldconfig
|
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
|
|
|
|
2007-08-09 17:46:08 +02:00
|
|
|
%files
|
2006-12-19 15:29:53 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
### 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.*
|
|
|
|
%{_libdir}/gwenhywfar
|
|
|
|
%{_datadir}/%{name}/bankinfo
|
2009-08-17 15:28:54 +02:00
|
|
|
%{_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.*
|
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
|
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
|
|
|
#%{_datadir}/doc/aqhbci
|
|
|
|
### The aqnone files
|
|
|
|
%{_libdir}/libaqnone.so.*
|
|
|
|
%{aq_plugindir}/providers/aqnone.*
|
|
|
|
## 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
|
2008-02-28 17:20:00 +01:00
|
|
|
%if !%build_ofx
|
|
|
|
%{imex_datadir}/ofx
|
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2007-08-09 17:46:08 +02:00
|
|
|
%files lang -f %name.lang
|
|
|
|
|
2006-12-19 15:29:53 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
### The aqbanking files
|
|
|
|
%{_bindir}/*-config
|
|
|
|
#%{_bindir}/%{name}-config
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/*.la
|
|
|
|
%{_libdir}/libaqbanking.so
|
|
|
|
%{_libdir}/libaqhbci.so
|
|
|
|
%{_libdir}/libaqnone.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_datadir}/aclocal
|
|
|
|
### The aqhbci files
|
|
|
|
#%{_bindir}/aqhbci-config
|
2009-08-17 15:28:54 +02:00
|
|
|
%{_bindir}/hbcixml3
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_includedir}/aqhbci
|
|
|
|
### The qbanking files
|
|
|
|
#%{_bindir}/qbanking-config
|
|
|
|
%{_includedir}/qbanking
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
2007-07-31 00:09:22 +02:00
|
|
|
### The ofx files
|
|
|
|
%{_includedir}/aqofxconnect
|
2008-02-28 17:20:00 +01:00
|
|
|
%endif
|
|
|
|
%ifarch %ix86
|
2007-07-31 00:09:22 +02:00
|
|
|
### The yellownet files
|
2008-02-28 17:20:00 +01:00
|
|
|
%{_includedir}/aqyellownet
|
|
|
|
%endif
|
2006-12-19 15:29:53 +01:00
|
|
|
# .so files from sub-packages
|
|
|
|
%{_libdir}/libqbanking.so
|
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
|
|
|
|
|
|
|
%files qt3
|
|
|
|
%defattr(-,root,root)
|
2009-08-17 15:28:54 +02:00
|
|
|
%{_bindir}/qb-help8
|
2006-12-19 15:29:53 +01:00
|
|
|
%{_libdir}/libqbanking.so.*
|
|
|
|
%{aq_plugindir}/debugger/aqhbci
|
|
|
|
%{aq_plugindir}/wizards
|
|
|
|
%{qb_cfgmoddir}/aqhbci*
|
|
|
|
%{_datadir}/%{name}/i18n
|
|
|
|
%{fronts_datadir}/qbanking
|
2008-02-28 17:20:00 +01:00
|
|
|
%if %build_ofx
|
2006-12-19 15:29:53 +01:00
|
|
|
|
|
|
|
%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*
|
2008-02-28 17:20:00 +01:00
|
|
|
%endif
|
|
|
|
%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
|
2006-12-19 15:29:53 +01:00
|
|
|
|
2007-05-24 12:17:57 +02:00
|
|
|
%changelog
|