66fe728
Name: aqbanking
66fe728
Summary: A library for online banking functions and financial data import/export.
66fe728
Version: 1.0.4beta
66fe728
Release: 1
66fe728
Source: http://download.sourceforge.net/aqbanking/%{name}-%{version}.tar.gz
66fe728
Group: System Environment/Libraries
66fe728
License: GPL
66fe728
URL: http://sourceforge.net/projects/aqbanking
66fe728
BuildRoot: %{_tmppath}/%{name}-%{version}-root
66fe728
BuildRequires: gwenhywfar-devel
66fe728
BuildRequires: libofx >= 0.7.0
66fe728
Prereq: /sbin/ldconfig
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
66fe728
%description devel
66fe728
This package contains aqbanking-config and header files for writing and
66fe728
compiling programs using Aqbanking.
66fe728
66fe728
%prep
66fe728
%setup -q
66fe728
66fe728
%build
66fe728
%{configure} --disable-static
66fe728
make
66fe728
66fe728
%install
66fe728
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
66fe728
66fe728
make DESTDIR=$RPM_BUILD_ROOT install
66fe728
66fe728
find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
66fe728
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
66fe728
66fe728
%files devel
66fe728
%defattr(-,root,root)
66fe728
%{_bindir}/aqbanking-config
66fe728
%{_libdir}/*.so
66fe728
%{_includedir}/aqbanking
66fe728
%{_includedir}/aqbanking++
66fe728
%{_datadir}/aclocal/aqbanking.m4
66fe728
66fe728
%changelog
66fe728
* Wed Feb  9 2005 Bill Nottingham <notting@redhat.com> 1.0.4beta-1
66fe728
- initial packaging, adopt upstream specfile