Bläddra i källkod

added XML::SimpleObject::LibXML (contributed)

Thomas Lotterer 19 år sedan
förälder
incheckning
a65c2d37d4
1 ändrade filer med 13 tillägg och 1 borttagningar
  1. 13 1
      perl-xml/perl-xml.spec

+ 13 - 1
perl-xml/perl-xml.spec

@@ -58,6 +58,7 @@
 %define       V_xml_sax_base            1.02
 %define       V_xml_sax_expat           0.37
 %define       V_xml_simple              2.14
+%define       V_xml_simpleobject_libxml 0.60
 %define       V_xml_twig                3.26
 %define       V_xml_writer              0.600
 %define       V_xml_writer_string       0.1
@@ -92,7 +93,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20060702
+Release:      20060703
 
 #   package options
 %option       with_libxml            no
@@ -166,6 +167,7 @@ Source52:     http://www.cpan.org/modules/by-module/XML/XML-Atom-%{V_xml_atom}.t
 Source53:     http://www.cpan.org/modules/by-module/XML/XML-Atom-Filter-%{V_xml_atom_filter}.tar.gz
 Source54:     http://www.cpan.org/modules/by-module/XML/XML-Atom-Syndication-%{V_xml_atom_syndication}.tar.gz
 Source55:     http://www.cpan.org/modules/by-module/XML/XML-RSS-FromAtom-%{V_xml_rss_fromatom}.tar.gz
+Source56:     http://www.cpan.org/modules/by-module/XML/XML-SimpleObject-LibXML-%{V_xml_simpleobject_libxml}.tar.gz
 Patch0:       perl-xml.patch
 
 #   build information
@@ -203,6 +205,7 @@ AutoReqProv:  no
     - XML::LibXML::Iterator (%{V_xml_libxml_iterator})
     - XML::LibXML::XPathContext (%{V_xml_libxml_xpathcontext})
     - XML::XUpdate::LibXML (%{V_xml_xupdate_libxml})
+    - XML::SimpleObject::LibXML (%{V_xml_simpleobject_libxml})
 %endif
 %if "%{with_libxslt}" == "yes"
     - XML::LibXSLT (%{V_xml_libxslt})
@@ -496,6 +499,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/HTML/
         regex     = HTML-Prototype-Useful-(__VER__)\.tar\.gz
     }
+    prog perl-xml:XML-SimpleObject-LibXML = {
+        version   = %{V_xml_simpleobject_libxml}
+        url       = http://www.cpan.org/modules/by-module/XML/
+        regex     = XML-SimpleObject-LibXML-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -554,6 +562,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 53
     %setup -q -T -D -a 54
     %setup -q -T -D -a 55
+    %setup -q -T -D -a 56
     %patch -p0
     rm -f HTML-Prototype*/Build.PL
 
@@ -629,6 +638,9 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE53} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE54} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE55} configure build install
+%if "%{with_libxml}" == "yes"
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE56} configure build install
+%endif
 
     #   pre-activate the XML::SAX parsers
     eval `%{l_prefix}/bin/perl -V:installvendorlib`