62fdbf4
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
62fdbf4
66fe728
Name: aqbanking
e1e8dba
Summary: A library for online banking functions and financial data import/export
2917f01
Version: 5.7.8
2917f01
Release: 1%{?dist}
904359e
# Download is PHP form at http://www.aquamaniac.de/sites/download/packages.php
c1551db
Source: %{name}-%{version}.tar.gz
Bill Nottingham e2ec8d7
License: GPLv2 or GPLv3
e7d9a25
URL: http://www.aquamaniac.de/aqbanking/
Bill Nottingham 1cfacaf
Patch2: aqbanking-5.0.2-pkgconfig.patch
Bill Nottingham 68e7c5f
Patch4: aqbanking-arch.patch
0596e50
Bill Nottingham 1cfacaf
BuildRequires: gwenhywfar-devel >= 4.0.0, gmp-devel, gettext, libtool
Bill Nottingham 98f1cda
BuildRequires: xmlsec1-gnutls-devel, xmlsec1-devel, libtool-ltdl-devel, libxslt-devel, libxml2-devel
a3dad2c
# For AutoReq cmake-filesystem
a3dad2c
BuildRequires: cmake
Bill Nottingham 0db6348
# bug in xmlscec1
Bill Nottingham 7dcf95b
BuildRequires: xmlsec1-gnutls, xmlsec1-gcrypt
de90f91
Obsoletes: aqhbci <= 1.0.3
b3d1a3e
Obsoletes: g2banking < 3.7.2-1 
Bill Nottingham 1cfacaf
Obsoletes: qbanking < 5.0
Bill Nottingham 1cfacaf
Obsoletes: q4banking < 5.0
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
0596e50
Requires: %{name}%{?_isa} = %{version}-%{release}
66fe728
Requires: gwenhywfar-devel
0e2e1d5
Obsoletes: aqhbci-devel <= 1.0.3
b3d1a3e
Obsoletes: g2banking-devel < 3.7.2-1 
Bill Nottingham 23cdda9
Obsoletes: qbanking-devel < 5.0
Bill Nottingham 23cdda9
Obsoletes: q4banking-devel < 5.0
9536328
66fe728
%description devel
66fe728
This package contains aqbanking-config and header files for writing and
66fe728
compiling programs using Aqbanking.
66fe728
66fe728
%prep
c1551db
%setup -q -n %{name}-%{version}
86e9bad
%patch2 -p1 -b .pkgconfig
bc1c235
bc1c235
# hack to nuke rpaths, slighly less ugly than using overriding LIBTOOL below
bc1c235
%if "%{_libdir}" != "/usr/lib"
Bill Nottingham 68e7c5f
%patch4 -p1 -b .arch
bc1c235
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
bc1c235
%endif
66fe728
66fe728
%build
b3d1a3e
b3d1a3e
%configure \
67a8012
  --disable-static \
2917f01
  --enable-gui-tests=no \
67a8012
  --with-build-datetime=`date +\"%Y%m%d\"`
e1e8dba
bc1c235
# not smp_mflags safe
bc1c235
make 
66fe728
66fe728
%install
66fe728
0596e50
%make_install
7f159f2
0596e50
find $RPM_BUILD_ROOT -name *.la -exec rm -fv {} \;
0596e50
find $RPM_BUILD_ROOT -name *.a -exec rm -fv {} \;
66fe728
e1e8dba
cd tutorials
e1e8dba
make clean
e1e8dba
rm -rf .deps
6e99506
rm -f Makefile*
e1e8dba
cd ..
e1e8dba
Bill Nottingham 4b064a5
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}
Bill Nottingham 4b064a5
mv $RPM_BUILD_ROOT/%{_datadir}/doc/aqhbci $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}
Bill Nottingham d126bec
mv $RPM_BUILD_ROOT/%{_datadir}/doc/aqebics $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}
905cbc6
mv $RPM_BUILD_ROOT/%{_datadir}/doc/aqpaypal $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}
Bill Nottingham 4b064a5
mv AUTHORS README COPYING ChangeLog NEWS $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}
e1e8dba
%find_lang %{name}
e1e8dba
bc1c235
%check
bc1c235
## meh, requires X server
bc1c235
make check ||:
bc1c235
0596e50
%ldconfig_scriptlets
66fe728
e1e8dba
%files -f %{name}.lang
Bill Nottingham 4b064a5
%doc %{_datadir}/doc/%{name}
e1e8dba
%{_libdir}/libaq*.so.*
b3d1a3e
%dir %{_libdir}/aqbanking
b3d1a3e
%dir %{_libdir}/aqbanking/plugins/
Bill Nottingham 1cfacaf
%dir %{_libdir}/aqbanking/plugins/*
Bill Nottingham 1cfacaf
%{_libdir}/aqbanking/plugins/*/bankinfo
Bill Nottingham 1cfacaf
%{_libdir}/aqbanking/plugins/*/imexporters
Bill Nottingham 1cfacaf
%{_libdir}/aqbanking/plugins/*/providers
Bill Nottingham d126bec
%{_libdir}/aqbanking/plugins/*/dbio
b3d1a3e
%dir %{_datadir}/aqbanking
Bill Nottingham 1cfacaf
%dir %{_datadir}/aqbanking/aqbanking
b3d1a3e
%{_datadir}/aqbanking/backends/
b3d1a3e
%{_datadir}/aqbanking/bankinfo/
Bill Nottingham 1cfacaf
%{_datadir}/aqbanking/dialogs/
b3d1a3e
%{_datadir}/aqbanking/imexporters/
937e8aa
%{_bindir}/aqbanking-cli
Bill Nottingham d126bec
%{_bindir}/aqebics-tool
b3d1a3e
%{_bindir}/aqhbci-tool4
905cbc6
%{_bindir}/aqpaypal-tool
66fe728
66fe728
%files devel
0e2e1d5
%doc doc/0[12]* tutorials
86269e3
%{_bindir}/hbcixml3
b3d1a3e
%{_bindir}/aqbanking-config
e1e8dba
%{_libdir}/libaq*.so
b3d1a3e
%{_includedir}/aq*/
a62e84a
%{_libdir}/cmake/aqbanking*/
b3d1a3e
%{_libdir}/pkgconfig/aqbanking.pc
b3d1a3e
%{_datadir}/aclocal/aqbanking.m4
Bill Nottingham 1cfacaf
%{_datadir}/aqbanking/aqbanking/typemaker2
Bill Nottingham 1cfacaf
%{_datadir}/aqbanking/typemaker2
b3d1a3e
66fe728
%changelog
2917f01
* Tue Apr 03 2018 Bill Nottingham <notting@splat.cc> - 5.7.8-1
2917f01
- update to 5.7.8
2917f01
0596e50
* Mon Mar 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.6.12-7
0596e50
- .spec cosmetics/cleanup
0596e50
3876687
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.12-6
3876687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3876687
5f4b1b5
* Sun Aug 06 2017 Björn Esser <besser82@fedoraproject.org> - 5.6.12-5
5f4b1b5
- Rebuilt for AutoReq cmake-filesystem
5f4b1b5
698109f
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.12-4
698109f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
698109f
a8f086f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.12-3
a8f086f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a8f086f
2fc1b50
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.12-2
2fc1b50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2fc1b50
4610499
* Fri Nov 04 2016 Bill Nottingham <notting@splat.cc> - 5.6.12-1
4610499
- update to 5.6.12
4610499
67a8012
* Thu Jul 07 2016 Bill Nottingham <notting@splat.cc> - 5.6.10-1
67a8012
- update to 5.6.10
67a8012
096a078
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.1-4
096a078
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
096a078
3244004
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.1-3
3244004
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3244004
d914f77
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.5.1-2
d914f77
- Rebuilt for GCC 5 C++11 ABI change
d914f77
a62e84a
* Mon Mar 23 2015 Robert Scheck <robert@fedoraproject.org> - 5.5.1-1
a62e84a
- update to 5.5.1
a62e84a
994da32
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.6-0.3.beta
994da32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
994da32
a560bf1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.6-0.2.beta
a560bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a560bf1
a62e84a
* Fri Jan 31 2014 Bill Nottingham <notting@redhat.com> - 5.3.6beta-0.1
Bill Nottingham d126bec
- update to 5.3.6beta
Bill Nottingham d126bec
- COPYING updated, no more tarball munging needed
Bill Nottingham d126bec
Bill Nottingham f65d4ee
* Fri Jan 17 2014 Bill Nottingham <notting@redhat.com> - 5.3.2beta-0.2
Bill Nottingham f65d4ee
- bump to 5.3.2beta
Bill Nottingham f65d4ee
Bill Nottingham b0a6a00
* Wed Jan 15 2014 Bill Nottingham <notting@redhat.com> - 5.3.1beta-0.1
Bill Nottingham b0a6a00
- update to latest upstream
Bill Nottingham b0a6a00
- disable aqebics for now
Bill Nottingham b0a6a00
Bill Nottingham 8c76c64
* Thu Dec 12 2013 Bill Nottingham <notting@redhat.com> - 5.0.25-4
Bill Nottingham 8c76c64
- add upstream patches for OFXDirectConnect (#1040224)
Bill Nottingham 8c76c64
Bill Nottingham 8c76c64
* Tue Aug 06 2013 Bill Nottingham <notting@redhat.com> - 5.0.25-3
Bill Nottingham 4b064a5
- Fix for UnversionedDocDirs feature (#993669)
Bill Nottingham 4b064a5
1d2ad7d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.25-2
1d2ad7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1d2ad7d
Bill Nottingham 819110b
* Wed Apr 24 2013 Bill Nottingham <notting@redhat.com> - 5.0.25-1
Bill Nottingham 819110b
- update to 5.0.25
Bill Nottingham 819110b
3fe4f09
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.22-4
3fe4f09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3fe4f09
5ee35ad
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.22-3
5ee35ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5ee35ad
Bill Nottingham 68e7c5f
* Thu Jan 19 2012 Bill Nottingham <notting@redhat.com> - 5.0.22-2
Bill Nottingham e2ec8d7
- update to 5.0.22
Bill Nottingham 68e7c5f
- fix up rpaths a little cleaner
Bill Nottingham e2ec8d7
2aa98b7
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.16-2
2aa98b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2aa98b7
Bill Nottingham aada309
* Tue Oct 25 2011 Bill Nottingham <notting@redhat.com> - 5.0.16-1
Bill Nottingham aada309
- update to 5.0.16
Bill Nottingham aada309
Marcela Mašláňová 19e4b01
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.0.2-3.2
Marcela Mašláňová 19e4b01
- rebuild with new gmp without compat lib
Marcela Mašláňová 19e4b01
Marcela Mašláňová 2e47ab8
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 5.0.2-3.1
Marcela Mašláňová 2e47ab8
- rebuild with new gmp
Marcela Mašláňová 2e47ab8
Bill Nottingham 23cdda9
* Mon Feb 21 2011 Bill Nottingham <notting@redhat.com> - 5.0.2-3
Bill Nottingham 23cdda9
- fix -devel obsoletes
Bill Nottingham 23cdda9
Bill Nottingham c58f01d
* Wed Feb 16 2011 Bill Nottingham <notting@redhat.com> - 5.0.2-2
Bill Nottingham c58f01d
- remove aqpaypal source
Bill Nottingham c58f01d
Bill Nottingham 1cfacaf
* Fri Feb 11 2011 Bill Nottingham <notting@redhat.com> - 5.0.2-1
Bill Nottingham 1cfacaf
- update to latest upstream release
Bill Nottingham 1cfacaf
6d2c8f3
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-7
6d2c8f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6d2c8f3
b9e9258
* Sun Aug 22 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.2.4-6
b9e9258
- q4banking: try harder to purge qt3 dep (#626008)
b9e9258
bc1c235
* Sun Aug 22 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.2.4-5
bc1c235
- rebase pkgconfig patch
bc1c235
- q4banking should not depend on qt3 (#626008)
bc1c235
- include %%check section, though currently mostly useless
bc1c235
bd4a733
* Fri Jun 25 2010 Bill Nottingham <notting@redhat.com> - 4.2.4-4
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