|
|
|
@ -53,21 +53,17 @@ |
|
|
|
%define V_xml_gdome 0.82 |
|
|
|
%define V_xml_gdome 0.82 |
|
|
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
# package options |
|
|
|
%ifndef with_libxml |
|
|
|
%option with_libxml %{l_test -p libxml} |
|
|
|
%define with_libxml %{l_test -p libxml} |
|
|
|
%option with_libxslt %{l_test -p libxslt} |
|
|
|
%endif |
|
|
|
%option with_libgdome %{l_test -p libgdome} |
|
|
|
%ifndef with_libxslt |
|
|
|
|
|
|
|
%define with_libxslt %{l_test -p libxslt} |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%ifndef with_libgdome |
|
|
|
|
|
|
|
%define with_libgdome %{l_test -p libgdome} |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# package inter-dependencies |
|
|
|
# package inter-dependencies |
|
|
|
%if "%{with_libxslt}" == "yes" && "%{with_libxml}" == "no" |
|
|
|
%if "%{with_libxslt}" == "yes" |
|
|
|
|
|
|
|
%undefine with_libxml |
|
|
|
%define with_libxml yes |
|
|
|
%define with_libxml yes |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%if "%{with_libgdome}" == "yes" && "%{with_libxml}" == "no" |
|
|
|
%if "%{with_libgdome}" == "yes" |
|
|
|
|
|
|
|
%undefine with_libxml |
|
|
|
%define with_libxml yes |
|
|
|
%define with_libxml yes |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
@ -80,8 +76,8 @@ Packager: The OpenPKG Project |
|
|
|
Distribution: OpenPKG [BASE] |
|
|
|
Distribution: OpenPKG [BASE] |
|
|
|
Group: Language |
|
|
|
Group: Language |
|
|
|
License: GPL/Artistic |
|
|
|
License: GPL/Artistic |
|
|
|
Version: 20021215 |
|
|
|
Version: 20021230 |
|
|
|
Release: 20021215 |
|
|
|
Release: 20021230 |
|
|
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
# list of sources |
|
|
|
Source0: http://www.cpan.org/modules/by-module/XML/XML-Parser-%{V_xml_parser}.tar.gz |
|
|
|
Source0: http://www.cpan.org/modules/by-module/XML/XML-Parser-%{V_xml_parser}.tar.gz |
|
|
|
@ -115,8 +111,8 @@ Source26: http://www.cpan.org/modules/by-module/XML/XML-GDOME-%{V_xml_gdome} |
|
|
|
# build information |
|
|
|
# build information |
|
|
|
Prefix: %{l_prefix} |
|
|
|
Prefix: %{l_prefix} |
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20021002, perl >= 5.8.0, expat |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20021230, perl >= 5.8.0, expat |
|
|
|
PreReq: OpenPKG, openpkg >= 20021002, perl >= 5.8.0 |
|
|
|
PreReq: OpenPKG, openpkg >= 20021230, perl >= 5.8.0 |
|
|
|
%if "%{with_libxml}" == "yes" |
|
|
|
%if "%{with_libxml}" == "yes" |
|
|
|
BuildPreReq: libxml |
|
|
|
BuildPreReq: libxml |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
@ -165,7 +161,7 @@ AutoReqProv: no |
|
|
|
- SOAP::Lite::SmartProxy (%{V_soap_lite_smartproxy}) |
|
|
|
- SOAP::Lite::SmartProxy (%{V_soap_lite_smartproxy}) |
|
|
|
- SOAP::payload (%{V_soap_payload}) |
|
|
|
- SOAP::payload (%{V_soap_payload}) |
|
|
|
|
|
|
|
|
|
|
|
Options: none |
|
|
|
%options -p13 |
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup0 -q -c |
|
|
|
%setup0 -q -c |
|
|
|
|