62fdbf4
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
62fdbf4
fd22770
%define qt3pkg qt
937e8aa
%if 0%{?fedora} > 8 || 0%{?rhel} > 5
fd22770
%define qt3pkg qt3
fd22770
%endif
fd22770
66fe728
Name: aqbanking
e1e8dba
Summary: A library for online banking functions and financial data import/export
1191f4c
Version: 4.2.4
41721f4
Release: 3%{?dist}
904359e
# Download is PHP form at http://www.aquamaniac.de/sites/download/packages.php
904359e
Source: %{name}-%{version}.tar.gz
66fe728
Group: System Environment/Libraries
0ec094e
License: GPLv2+
e7d9a25
URL: http://www.aquamaniac.de/aqbanking/
86269e3
Patch2: aqbanking-3.7.2-pkgconfig.patch
2f2bbd8
Patch3: aqbanking-2.1.0-conflict.patch
e7d9a25
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e7d9a25
# qbanking
fd22770
BuildRequires: %{qt3pkg}-devel
b3d1a3e
BuildRequires: qt4-devel
937e8aa
BuildRequires: gwenhywfar-devel >= 3.10.0, gmp-devel, gettext, libtool
de90f91
Obsoletes: aqhbci <= 1.0.3
b3d1a3e
Obsoletes: g2banking < 3.7.2-1 
937e8aa
Obsoletes: python-aqbanking
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
e1e8dba
Summary: Development headers for Aqbanking
66fe728
Group: Development/Libraries
66fe728
Requires: %{name} = %{version}-%{release}
66fe728
Requires: gwenhywfar-devel
e1e8dba
Requires: pkgconfig
de90f91
# for %{_datadir}/aclocal
de90f91
Requires: automake
0e2e1d5
Obsoletes: aqhbci-devel <= 1.0.3
b3d1a3e
Obsoletes: g2banking-devel < 3.7.2-1 
9536328
66fe728
%description devel
66fe728
This package contains aqbanking-config and header files for writing and
66fe728
compiling programs using Aqbanking.
66fe728
e1e8dba
%package -n qbanking
b3d1a3e
Summary: Qt3 bindings for Aqbanking
e1e8dba
Group: System Environment/Libraries
e1e8dba
Requires: %{name} = %{version}-%{release}
de90f91
Obsoletes: aqhbci-qt-tools <= 1.0.3
b3d1a3e
Obsoletes: kbanking < 3.7.2-1 
e1e8dba
e1e8dba
%description -n qbanking
e1e8dba
This package contains the qbanking KDE bindings for the Aqbanking
e1e8dba
online banking library.
e1e8dba
e1e8dba
%package -n qbanking-devel
e1e8dba
Summary: Development headers for qbanking
e1e8dba
Group: Development/Libraries
e1e8dba
Requires: %{name}-devel = %{version}-%{release}
e1e8dba
Requires: qbanking = %{version}-%{release}
fd22770
Requires: %{qt3pkg}-devel
b3d1a3e
Obsoletes: kbanking-devel < 3.7.2-1 
e1e8dba
e1e8dba
%description -n qbanking-devel
e1e8dba
This package contains qbanking-config and header files for writing and
e1e8dba
compiling programs using the qbanking bindings for Aqbanking.
e1e8dba
b3d1a3e
%package -n q4banking
b3d1a3e
Summary: Qt4 bindings for Aqbanking
b3d1a3e
Group: System Environment/Libraries
b3d1a3e
Requires: %{name} = %{version}-%{release}
b3d1a3e
%{?_qt4_version:Requires:qt4 >= %{_qt4_version}}
b3d1a3e
%description -n q4banking
b3d1a3e
%{summary}.
b3d1a3e
b3d1a3e
%package -n q4banking-devel
b3d1a3e
Summary: Development files for q4banking
b3d1a3e
Group: Development/Libraries
b3d1a3e
Requires: %{name}-devel = %{version}-%{release}
b3d1a3e
Requires: q4banking = %{version}-%{release}
b3d1a3e
Requires: qt4-devel
b3d1a3e
%description -n q4banking-devel
b3d1a3e
%{summary}.
b3d1a3e
b3d1a3e
66fe728
%prep
87a7c30
%setup -q
86e9bad
%patch2 -p1 -b .pkgconfig
2f2bbd8
%patch3 -p1 -b .conflict
66fe728
66fe728
%build
9536328
[ -z "$QTDIR" ] && . /etc/profile.d/qt.sh
b3d1a3e
b3d1a3e
%configure \
b3d1a3e
  --disable-static \
b3d1a3e
  --with-frontends="qbanking q4banking" \
b3d1a3e
  --enable-qt4 \
b3d1a3e
  --with-qt4-includes=%{_qt4_headerdir} \
b3d1a3e
  --with-qt4-libs=%{_qt4_libdir} \
b3d1a3e
  --with-qt4-moc=moc-qt4 \
b3d1a3e
  --with-qt4-uic=uic-qt4
e1e8dba
132a077
make LIBTOOL=/usr/bin/libtool
66fe728
66fe728
%install
389db12
rm -rf $RPM_BUILD_ROOT
66fe728
132a077
make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install
7f159f2
940a6d0
find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
940a6d0
find $RPM_BUILD_ROOT -name *.a -exec rm -f {} \;
66fe728
e1e8dba
cd tutorials
e1e8dba
make clean
e1e8dba
rm -rf .deps
6e99506
rm -f Makefile*
e1e8dba
cd ..
e1e8dba
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}
0b5ec79
mv AUTHORS README COPYING ChangeLog NEWS $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
e1e8dba
%find_lang %{name}
e1e8dba
41721f4
# Fix multilib errors. (#602879)
41721f4
sed -ie 's|** Created:.*|** Created |g' $RPM_BUILD_ROOT/%{_includedir}/q4banking/*.ui.h
41721f4
66fe728
%clean
0e2e1d5
rm -rf $RPM_BUILD_ROOT
66fe728
66fe728
%post -p /sbin/ldconfig
66fe728
66fe728
%postun -p /sbin/ldconfig
66fe728
e1e8dba
%post -n qbanking -p /sbin/ldconfig
e1e8dba
e1e8dba
%postun -n qbanking -p /sbin/ldconfig
e1e8dba
b3d1a3e
%post -n q4banking -p /sbin/ldconfig
b3d1a3e
b3d1a3e
%postun -n q4banking -p /sbin/ldconfig
b3d1a3e
b3d1a3e
e1e8dba
%files -f %{name}.lang
66fe728
%defattr(-,root,root)
0e2e1d5
%doc %{_datadir}/doc/%{name}-%{version}
e1e8dba
%{_libdir}/libaq*.so.*
b3d1a3e
%dir %{_libdir}/aqbanking
b3d1a3e
%dir %{_libdir}/aqbanking/plugins/
b3d1a3e
%dir %{_libdir}/aqbanking/plugins/*/
b3d1a3e
%dir %{_libdir}/aqbanking/plugins/*/debugger/
b3d1a3e
%dir %{_libdir}/aqbanking/plugins/*/debugger/*/
b3d1a3e
%dir %{_libdir}/aqbanking/plugins/*/frontends/
b3d1a3e
%{_libdir}/aqbanking/plugins/*/bankinfo/
b3d1a3e
%{_libdir}/aqbanking/plugins/*/imexporters/
b3d1a3e
%{_libdir}/aqbanking/plugins/*/providers/
b3d1a3e
%{_libdir}/gwenhywfar/plugins/*/dbio/*
b3d1a3e
%dir %{_datadir}/aqbanking
b3d1a3e
%dir %{_datadir}/aqbanking/frontends
b3d1a3e
%{_datadir}/aqbanking/backends/
b3d1a3e
%{_datadir}/aqbanking/bankinfo/
b3d1a3e
%{_datadir}/aqbanking/imexporters/
937e8aa
%{_bindir}/aqbanking-cli
b3d1a3e
%{_bindir}/aqhbci-tool4
66fe728
66fe728
%files devel
66fe728
%defattr(-,root,root)
0e2e1d5
%doc doc/0[12]* tutorials
86269e3
%{_bindir}/hbcixml3
b3d1a3e
%{_bindir}/aqbanking-config
e1e8dba
%{_libdir}/libaq*.so
b3d1a3e
%{_includedir}/aq*/
b3d1a3e
%{_libdir}/pkgconfig/aqbanking.pc
b3d1a3e
%{_datadir}/aclocal/aqbanking.m4
e1e8dba
e1e8dba
%files -n qbanking
389db12
%defattr(-,root,root)
937e8aa
%{_bindir}/qb-help8
e1e8dba
%{_libdir}/libqbanking.so.*
b3d1a3e
%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt3-debug
b3d1a3e
%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/qt_debug.xml
e1e8dba
%{_libdir}/aqbanking/plugins/*/frontends/qbanking
b3d1a3e
%{_libdir}/aqbanking/plugins/*/wizards/qt3*
e1e8dba
%{_datadir}/aqbanking/i18n
b3d1a3e
%{_datadir}/aqbanking/frontends/qbanking/
e1e8dba
e1e8dba
%files -n qbanking-devel
389db12
%defattr(-,root,root)
b3d1a3e
%{_includedir}/qbanking/
e1e8dba
%{_libdir}/libqbanking.so
e1e8dba
b3d1a3e
%files -n q4banking
b3d1a3e
%defattr(-,root,root)
b3d1a3e
%{_bindir}/q4b-help1
b3d1a3e
%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt4-debug
b3d1a3e
%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/qt4_debug.xml
b3d1a3e
%{_libdir}/aqbanking/plugins/*/frontends/q4banking
b3d1a3e
%{_libdir}/aqbanking/plugins/*/wizards/qt4*
b3d1a3e
%{_datadir}/aqbanking/frontends/q4banking/
b3d1a3e
%{_libdir}/libq4banking.so.1*
b3d1a3e
b3d1a3e
%files -n q4banking-devel
b3d1a3e
%defattr(-,root,root)
b3d1a3e
%{_includedir}/q4banking/
b3d1a3e
%{_libdir}/libq4banking.so
b3d1a3e
b3d1a3e
66fe728
%changelog
41721f4
* Fri Jun 25 2010 Bill Nottingham <notting@redhat.com> - 4.2.4-3
41721f4
- fix multilib errors (#602879)
41721f4
b3d1a3e
* Fri Mar 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.2.4-2
b3d1a3e
- q4banking(-devel) pkgs (#571575)
b3d1a3e
- better versioned g2banking/kbanking Obsoletes
b3d1a3e
1191f4c
* Mon Mar  8 2010 Bill Nottingham <notting@redhat.com> - 4.2.4-1
1191f4c
- update to latest upstream 4.2.4
1191f4c
937e8aa
* Thu Jan 21 2010 Bill Nottingham <notting@redhat.com> - 4.2.3-1
937e8aa
- update to latest upstream 4.2.3
937e8aa
- obsolete the dead python-aqbanking package
937e8aa
ad2eccb
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-2
ad2eccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ad2eccb
aa9dc8d
* Thu Mar  5 2009 Bill Nottingham <notting@redhat.com> - 3.8.2-1
aa9dc8d
- update to 3.8.2-1
aa9dc8d
702fa80
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.2-3
702fa80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
702fa80
0dad63e
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.7.2-2
0dad63e
- Rebuild for Python 2.6
0dad63e
86269e3
* Tue Sep  9 2008 Bill Nottingham <notting@redhat.com> - 3.7.2-1
86269e3
- update to 3.7.2
86269e3
- obsolete the no-longer-existing g2banking/kbanking packages
86269e3
fd22770
* Tue Mar 25 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.3.3-3
fd22770
- s/qt-devel/qt3-devel/ (f9+)
fd22770
- qbanking-devel: Req: qt3-devel
fd22770
- kbanking-devel: Req: kdelibs3-devel
fd22770
- omit extraneous: Req: pkgconfig
fd22770
8d066d9
* Thu Feb 14 2008 Bill Nottingham <notting@redhat.com> - 2.3.3-2
8d066d9
- rebuild for gcc-4.3
8d066d9
e53ad49
* Tue Jan 15 2008 Bill Nottingham <notting@redhat.com> - 2.3.3-1
e53ad49
- update to 2.3.3
e53ad49
3109b6b
* Wed Dec 19 2007 Bill Nottingham <notting@redhat.com> - 2.3.2-4
3109b6b
- kbanking-devel needs to require qbanking-devel (#426265)
3109b6b
6e99506
* Tue Oct 30 2007 Bill Nottingham <notting@redhat.com> - 2.3.2-3
6e99506
- fix multilib conflicts (#340671)
6e99506
fa656b2
* Wed Aug 29 2007 Bill Nottingham <notting@redhat.com> - 2.3.2-2
f7b2389
- Rebuild for selinux ppc32 issue.
fa656b2
- fix build with current glibc/headers
f7b2389
0ec094e
* Fri Aug  3 2007 Bill Nottingham <notting@redhat.com>
0ec094e
- tweak license tag
0ec094e
d3d0fd9
* Wed Jul 11 2007 Bill Nottingham <notting@redhat.com> - 2.3.2-1
d3d0fd9
- update to 2.3.2
d3d0fd9
f2460e4
* Mon Jun 25 2007 Bill Nottingham <notting@redhat.com> - 2.2.9-3
f2460e4
- fix some build bogosity
f2460e4
be565fb
* Wed Jun 20 2007 Bill Nottingham <notting@redhat.com> - 2.2.9-2
be565fb
- add a dist tag
be565fb
f51dfd2
* Mon Mar 19 2007 Bill Nottingham <notting@redhat.com> - 2.2.9-1
f51dfd2
- update to 2.2.9
f51dfd2
0e2e1d5
* Wed Jan 17 2007 Bill Nottingham <notting@redhat.com> - 2.1.0-14
0e2e1d5
- fix docdir, obsoletes for aqhbci-devel, and %%clean
0e2e1d5
5f84577
* Tue Jan 16 2007 Bill Nottingham <notting@redhat.com> - 2.1.0-13
5f84577
- fix docs
5f84577
- add PyXML buildreq
5f84577
389db12
* Mon Jan 15 2007 Bill Nottingham <notting@redhat.com> - 2.1.0-12
389db12
- fix missing %%defattrs
389db12
- fix %%excludes
389db12
- other cleanups from review
62fdbf4
- use %%{_python_sitelib}
de90f91
- require automake
de90f91
- twiddle aqhbci obsoletes
389db12
e1e8dba
* Sat Jan 13 2007 Bill Nottingham <notting@redhat.com> - 2.1.0-11
e1e8dba
- split into a variety of packages
e1e8dba
b0b8518
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 2.1.0-10
b0b8518
- rebuild for python 2.5
b0b8518
c55ad30
* Thu Sep  7 2006 Bill Nottingham <notting@redhat.com> - 2.1.0-9
c55ad30
- rebuild for fixed debuginfo (#205248)
c55ad30
db7808f
* Fri Sep  1 2006 Bill Nottingham <notting@redhat.com> - 2.1.0-8
a4f28ca
- fix multilib conficts (#205204)
86e9bad
4b8babd
* Mon Aug 28 2006 Bill Nottingham <notting@redhat.com> - 2.1.0-4
4b8babd
- rebuild against latest libofx
4b8babd
b656367
* Tue Aug  1 2006 Bill Nottingham <notting@redhat.com> - 2.1.0-3
b656367
- reenable visibility
b656367
e2fc9e1
* Fri Jul 14 2006 Bill Nottingham <notting@redhat.com> - 2.1.0-2
e2fc9e1
- port *-config to pkgconfig
e2fc9e1
- don't use -fvisibility=hidden
e2fc9e1
3d2fd77
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.0-1.1
3d2fd77
- rebuild
3d2fd77
87a7c30
* Tue Jul 11 2006 Bill Nottingham <notting@redhat.com> - 2.1.0-1
87a7c30
- update to 2.1.0
87a7c30
d873219
* Mon Jun 12 2006 Bill Nottingham <notting@redhat.com> - 1.8.1beta-5
618406d
- buildreq autoconf, libtool
d873219
ddb65a0
* Tue May 30 2006 Bill Nottingham <notting@redhat.com> - 1.8.1beta-4
ddb65a0
- add gettext buildreq (#193348)
ddb65a0
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