|
@@ -23,9 +23,10 @@
|
|
|
##
|
|
##
|
|
|
|
|
|
|
|
# package version
|
|
# package version
|
|
|
-%define V_aqbanking 1.6.1
|
|
|
|
|
-%define V_gwenhywfar 1.19.1
|
|
|
|
|
-%define V_openhbci2 1.9.3
|
|
|
|
|
|
|
+%define V_openpkg 1.9.3
|
|
|
|
|
+%define V_aqbanking 1.9.3beta
|
|
|
|
|
+%define V_gwenhywfar 1.99.5
|
|
|
|
|
+%define V_openhbci2 1.9.4
|
|
|
%define V_openhbci1 0.9.18
|
|
%define V_openhbci1 0.9.18
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
@@ -38,8 +39,8 @@ Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
Class: EVAL
|
|
|
Group: Finance
|
|
Group: Finance
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: %{V_aqbanking}
|
|
|
|
|
-Release: 20051114
|
|
|
|
|
|
|
+Version: %{V_openpkg}
|
|
|
|
|
+Release: 20060127
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://osdn.dl.sourceforge.net/aqbanking/aqbanking-%{V_aqbanking}.tar.gz
|
|
Source0: http://osdn.dl.sourceforge.net/aqbanking/aqbanking-%{V_aqbanking}.tar.gz
|
|
@@ -67,7 +68,7 @@ AutoReqProv: no
|
|
|
prog aqbanking = {
|
|
prog aqbanking = {
|
|
|
version = %{V_aqbanking}
|
|
version = %{V_aqbanking}
|
|
|
url = http://prdownloads.sourceforge.net/aqbanking/
|
|
url = http://prdownloads.sourceforge.net/aqbanking/
|
|
|
- regex = aqbanking-(\d+(\.\d+)+)\.tar\.gz
|
|
|
|
|
|
|
+ regex = aqbanking-(\d+(\.\d+)+(?:beta)?)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
prog aqbanking:gwenhywfar = {
|
|
prog aqbanking:gwenhywfar = {
|
|
|
version = %{V_gwenhywfar}
|
|
version = %{V_gwenhywfar}
|
|
@@ -90,9 +91,36 @@ AutoReqProv: no
|
|
|
%setup -q -D -T -a 1
|
|
%setup -q -D -T -a 1
|
|
|
%setup -q -D -T -a 2
|
|
%setup -q -D -T -a 2
|
|
|
%setup -q -D -T -a 3
|
|
%setup -q -D -T -a 3
|
|
|
- %patch -p0 -d aqbanking-%{V_aqbanking}
|
|
|
|
|
|
|
+ %patch -p0
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
+ # build Gwhenhywfar
|
|
|
|
|
+ ( cd gwenhywfar-%{V_gwenhywfar}
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;rm -Rf gwenhywfar;#;' \
|
|
|
|
|
+ configure
|
|
|
|
|
+ CC="%{l_cc}" \
|
|
|
|
|
+ CFLAGS="%{l_cflags -O}" \
|
|
|
|
|
+ CPPFLAGS="-I`pwd`/gwenhywfar %{l_cppflags}" \
|
|
|
|
|
+ LDFLAGS="-L`pwd`/src %{l_ldflags}" \
|
|
|
|
|
+ ./configure \
|
|
|
|
|
+ --prefix=%{l_prefix} \
|
|
|
|
|
+ --enable-ssl \
|
|
|
|
|
+ --with-openssl-includes=%{l_prefix}/include \
|
|
|
|
|
+ --with-openssl-libs=%{l_prefix}/lib \
|
|
|
|
|
+ --disable-nls \
|
|
|
|
|
+ --disable-shared
|
|
|
|
|
+
|
|
|
|
|
+ # build the library
|
|
|
|
|
+ %{l_make} %{l_mflags}
|
|
|
|
|
+
|
|
|
|
|
+ # pre-install it and adjust for temporary usage by AqBanking build (below)
|
|
|
|
|
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e "s;%{l_prefix};$RPM_BUILD_ROOT%{l_prefix};g" \
|
|
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/bin/gwenhywfar-config
|
|
|
|
|
+ ) || exit $?
|
|
|
|
|
+
|
|
|
# build OpenHBCI v1 (legacy)
|
|
# build OpenHBCI v1 (legacy)
|
|
|
( cd openhbci-%{V_openhbci1}
|
|
( cd openhbci-%{V_openhbci1}
|
|
|
CC="%{l_prefix}/bin/gcc" \
|
|
CC="%{l_prefix}/bin/gcc" \
|
|
@@ -104,6 +132,7 @@ AutoReqProv: no
|
|
|
./configure \
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|
|
|
--with-plugin-path=%{l_prefix}/lib/openhbci/plugins \
|
|
--with-plugin-path=%{l_prefix}/lib/openhbci/plugins \
|
|
|
|
|
+ --with-gwen-dir=$RPM_BUILD_ROOT%{l_prefix} \
|
|
|
--with-openssl-includes=%{l_prefix}/include \
|
|
--with-openssl-includes=%{l_prefix}/include \
|
|
|
--with-openssl-libs=%{l_prefix}/lib \
|
|
--with-openssl-libs=%{l_prefix}/lib \
|
|
|
--enable-shared \
|
|
--enable-shared \
|
|
@@ -126,7 +155,7 @@ AutoReqProv: no
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|
|
|
--with-plugin-path=%{l_prefix}/lib/openhbci2/plugins \
|
|
--with-plugin-path=%{l_prefix}/lib/openhbci2/plugins \
|
|
|
--with-xmldata-dir=%{l_prefix}/share/openhbci2/xmldata \
|
|
--with-xmldata-dir=%{l_prefix}/share/openhbci2/xmldata \
|
|
|
- --with-gwen-dir=%{l_prefix} \
|
|
|
|
|
|
|
+ --with-gwen-dir=$RPM_BUILD_ROOT%{l_prefix} \
|
|
|
--with-openssl-includes=%{l_prefix}/include \
|
|
--with-openssl-includes=%{l_prefix}/include \
|
|
|
--with-openssl-libs=%{l_prefix}/lib \
|
|
--with-openssl-libs=%{l_prefix}/lib \
|
|
|
--enable-shared \
|
|
--enable-shared \
|
|
@@ -134,33 +163,6 @@ AutoReqProv: no
|
|
|
%{l_make} %{l_mflags}
|
|
%{l_make} %{l_mflags}
|
|
|
) || exit $?
|
|
) || exit $?
|
|
|
|
|
|
|
|
- # build Gwhenhywfar
|
|
|
|
|
- ( cd gwenhywfar-%{V_gwenhywfar}
|
|
|
|
|
- %{l_shtool} subst \
|
|
|
|
|
- -e 's;rm -Rf gwenhywfar;#;' \
|
|
|
|
|
- configure
|
|
|
|
|
- CC="%{l_cc}" \
|
|
|
|
|
- CFLAGS="%{l_cflags -O}" \
|
|
|
|
|
- CPPFLAGS="-I`pwd`/gwenhywfar %{l_cppflags}" \
|
|
|
|
|
- LDFLAGS="-L`pwd`/src %{l_ldflags}" \
|
|
|
|
|
- ./configure \
|
|
|
|
|
- --prefix=%{l_prefix} \
|
|
|
|
|
- --enable-ssl \
|
|
|
|
|
- --with-openssl-includes=%{l_prefix}/include \
|
|
|
|
|
- --with-openssl-libs=%{l_prefix}/lib \
|
|
|
|
|
- --disable-nls \
|
|
|
|
|
- --disable-shared
|
|
|
|
|
-
|
|
|
|
|
- # build the library
|
|
|
|
|
- %{l_make} %{l_mflags -O}
|
|
|
|
|
-
|
|
|
|
|
- # pre-install it and adjust for temporary usage by AqBanking build (below)
|
|
|
|
|
- %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
|
|
- %{l_shtool} subst \
|
|
|
|
|
- -e "s;%{l_prefix};$RPM_BUILD_ROOT%{l_prefix};g" \
|
|
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/bin/gwenhywfar-config
|
|
|
|
|
- ) || exit $?
|
|
|
|
|
-
|
|
|
|
|
# build AqBanking
|
|
# build AqBanking
|
|
|
( cd aqbanking-%{V_aqbanking}
|
|
( cd aqbanking-%{V_aqbanking}
|
|
|
echo 'ac_cv_header_iconv_h=no' >config.cache
|
|
echo 'ac_cv_header_iconv_h=no' >config.cache
|
|
@@ -168,6 +170,7 @@ AutoReqProv: no
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
CPPFLAGS="-I`pwd`/aqbanking %{l_cppflags}" \
|
|
CPPFLAGS="-I`pwd`/aqbanking %{l_cppflags}" \
|
|
|
LDFLAGS="-L`pwd`/src/libs/aqbanking %{l_ldflags}" \
|
|
LDFLAGS="-L`pwd`/src/libs/aqbanking %{l_ldflags}" \
|
|
|
|
|
+ SHELL="%{l_bash}" \
|
|
|
./configure \
|
|
./configure \
|
|
|
--cache-file=./config.cache \
|
|
--cache-file=./config.cache \
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|
|
@@ -178,11 +181,18 @@ AutoReqProv: no
|
|
|
--disable-nls \
|
|
--disable-nls \
|
|
|
--enable-shared \
|
|
--enable-shared \
|
|
|
--enable-static
|
|
--enable-static
|
|
|
|
|
+ %{l_make} %{l_mflags} \
|
|
|
|
|
+ SHELL="%{l_bash}"
|
|
|
) || exit $?
|
|
) || exit $?
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
+ # install Gwhenhywfar
|
|
|
|
|
+ ( cd gwenhywfar-%{V_gwenhywfar}
|
|
|
|
|
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
|
|
+ ) || exit $?
|
|
|
|
|
+
|
|
|
# install OpenHBCI v1 (legacy)
|
|
# install OpenHBCI v1 (legacy)
|
|
|
( cd openhbci-%{V_openhbci1}
|
|
( cd openhbci-%{V_openhbci1}
|
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
@@ -203,12 +213,7 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/openhbci2-hbcixml
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/openhbci2-hbcixml
|
|
|
) || exit $?
|
|
) || exit $?
|
|
|
|
|
|
|
|
- # build Gwhenhywfar
|
|
|
|
|
- ( cd gwenhywfar-%{V_gwenhywfar}
|
|
|
|
|
- %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
|
|
- ) || exit $?
|
|
|
|
|
-
|
|
|
|
|
- # build AqBanking
|
|
|
|
|
|
|
+ # install AqBanking
|
|
|
( cd aqbanking-%{V_aqbanking}
|
|
( cd aqbanking-%{V_aqbanking}
|
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
) || exit $?
|
|
) || exit $?
|