%define name aqbanking %define version 1.2.0 %define release %mkrel 3 %define libname %mklibname %name 0 %define fname %name-%{version} Name: %{name} Summary: A library for online banking functions and financial data import/export Version: %{version} Release: %{release} Source: http://prdownloads.sourceforge.net/aqbanking/%fname.tar.bz2 Group: System/Libraries License: GPL URL: http://sourceforge.net/projects/aqbanking BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libgwenhywfar-devel >= 1.14.0 %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 -n %libname Summary: A library for online banking functions and financial data import/export Group: System/Libraries Requires: %name >= %version %description -n %libname 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 -n %libname-devel Summary: Aqbanking development kit Group: Development/C++ Requires: %{libname} = %{version} Provides: lib%name-devel = %{version}-%{release} Requires: OpenSP-devel %description -n %libname-devel This package contains aqbanking-config and header files for writing and compiling programs using Aqbanking. %prep %setup -q -n %fname %build %configure2_5x #parallel compilation must be disabled #otherwise build will be linked with system libraries #not the package one make %install rm -rf $RPM_BUILD_ROOT %name.lang installed-docs %makeinstall_std rm -f %buildroot%_libdir/*/*/*/*/*.a perl -pi -e "s°-L$RPM_BUILD_DIR/%fname/src/libs/aqbanking°°" %buildroot%_libdir/*.la %buildroot%_libdir/*/*/*/*/*.la %find_lang %name mv %buildroot%_datadir/doc/%name installed-docs %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files -f %name.lang %defattr(-,root,root) %doc installed-docs %_bindir/%name-tool %{_libdir}/%{name} %{_libdir}/gwenhywfar/plugins/17/dbio/dtaus.la %{_libdir}/gwenhywfar/plugins/17/dbio/dtaus.so %{_libdir}/gwenhywfar/plugins/17/dbio/dtaus.so.0 %{_libdir}/gwenhywfar/plugins/17/dbio/dtaus.so.0.0.0 %{_libdir}/gwenhywfar/plugins/17/dbio/dtaus.xml %{_libdir}/gwenhywfar/plugins/17/dbio/swift.la %{_libdir}/gwenhywfar/plugins/17/dbio/swift.so %{_libdir}/gwenhywfar/plugins/17/dbio/swift.so.0 %{_libdir}/gwenhywfar/plugins/17/dbio/swift.so.0.0.0 %{_libdir}/gwenhywfar/plugins/17/dbio/swift.xml %{_datadir}/%{name} %files -n %libname %defattr(-,root,root) %{_libdir}/libaqbanking.so.0 %{_libdir}/libaqbanking.so.0.8.0 %{_libdir}/libaqbankingpp.so.0 %{_libdir}/libaqbankingpp.so.0.0.0 %files -n %libname-devel %defattr(-,root,root) %{_bindir}/aqbanking-config %{_includedir}/aqbanking %{_includedir}/aqbanking++ %{_libdir}/libaqbanking.la %{_libdir}/libaqbankingpp.la %{_libdir}/*.so %{_datadir}/aclocal/aqbanking.m4 %changelog * Fri Jul 29 2005 Frederic Crozat <fcrozat@mandriva.com> 1.2.0-3mdk - Remove .so file from lib package * Wed Jul 26 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.2.0-2mdk - cosmetics * Fri Jul 15 2005 Götz Waschk <waschk@mandriva.org> 1.2.0-1mdk - New release 1.2.0 * Mon Jul 11 2005 Götz Waschk <waschk@mandriva.org> 1.1.0-1mdk - update file list - bump deps - New release 1.1.0 * Tue Jun 14 2005 Götz Waschk <waschk@mandriva.org> 1.0.12-1mdk - New release 1.0.12 * Fri Jun 3 2005 Götz Waschk <waschk@mandriva.org> 1.0.11-1mdk - update file list - New release 1.0.11 * Fri May 20 2005 Götz Waschk <waschk@mandriva.org> 1.0.10-1mdk - New release 1.0.10 * Wed May 4 2005 Götz Waschk <waschk@mandriva.org> 1.0.9-2mdk - fix devel deps * Mon Apr 25 2005 Götz Waschk <waschk@mandriva.org> 1.0.9-1mdk - requires new gwenhywfar - New release 1.0.9 * Wed Apr 06 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.7-1mdk - Release 1.0.7 * Mon Feb 21 2005 Götz Waschk <waschk@linux-mandrake.com> 1.0.5-1mdk - 1.0.5beta * Mon Feb 21 2005 Götz Waschk <waschk@linux-mandrake.com> 0.9.9-1mdk - New release 0.9.9 * Tue Dec 28 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-2mdk - Fix .la files * Mon Dec 13 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.8-1mdk - initial package