|
@@ -1,28 +1,40 @@
|
|
|
|
+%define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo 4.6.3)
|
|
|
|
+%define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt-%{qt4_ver})
|
|
|
|
+%define _qt4_libdir %(pkg-config --variable libdir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/lib)
|
|
|
|
+%define _qt4_headerdir %(pkg-config --variable headerdir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/include)
|
|
|
|
+
|
|
|
|
+
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
Name: aqbanking
|
|
Name: aqbanking
|
|
Summary: A library for online banking functions and financial data import/export
|
|
Summary: A library for online banking functions and financial data import/export
|
|
-Version: 3.7.2
|
|
+Version: 4.2.4
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Source: http://download.sourceforge.net/aqbanking/%{name}-%{version}.tar.gz
|
|
+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
URL: http://www.aquamaniac.de/aqbanking/
|
|
URL: http://www.aquamaniac.de/aqbanking/
|
|
-Patch2: aqbanking-3.7.2-pkgconfig.patch
|
|
+
|
|
|
|
+Source: http://download.sourceforge.net/aqbanking/%{name}-%{version}.tar.gz
|
|
|
|
+
|
|
|
|
+Patch2: aqbanking-4.2.4-pkgconfig.patch
|
|
Patch3: aqbanking-2.1.0-conflict.patch
|
|
Patch3: aqbanking-2.1.0-conflict.patch
|
|
|
|
+# upstreamable, omit inadvertant(?) qt3 linkage q4banking -- Rex
|
|
|
|
+Patch4: aqbanking-4.2.4-q4banking_remove_qt3.patch
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
# qbanking
|
|
# qbanking
|
|
BuildRequires: qt-devel
|
|
BuildRequires: qt-devel
|
|
-# python
|
|
+BuildRequires: qt4-devel
|
|
-BuildRequires: python, PyXML, gmp-devel
|
|
+BuildRequires: gwenhywfar-devel >= 3.10.0
|
|
-BuildRequires: gwenhywfar-devel >= 3.4.1
|
|
+BuildRequires: gmp-devel
|
|
-BuildRequires: libofx-devel >= 0.9.0
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
BuildRequires: libtool
|
|
BuildRequires: libtool
|
|
Requires(post): /sbin/ldconfig
|
|
Requires(post): /sbin/ldconfig
|
|
Requires(postun): /sbin/ldconfig
|
|
Requires(postun): /sbin/ldconfig
|
|
Obsoletes: aqhbci <= 1.0.3
|
|
Obsoletes: aqhbci <= 1.0.3
|
|
-Obsoletes: g2banking < %{version}
|
|
+Obsoletes: g2banking < 3.7.2-1
|
|
|
|
+Obsoletes: python-aqbanking
|
|
|
|
|
|
%description
|
|
%description
|
|
The intention of AqBanking is to provide a middle layer between the
|
|
The intention of AqBanking is to provide a middle layer between the
|
|
@@ -49,7 +61,7 @@ This package contains aqbanking-config and header files for writing and
|
|
compiling programs using Aqbanking.
|
|
compiling programs using Aqbanking.
|
|
|
|
|
|
%package -n qbanking
|
|
%package -n qbanking
|
|
-Summary: Qt bindings for Aqbanking
|
|
+Summary: Qt3 bindings for Aqbanking
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires(post): /sbin/ldconfig
|
|
Requires(post): /sbin/ldconfig
|
|
@@ -68,12 +80,31 @@ Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: qbanking = %{version}-%{release}
|
|
Requires: qbanking = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
Requires: pkgconfig
|
|
Requires: qt-devel
|
|
Requires: qt-devel
|
|
-Obsoletes: kbanking-devel < %{version}
|
|
+Obsoletes: kbanking-devel < 3.7.2-1
|
|
|
|
|
|
%description -n qbanking-devel
|
|
%description -n qbanking-devel
|
|
This package contains qbanking-config and header files for writing and
|
|
This package contains qbanking-config and header files for writing and
|
|
compiling programs using the qbanking bindings for Aqbanking.
|
|
compiling programs using the qbanking bindings for Aqbanking.
|
|
|
|
|
|
|
|
+%package -n q4banking
|
|
|
|
+Summary: Qt4 bindings for Aqbanking
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: qt4 >= %{_qt4_version}
|
|
|
|
+
|
|
|
|
+%description -n q4banking
|
|
|
|
+%{summary}.
|
|
|
|
+
|
|
|
|
+%package -n q4banking-devel
|
|
|
|
+Summary: Development files for q4banking
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
+Requires: q4banking = %{version}-%{release}
|
|
|
|
+Requires: qt4-devel
|
|
|
|
+
|
|
|
|
+%description -n q4banking-devel
|
|
|
|
+%{summary}.
|
|
|
|
+
|
|
%package -n python-%{name}
|
|
%package -n python-%{name}
|
|
Summary: Python bindings for Aqbanking
|
|
Summary: Python bindings for Aqbanking
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
@@ -86,20 +117,35 @@ This package contains python bindings for Aqbanking.
|
|
%setup -q
|
|
%setup -q
|
|
%patch2 -p1 -b .pkgconfig
|
|
%patch2 -p1 -b .pkgconfig
|
|
%patch3 -p1 -b .conflict
|
|
%patch3 -p1 -b .conflict
|
|
|
|
+%patch4 -p1 -b .q4banking_remove_qt3
|
|
|
|
+
|
|
|
|
+# hack to nuke rpaths, slighly less ugly than using overriding LIBTOOL below
|
|
|
|
+%if "%{_libdir}" != "/usr/lib"
|
|
|
|
+sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
|
|
|
|
+%endif
|
|
|
|
|
|
%build
|
|
%build
|
|
[ -z "$QTDIR" ] && . /etc/profile.d/qt.sh
|
|
[ -z "$QTDIR" ] && . /etc/profile.d/qt.sh
|
|
-%{configure} --disable-static \
|
|
|
|
- --with-kde3-libs=%{_libdir} \
|
|
|
|
- --enable-libofx \
|
|
|
|
- --enable-python
|
|
|
|
|
|
|
|
-make LIBTOOL=/usr/bin/libtool
|
|
+%configure \
|
|
|
|
+ --disable-static \
|
|
|
|
+ --with-frontends="qbanking q4banking" \
|
|
|
|
+ --enable-qt4 \
|
|
|
|
+ --with-qt4-includes=%{_qt4_headerdir} \
|
|
|
|
+ --with-qt4-libs=%{_qt4_libdir} \
|
|
|
|
+ --with-qt4-moc=%{_qt4_prefix}/bin/moc \
|
|
|
|
+ --with-qt4-uic=%{_qt4_prefix}/bin/uic
|
|
|
|
+
|
|
|
|
+# not smp_mflags safe
|
|
|
|
+# override LIBTOOL to quash rpath
|
|
|
|
+make
|
|
|
|
+#make LIBTOOL=/usr/bin/libtool
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install
|
|
+make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
+#make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name *.a -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name *.a -exec rm -f {} \;
|
|
@@ -107,13 +153,19 @@ find $RPM_BUILD_ROOT -name *.a -exec rm -f {} \;
|
|
cd tutorials
|
|
cd tutorials
|
|
make clean
|
|
make clean
|
|
rm -rf .deps
|
|
rm -rf .deps
|
|
|
|
+rm -f Makefile*
|
|
cd ..
|
|
cd ..
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
mv $RPM_BUILD_ROOT/%{_datadir}/doc/{aqbanking,aqhbci} $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
mv $RPM_BUILD_ROOT/%{_datadir}/doc/{aqbanking,aqhbci} $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
-mv AUTHORS README COPYING ChangeLog NEWS $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
+cp AUTHORS README COPYING ChangeLog NEWS $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
|
|
+
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
+# Fix multilib errors. (#602879)
|
|
|
|
+sed -i 's|** Created:.*|** Created |g' $RPM_BUILD_ROOT/%{_includedir}/q4banking/*.ui.h
|
|
|
|
+
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
@@ -125,50 +177,83 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%postun -n qbanking -p /sbin/ldconfig
|
|
%postun -n qbanking -p /sbin/ldconfig
|
|
|
|
|
|
|
|
+%post -n q4banking -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%postun -n q4banking -p /sbin/ldconfig
|
|
|
|
+
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc %{_datadir}/doc/%{name}-%{version}
|
|
%doc %{_datadir}/doc/%{name}-%{version}
|
|
%{_libdir}/libaq*.so.*
|
|
%{_libdir}/libaq*.so.*
|
|
-%{_libdir}/aqbanking
|
|
+%dir %{_libdir}/aqbanking
|
|
-%exclude %{_libdir}/aqbanking/plugins/*/debugger
|
|
+%dir %{_libdir}/aqbanking/plugins/
|
|
-%exclude %{_libdir}/aqbanking/plugins/*/frontends/qbanking
|
|
+%dir %{_libdir}/aqbanking/plugins/*/
|
|
-%exclude %{_libdir}/aqbanking/plugins/*/wizards
|
|
+%dir %{_libdir}/aqbanking/plugins/*/debugger/
|
|
-%{_libdir}/gwenhywfar/*
|
|
+%dir %{_libdir}/aqbanking/plugins/*/debugger/*/
|
|
-%{_datadir}/aqbanking
|
|
+%dir %{_libdir}/aqbanking/plugins/*/frontends/
|
|
-%exclude %{_datadir}/aqbanking/frontends/*
|
|
+%{_libdir}/aqbanking/plugins/*/bankinfo/
|
|
-%exclude %{_datadir}/aqbanking/i18n
|
|
+%{_libdir}/aqbanking/plugins/*/imexporters/
|
|
-%{_bindir}/*-tool3
|
|
+%{_libdir}/aqbanking/plugins/*/providers/
|
|
|
|
+%{_libdir}/gwenhywfar/plugins/*/dbio/*
|
|
|
|
+%dir %{_datadir}/aqbanking
|
|
|
|
+%dir %{_datadir}/aqbanking/frontends
|
|
|
|
+%{_datadir}/aqbanking/backends/
|
|
|
|
+%{_datadir}/aqbanking/bankinfo/
|
|
|
|
+%{_datadir}/aqbanking/imexporters/
|
|
|
|
+%{_bindir}/aqbanking-cli
|
|
|
|
+%{_bindir}/aqhbci-tool4
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc doc/0[12]* tutorials
|
|
%doc doc/0[12]* tutorials
|
|
%{_bindir}/hbcixml3
|
|
%{_bindir}/hbcixml3
|
|
-%{_bindir}/aq*-config
|
|
+%{_bindir}/aqbanking-config
|
|
%{_libdir}/libaq*.so
|
|
%{_libdir}/libaq*.so
|
|
-%{_includedir}/aq*
|
|
+%{_includedir}/aq*/
|
|
-%{_libdir}/pkgconfig/*
|
|
+%{_libdir}/pkgconfig/aqbanking.pc
|
|
-%{_datadir}/aclocal/aq*
|
|
+%{_datadir}/aclocal/aqbanking.m4
|
|
|
|
|
|
%files -n qbanking
|
|
%files -n qbanking
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{_bindir}/qb-help5
|
|
+%{_bindir}/qb-help8
|
|
%{_libdir}/libqbanking.so.*
|
|
%{_libdir}/libqbanking.so.*
|
|
-%{_libdir}/aqbanking/plugins/*/debugger
|
|
+%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt3-debug
|
|
|
|
+%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/qt_debug.xml
|
|
%{_libdir}/aqbanking/plugins/*/frontends/qbanking
|
|
%{_libdir}/aqbanking/plugins/*/frontends/qbanking
|
|
-%{_libdir}/aqbanking/plugins/*/wizards
|
|
+%{_libdir}/aqbanking/plugins/*/wizards/qt3*
|
|
%{_datadir}/aqbanking/i18n
|
|
%{_datadir}/aqbanking/i18n
|
|
-%{_datadir}/aqbanking/frontends/qbanking
|
|
+%{_datadir}/aqbanking/frontends/qbanking/
|
|
|
|
|
|
%files -n qbanking-devel
|
|
%files -n qbanking-devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{_includedir}/qbanking
|
|
+%{_includedir}/qbanking/
|
|
%{_libdir}/libqbanking.so
|
|
%{_libdir}/libqbanking.so
|
|
|
|
|
|
-%files -n python-%{name}
|
|
+%files -n q4banking
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{python_sitelib}/%{name}
|
|
+%{_bindir}/q4b-help1
|
|
|
|
+%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt4-debug
|
|
|
|
+%{_libdir}/aqbanking/plugins/*/debugger/aqhbci/qt4_debug.xml
|
|
|
|
+%{_libdir}/aqbanking/plugins/*/frontends/q4banking
|
|
|
|
+%{_libdir}/aqbanking/plugins/*/wizards/qt4*
|
|
|
|
+%{_datadir}/aqbanking/frontends/q4banking/
|
|
|
|
+%{_libdir}/libq4banking.so.1*
|
|
|
|
+
|
|
|
|
+%files -n q4banking-devel
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_includedir}/q4banking/
|
|
|
|
+%{_libdir}/libq4banking.so
|
|
|
|
+
|
|
|
|
+#%files -n python-%{name}
|
|
|
|
+#%defattr(-,root,root)
|
|
|
|
+#%{python_sitelib}/%{name}
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Sep 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.4-1
|
|
|
|
+- update to 4.2.4
|
|
|
|
+- added q4banking subpackage
|
|
|
|
+- obsoletes python-aqbanking subpackage
|
|
|
|
+
|
|
* Sat Oct 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7.1-1
|
|
* Sat Oct 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7.1-1
|
|
- update to 3.7.2
|
|
- update to 3.7.2
|
|
- obsolete the no-longer-existing g2banking/kbanking packages
|
|
- obsolete the no-longer-existing g2banking/kbanking packages
|