Репозиторий Sisyphus
Последнее обновление: 24 марта 2019 | Пакетов: 17646 | Посещений: 13269769
en ru br
Репозитории ALT
S:5.7.8-alt2
4.0: 2.2.4-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: aqbanking

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# Conditional build:
#%%bcond_with chipcard # build aqgeldkarte backend
#%%bcond_with gtk # build g2banking frontend (needs $DISPLAY)
#%%bcond_without kde # don't build kbanking frontend
#
Name: aqbanking
Version: 2.2.4
Release: alt1

Summary: A library for online banking functions and financial data import/export

License: GPL v2
Group: System/Libraries
Url: http://www.aquamaniac.de/aqbanking/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://dl.sourceforge.net/aqbanking/%name-%version.tar.bz2

Patch0: %name-link.patch

# manually removed: ananas-engine-qt

# Automatically added by buildreq on Wed Apr 11 2007
BuildRequires: gcc-c++ graphviz kdepim-devel ktoblzcheck-devel libgwenhywfar-devel libofx-devel libqscintilla-designer libqwt-devel python-dev

BuildRequires: libgwenhywfar-devel >= 2.2.0 libgtk+2-devel libqt3-devel
BuildRequires: rpm-build-compat

%description
The intention of AqBanking is to provide a middle layer between the
program and the various Online Banking libraries (e.g. AqHBCI). The
first backend which is already supported is AqHBCI, a library which
implements a client for the German HBCI (Home Banking Computer
Interface) protocol. Additionally, Aqbanking provides various plugins
to simplify import and export of financial data. Currently there are
import plugins for the following formats: DTAUS (German financial
format), SWIFT (MT940 and MT942).

%package devel
Summary: Header files for AqBanking library
Group: Development/Other

Requires: %name = %version-%release
#Requires: gwenhywfar-devel >= 1.18.0
# for libaqbankingpp only
#Requires: libstdc++-devel

%description devel
Header files for AqBanking library.

%package backend-aqdtaus
Summary: AqDTAUS backend for AqBanking library
Group: System/Libraries
Requires: %name = %version-%release

%description backend-aqdtaus
AqDTAUS backend for AqBanking library.

%package backend-aqdtaus-devel
Summary: Header files for AqDTAUS backend library
Group: Development/Other
Requires: %name-backend-aqdtaus = %version-%release
Requires: %name-devel = %version-%release

%description backend-aqdtaus-devel
Header files for AqDTAUS backend library.

%package backend-aqgeldkarte
Summary: AqGeldKarte backend for AqBanking library
Group: System/Libraries
Requires: %name = %version-%release

%description backend-aqgeldkarte
AqGeldKarte backend for AqBanking library.

%package backend-aqgeldkarte-devel
Summary: Header files for AqGeldKarte backend library
Group: Development/Other
Requires: %name-backend-aqgeldkarte = %version-%release
Requires: %name-devel = %version-%release
Requires: libchipcard-devel >= 1.9.15

%description backend-aqgeldkarte-devel
Header files for AqGeldKarte backend library.

%package backend-aqhbci
Summary: AqHBCI backend for AqBanking library
Group: System/Libraries
Requires: %name = %version-%release

%description backend-aqhbci
AqHBCI backend for AqBanking library.

%package backend-aqhbci-devel
Summary: Header files for AqHBCI backend library
Group: Development/Other
Requires: %name-backend-aqhbci = %version-%release
Requires: %name-devel = %version-%release

%description backend-aqhbci-devel
Header files for AqHBCI backend library.

%package backend-aqofxconnect
Summary: AqOFXConnect backend for AqBanking library
Group: System/Libraries
Requires: %name = %version-%release

%description backend-aqofxconnect
AqOFXConnect backend for AqBanking library.

%package backend-aqofxconnect-devel
Summary: Header files for AqOFXConnect backend library
Group: Development/Other
Requires: %name-backend-aqofxconnect = %version-%release
Requires: libofx-devel >= 0.8.0

%description backend-aqofxconnect-devel
Header files for AqOFXConnect backend library.

%package frontend-cbanking
Summary: Cbanking frontend for AqBanking library
Group: System/Libraries
Requires: %name = %version-%release

%description frontend-cbanking
Cbanking frontend for AqBanking library.

%package frontend-cbanking-devel
Summary: Header files for Cbanking frontend library
Group: Development/Other
Requires: %name-devel = %version-%release
Requires: %name-frontend-cbanking = %version-%release

%description frontend-cbanking-devel
Header files for Cbanking frontend library.

%package frontend-g2banking
Summary: G2Banking - GTK+ based frontend for AqBanking library
Summary(pl): G2Bbanking - oparty na GTK+ frontend dla biblioteki AqBanking
Group: System/Libraries
Requires: %name = %version-%release

%description frontend-g2banking
G2Banking - GTK+ based frontend for AqBanking library.

%package frontend-g2banking-devel
Summary: Header files for G2Banking frontend library
Group: Development/Other
Requires: %name-devel = %version-%release
Requires: %name-frontend-g2banking = %version-%release

%description frontend-g2banking-devel
Header files for G2Banking frontend library.

%package frontend-kbanking
Summary: KBanking - KDE-based frontend for AqBanking library
Group: System/Libraries
Requires: %name-frontend-qbanking = %version-%release

%description frontend-kbanking
KBanking - KDE-based frontend for AqBanking library.

%package frontend-kbanking-devel
Summary: Header files for KBanking frontend library
Group: Development/Other
Requires: %name-frontend-kbanking = %version-%release
Requires: %name-frontend-qbanking-devel = %version-%release

%description frontend-kbanking-devel
Header files for KBanking frontend library.

%package frontend-qbanking
Summary: QBanking - Qt-based frontend for AqBanking library
Group: System/Libraries
Requires: %name = %version-%release

%description frontend-qbanking
QBanking - Qt-based frontend for AqBanking library.

%package frontend-qbanking-devel
Summary: Header files for QBanking frontend library
Group: Development/Other
Requires: %name-devel = %version-%release
Requires: %name-frontend-qbanking = %version-%release

%description frontend-qbanking-devel
Header files for QBanking frontend library.

%setup_python_module %name

%package -n python-module-%name
Summary: Python binding for AqBanking library
Group: Development/Python
Requires: %name = %version-%release
#Requires: python-ctypes
#%%pyrequires_eq python-libs

%description -n python-module-%name
Python binding for AqBanking library.

%prep
%setup -q
#%patch0 -p1

%build
#__autoreconf
#export PATH=%_qt3dir/bin:$PATH
%configure \
--enable-libofx \
--enable-python \
--disable-static \
--with-qt3-libs=%_qt3dir/lib \
--with-backends="aqhbci aqdtaus aqofxconnect" \
--with-frontends="cbanking qbanking kbanking"
#TODO: fe: g2banking
#TODO: be: aqgeldkarte
#

# hack for semi SMP build

%make_build || make

%install
%make_install install DESTDIR=%buildroot

rm -f %buildroot%_libdir/*/plugins/*/*/*.{la,a}
rm -f %buildroot%_libdir/*/plugins/*/*/*/*/*.{la,a}
# /usr/share/doc/aqhbci/aqhbci-tool/README
rm -f %_docdir/aqhbci/aqhbci-tool/README

%find_lang %name

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%post backend-aqdtaus -p %post_ldconfig
%postun backend-aqdtaus -p %post_ldconfig

%post backend-aqgeldkarte -p %post_ldconfig
%postun backend-aqgeldkarte -p %post_ldconfig

%post backend-aqhbci -p %post_ldconfig
%postun backend-aqhbci -p %post_ldconfig

%post backend-aqofxconnect -p %post_ldconfig
%postun backend-aqofxconnect -p %post_ldconfig

%post frontend-cbanking -p %post_ldconfig
%postun frontend-cbanking -p %post_ldconfig

%post frontend-g2banking -p %post_ldconfig
%postun frontend-g2banking -p %post_ldconfig

%post frontend-kbanking -p %post_ldconfig
%postun frontend-kbanking -p %post_ldconfig

%post frontend-qbanking -p %post_ldconfig
%postun frontend-qbanking -p %post_ldconfig

%files -f %name.lang
%_docdir/%name/
%attr(755,root,root) %_bindir/aqbanking-tool
%attr(755,root,root) %_bindir/cbanking-config
%attr(755,root,root) %_bindir/qb-help
%attr(755,root,root) %_libdir/libaqbanking.so.*
#%attr(755,root,root) %_libdir/libaqbankingpp.so.*
%_libdir/libaqnone.so.*
%_libdir/aqbanking/plugins/16/providers/aqnone.*
%dir %_libdir/aqbanking
%dir %_libdir/aqbanking/plugins
%dir %_libdir/aqbanking/plugins/*
%dir %_libdir/aqbanking/plugins/*/bankinfo
%attr(755,root,root) %_libdir/aqbanking/plugins/*/bankinfo/*.so*
%_libdir/aqbanking/plugins/*/bankinfo/*.xml
%dir %_libdir/aqbanking/plugins/*/debugger
%dir %_libdir/aqbanking/plugins/*/imexporters
%attr(755,root,root) %_libdir/aqbanking/plugins/*/imexporters/*.so*
%_libdir/aqbanking/plugins/*/imexporters/*.xml
%dir %_libdir/aqbanking/plugins/*/providers
%dir %_libdir/aqbanking/plugins/*/wizards
%attr(755,root,root) %_libdir/gwenhywfar/plugins/*/dbio/*.so*
%_libdir/gwenhywfar/plugins/*/dbio/*.xml
%_datadir/aqbanking
%_libdir/aqbanking/plugins/16/wizards/qt3-wizard
%_libdir/aqbanking/plugins/16/wizards/qt3_wizard.xml

%files devel
%attr(755,root,root) %_bindir/aqbanking-config
%attr(755,root,root) %_libdir/libaqbanking.so
#%attr(755,root,root) %_libdir/libaqbankingpp.so
#%_libdir/libaqbanking.la
#%_libdir/libaqbankingpp.la
%_libdir/libaqnone.so
%_includedir/aqbanking/
#%_includedir/aqbanking++
%_aclocaldir/aqbanking.m4
%_aclocaldir/cbanking.m4
%_pkgconfigdir/aqbanking.pc

%files backend-aqdtaus
%attr(755,root,root) %_libdir/libaqdtaus.so.*
%attr(755,root,root) %_libdir/aqbanking/plugins/16/frontends/qbanking/cfgmodules/aqdtaus.so*
%_libdir/aqbanking/plugins/16/providers/aqdtaus.*
#%dir %_libdir/aqbanking/plugins/*/wizards/aqdtaus
#%attr(755,root,root) %_libdir/aqbanking/plugins/*/wizards/aqdtaus/aqdtaus-qt3-wizard
#%_libdir/aqbanking/plugins/16/wizards/aqdtaus/qt_wizard.xml

%files backend-aqdtaus-devel
%attr(755,root,root) %_bindir/aqdtaus-config
%attr(755,root,root) %_libdir/libaqdtaus.so
#%_libdir/libaqdtaus.la
%_includedir/aqdtaus
%_aclocaldir/aqdtaus.m4

%ifdef NONO
%files backend-aqgeldkarte
%attr(755,root,root) %_libdir/libaqgeldkarte.so.*
%attr(755,root,root) %_libdir/aqbanking/plugins/*/providers/aqgeldkarte.so*
%_libdir/aqbanking/plugins/*/providers/aqgeldkarte.xml
%dir %_libdir/aqbanking/plugins/*/wizards/aqgeldkarte
%attr(755,root,root) %_libdir/aqbanking/plugins/*/wizards/aqgeldkarte/aqgeldkarte-qt3-wizard
%_libdir/aqbanking/plugins/*/wizards/aqgeldkarte/qt_wizard.xml

%files backend-aqgeldkarte-devel
%attr(755,root,root) %_bindir/aqgeldkarte-config
%attr(755,root,root) %_libdir/libaqgeldkarte.so
#%_libdir/libaqgeldkarte.la
%_includedir/aqgeldkarte
%_aclocaldir/aqgeldkarte.m4
%endif

%files backend-aqhbci
%attr(755,root,root) %_bindir/aqhbci-tool
%attr(755,root,root) %_bindir/hbcixml2
%attr(755,root,root) %_libdir/libaqhbci.so.*
%dir %_libdir/aqbanking/plugins/*/debugger/aqhbci
%attr(755,root,root) %_libdir/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt3-debug
%_libdir/aqbanking/plugins/*/debugger/aqhbci/qt_debug.xml
%attr(755,root,root) %_libdir/aqbanking/plugins/*/providers/aqhbci.so*
%_libdir/aqbanking/plugins/*/providers/aqhbci.xml
#%dir %_libdir/aqbanking/plugins/*/wizards/aqhbci
%dir %_libdir/aqbanking/plugins/16/frontends/qbanking/cfgmodules/aqhbci.so*
#%attr(755,root,root) %_libdir/aqbanking/plugins/*/wizards/aqhbci/aqhbci-qt3-wizard
#%_libdir/aqbanking/plugins/*/wizards/aqhbci/kde_wizard.xml
%attr(755,root,root) %_libdir/gwenhywfar/plugins/*/crypttoken/pintan.so
%_libdir/gwenhywfar/plugins/*/crypttoken/pintan.xml
%_datadir/aqhbci

%files backend-aqhbci-devel
%defattr(644,root,root,755)
%attr(755,root,root) %_bindir/aqhbci-config
%attr(755,root,root) %_libdir/libaqhbci.so
#%_libdir/libaqhbci.la
%_includedir/aqhbci
%_aclocaldir/aqhbci.m4

%files backend-aqofxconnect
%attr(755,root,root) %_libdir/libaqofxconnect.so.*
%attr(755,root,root) %_libdir/aqbanking/plugins/*/providers/aqofxconnect.so*
%_libdir/aqbanking/plugins/*/providers/aqofxconnect.xml
#%dir %_libdir/aqbanking/plugins/*/wizards/aqofxconnect
%dir %_libdir/aqbanking/plugins/16/frontends/qbanking/cfgmodules/aqofxconnect.so*
#%attr(755,root,root) %_libdir/aqbanking/plugins/*/wizards/aqofxconnect/aqofxconnect-qt3-wizard
#%_libdir/aqbanking/plugins/*/wizards/aqofxconnect/qt_wizard.xml

%files backend-aqofxconnect-devel
%attr(755,root,root) %_bindir/aqofxconnect-config
%attr(755,root,root) %_libdir/libaqofxconnect.so
#%_libdir/libaqofxconnect.la
%_includedir/aqofxconnect
%_aclocaldir/aqofxconnect.m4

%files frontend-cbanking
%attr(755,root,root) %_libdir/libcbanking.so.*

%files frontend-cbanking-devel
%attr(755,root,root) %_libdir/libcbanking.so
#%_libdir/libcbanking.la
%_includedir/cbanking

#%files frontend-g2banking

#%attr(755,root,root) %_libdir/libg2banking.so.*.*.*

#%files frontend-g2banking-devel

#%attr(755,root,root) %_bindir/g2banking-config
#%attr(755,root,root) %_libdir/libg2banking.so
#%_libdir/libg2banking.la
#%_includedir/g2banking
#%_aclocaldir/g2banking.m4

%files frontend-kbanking
%attr(755,root,root) %_libdir/libkbanking.so.*

%files frontend-kbanking-devel
%attr(755,root,root) %_bindir/kbanking-config
%attr(755,root,root) %_libdir/libkbanking.so
%_includedir/kbanking
%_aclocaldir/kbanking.m4

%files frontend-qbanking
%attr(755,root,root) %_libdir/libqbanking.so.*

%files frontend-qbanking-devel
%attr(755,root,root) %_bindir/qbanking-config
%_libdir/libqbanking.so
%_includedir/qbanking
%_aclocaldir/qbanking.m4

%files -n python-module-%name
%python_sitelibdir/*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin