66fe728
Name: aqbanking
66fe728
Summary: A library for online banking functions and financial data import/export.
9536328
Version: 1.8.1beta
b795350
Release: 3.1
66fe728
Source: http://download.sourceforge.net/aqbanking/%{name}-%{version}.tar.gz
9536328
Source1: aqbanking-%{version}-gladesrc.tar.gz
66fe728
Group: System Environment/Libraries
66fe728
License: GPL
66fe728
URL: http://sourceforge.net/projects/aqbanking
23aaf58
Patch: aqbanking-libdir.patch
9536328
Patch2: aqbanking-aclocal.patch
9536328
Patch3: aqbanking-1.8.1beta-noglade.patch
66fe728
BuildRoot: %{_tmppath}/%{name}-%{version}-root
03c5d72
BuildRequires: gwenhywfar-devel >= 1.99.2 qt-devel
a18cbc4
BuildRequires: libofx-devel >= 0.7.0
66fe728
Prereq: /sbin/ldconfig
61ccf93
Obsoletes: aqhbci, aqhbci-qt-tools
66fe728
66fe728
%description 
66fe728
The intention of AqBanking is to provide a middle layer between the
66fe728
program and the various Online Banking libraries (e.g. AqHBCI). The
66fe728
first backend which is already supported is AqHBCI, a library which
66fe728
implements a client for the German HBCI (Home Banking Computer
66fe728
Interface) protocol. Additionally, Aqbanking provides various plugins
66fe728
to simplify import and export of financial data. Currently there are
66fe728
import plugins for the following formats: DTAUS (German financial
66fe728
format), SWIFT (MT940 and MT942).
66fe728
66fe728
%package devel
66fe728
Summary: Aqbanking development kit
66fe728
Group: Development/Libraries
66fe728
Requires: %{name} = %{version}-%{release}
66fe728
Requires: gwenhywfar-devel
9536328
Obsoletes: aqhbci-devel
9536328
66fe728
%description devel
66fe728
This package contains aqbanking-config and header files for writing and
66fe728
compiling programs using Aqbanking.
66fe728
66fe728
%prep
9536328
%setup -q -b 1
23aaf58
%patch -p1
9536328
%patch3 -p1
9536328
%patch2 -p1
66fe728
66fe728
%build
9536328
[ -z "$QTDIR" ] && . /etc/profile.d/qt.sh
9536328
autoconf
9536328
%{configure} --disable-static --with-backends="aqhbci aqdtaus aqofxconnect" \
9536328
  --with-frontends="cbanking qbanking" --enable-python
7f159f2
make LIBTOOL=/usr/bin/libtool
66fe728
66fe728
%install
66fe728
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
66fe728
7f159f2
make DESTDIR=$RPM_BUILD_ROOT install LIBTOOL=/usr/bin/libtool
7f159f2
940a6d0
find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
940a6d0
find $RPM_BUILD_ROOT -name *.a -exec rm -f {} \;
66fe728
66fe728
9536328
rm -f $RPM_BUILD_ROOT/%{_bindir}/*-config
9536328
9536328
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
9536328
mv $RPM_BUILD_ROOT/%{_datadir}/doc/{aqbanking,aqhbci} $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
9536328
66fe728
%clean
66fe728
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
66fe728
66fe728
%post -p /sbin/ldconfig
66fe728
66fe728
%postun -p /sbin/ldconfig
66fe728
66fe728
%files
66fe728
%defattr(-,root,root)
66fe728
%doc AUTHORS README COPYING ChangeLog
66fe728
%{_libdir}/*.so.*
66fe728
%{_libdir}/%{name}
66fe728
%{_libdir}/gwenhywfar
66fe728
%{_datadir}/%{name}
66fe728
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
9536328
/usr/lib/python2.4/site-packages/%{name}
9536328
%{_datadir}/aqhbci
9536328
%{_bindir}/*-tool
66fe728
66fe728
%files devel
66fe728
%defattr(-,root,root)
9536328
%{_bindir}/hbcixml2
66fe728
%{_libdir}/*.so
9536328
%{_includedir}/*
9536328
%{_libdir}/pkgconfig/*
9536328
%{_datadir}/aclocal/*
9536328
66fe728
66fe728
%changelog
b795350
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.8.1beta-3.1
b795350
- bump again for double-long bug on ppc(64)
b795350
a18cbc4
* Tue Feb 07 2006 Karsten Hopp <karsten@redhat.de> 1.8.1beta-3
a18cbc4
- buildrequire libofx-devel instead of libofx (pulls in libofx)
a18cbc4
687f5ba
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.8.1beta-2.1
687f5ba
- rebuilt for new gcc4.1 snapshot and glibc changes
687f5ba
fd42925
* Sun Jan 22 2006 Bill Nottingham <notting@redhat.com> 1.8.1beta-2
61ccf93
- add an obsolete (#178554)
61ccf93
3d36c62
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
3d36c62
- rebuilt
3d36c62
817c6e8
* Mon Mar  7 2005 Bill Nottingham <notting@redhat.com> 1.0.4beta-2
817c6e8
- rebuild
817c6e8
66fe728
* Wed Feb  9 2005 Bill Nottingham <notting@redhat.com> 1.0.4beta-1
66fe728
- initial packaging, adopt upstream specfile