OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re, openpkg-src Date: 20-Nov-2002 20:41:55
Branch: HEAD Handle: 2002112019415401
Modified files:
openpkg-re/vcheck vc.perl-xml
openpkg-src/perl-xml perl-xml.spec
Log:
add XML::GDOME, a DOM Level 2 implementation
Summary:
Revision Changes Path
1.18 +5 -0 openpkg-re/vcheck/vc.perl-xml
1.28 +21 -1 openpkg-src/perl-xml/perl-xml.spec
____________________________________________________________________________
Index: openpkg-re/vcheck/vc.perl-xml
============================================================
$ cvs diff -u -r1.17 -r1.18 vc.perl-xml
--- openpkg-re/vcheck/vc.perl-xml 20 Nov 2002 19:13:52 -0000 1.17
+++ openpkg-re/vcheck/vc.perl-xml 20 Nov 2002 19:41:54 -0000 1.18
@@ -116,4 +116,9 @@
url = http://telia.dl.sourceforge.net/sourceforge/xsh/
regex = XML-XSH-(__VER__)\.tar\.gz
}
+prog perl-xml:XML-GDOME = {
+ version = 0.82
+ url = http://www.cpan.org/modules/by-module/XML/
+ regex = XML-GDOME-(__VER__)\.tar\.gz
+}
Index: openpkg-src/perl-xml/perl-xml.spec
============================================================
$ cvs diff -u -r1.27 -r1.28 perl-xml.spec
--- openpkg-src/perl-xml/perl-xml.spec 20 Nov 2002 19:13:53 -0000 1.27
+++ openpkg-src/perl-xml/perl-xml.spec 20 Nov 2002 19:41:55 -0000 1.28
@@ -47,6 +47,7 @@
%define V_soap_lite_smartproxy 0.11
%define V_soap_payload 1.02
%define V_xml_xsh 1.6
+%define V_xml_gdome 0.82
# package options
%ifndef with_libxml
@@ -55,7 +56,15 @@
%ifndef with_libxslt
%define with_libxslt %{l_test -p libxslt}
%endif
-%if "%{with_libxslt}" == "yes" && "%{with_libxml}" == "no"
+%ifndef with_libgdome
+%define with_libgdome %{l_test -p libgdome}
+%endif
+
+# package inter-dependencies
+%if "%{with_libxslt}" == "yes" && "%{with_libxml}" == "no"
+%define with_libxml yes
+%endif
+%if "%{with_libgdome}" == "yes" && "%{with_libxml}" == "no"
%define with_libxml yes
%endif
@@ -95,6 +104,7 @@
Source20:
http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-%{V_xml_libxml}.tar.gz
Source21:
http://telia.dl.sourceforge.net/sourceforge/xsh/XML-XSH-%{V_xml_xsh}.tar.gz
Source22:
http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-LibXSLT-%{V_xml_libxslt}.tar.gz
+Source23:
http://www.cpan.org/modules/by-module/XML/XML-GDOME-%{V_xml_gdome}.tar.gz
# build information
Prefix: %{l_prefix}
@@ -107,6 +117,9 @@
%if "%{with_libxslt}" == "yes"
BuildPreReq: libxslt
%endif
+%if "%{with_libgdome}" == "yes"
+BuildPreReq: libgdome
+%endif
AutoReq: no
AutoReqProv: no
@@ -122,6 +135,9 @@
%if "%{with_libxslt}" == "yes"
- XML::LibXSLT (%{V_xml_libxslt})
%endif
+%if "%{with_libgdome}" == "yes"
+ - XML::GDOME (%{V_xml_gdome})
+%endif
- XML::Simple (%{V_xml_simple})
- XML::NamespaceSupport (%{V_xml_namespacesupport})
- XML::SAX (%{V_xml_sax})
@@ -164,6 +180,7 @@
%setup20 -q -T -D -a 20
%setup21 -q -T -D -a 21
%setup22 -q -T -D -a 22
+ %setup23 -q -T -D -a 23
%build
@@ -199,6 +216,9 @@
%endif
%if "%{with_libxslt}" == "yes"
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE22} XMLPREFIX=%{l_prefix}
+%endif
+%if "%{with_libgdome}" == "yes"
+ %{l_prefix}/bin/perl-openpkg install -d %{SOURCE23}
%endif
# perform common epilog operations
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]