|
@@ -37,7 +37,7 @@ Class: EVAL
|
|
|
Group: Finance
|
|
Group: Finance
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: %{V_aqbanking}
|
|
Version: %{V_aqbanking}
|
|
|
-Release: 20050420
|
|
|
|
|
|
|
+Release: 20050422
|
|
|
|
|
|
|
|
# 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
|
|
@@ -46,7 +46,7 @@ Source1: http://osdn.dl.sourceforge.net/gwenhywfar/gwenhywfar-%{V_gwenhywfa
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130
|
|
|
|
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, gcc
|
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
@@ -77,6 +77,9 @@ AutoReqProv: no
|
|
|
%build
|
|
%build
|
|
|
# build Gwhenhywfar library
|
|
# build Gwhenhywfar library
|
|
|
( cd gwenhywfar-%{V_gwenhywfar}
|
|
( cd gwenhywfar-%{V_gwenhywfar}
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;rm -Rf gwenhywfar;#;' \
|
|
|
|
|
+ configure
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
CPPFLAGS="%{l_cppflags} -I`pwd`/gwenhywfar" \
|
|
CPPFLAGS="%{l_cppflags} -I`pwd`/gwenhywfar" \
|
|
@@ -89,12 +92,6 @@ AutoReqProv: no
|
|
|
--disable-nls \
|
|
--disable-nls \
|
|
|
--disable-shared
|
|
--disable-shared
|
|
|
|
|
|
|
|
- # workaround the fact that the library expects itself to be already installed
|
|
|
|
|
- %{l_shtool} mkdir -f -p -m 755 \
|
|
|
|
|
- gwenhywfar/ui
|
|
|
|
|
- ( cd gwenhywfar; ln -s ../src/*.h ../src/*/*.h ../src/os/posix/system.h . ) || exit $?
|
|
|
|
|
- ( cd gwenhywfar/ui; ln -s ../../gwenui/*.h . ) || exit $?
|
|
|
|
|
-
|
|
|
|
|
# build the library
|
|
# build the library
|
|
|
%{l_make} %{l_mflags -O}
|
|
%{l_make} %{l_mflags -O}
|
|
|
|
|
|
|
@@ -135,6 +132,12 @@ AutoReqProv: no
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.so*
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.so*
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/aqbanking/plugins/0/*/*.a
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/aqbanking/plugins/0/*/*.a
|
|
|
|
|
|
|
|
|
|
+ # post-adjust installation
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;^\(dlname=.\).*\(.\)$;\1\2;' \
|
|
|
|
|
+ -e 's;^\(library_names=.\).*\(.\)$;\1\2;' \
|
|
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.la
|
|
|
|
|
+
|
|
|
# determine installation files
|
|
# determine installation files
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
%{l_files_std} \
|
|
%{l_files_std} \
|