Ver código fonte

add XML::Writer stuff, required by latest perl-gtk package

Ralf S. Engelschall 22 anos atrás
pai
commit
298c6b9161
1 arquivos alterados com 27 adições e 17 exclusões
  1. 27 17
      perl-xml/perl-xml.spec

+ 27 - 17
perl-xml/perl-xml.spec

@@ -52,6 +52,8 @@
 %define       V_xml_xsh              1.8.2
 %define       V_xml_gdome            0.83
 %define       V_xml_libxml_perl      0.07
+%define       V_xml_writer           0.4
+%define       V_xml_writer_string    0.1
 
 #   package information
 Name:         perl-xml
@@ -62,8 +64,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL/Artistic
-Version:      20030916
-Release:      20030916
+Version:      20030920
+Release:      20030920
 
 #   package options
 %option       with_libxml            no
@@ -99,16 +101,18 @@ Source14:     http://www.cpan.org/modules/by-module/XML/XML-DTDParser-%{V_xml_dt
 Source15:     http://www.cpan.org/modules/by-module/XML/XML-Quote-%{V_xml_quote}.tar.gz
 Source16:     http://www.cpan.org/modules/by-module/XML/XML-XUpdate-LibXML-%{V_xml_xupdate_libxml}.tar.gz
 Source17:     http://www.cpan.org/modules/by-module/XML/libxml-perl-%{V_xml_libxml_perl}.tar.gz
-Source18:     http://www.cpan.org/modules/by-module/HTML/HTML-Tagset-%{V_html_tagset}.tar.gz
-Source19:     http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{V_html_parser}.tar.gz
-Source20:     http://www.cpan.org/modules/by-module/HTML/HTML-Tree-%{V_html_tree}.tar.gz
-Source21:     http://www.cpan.org/modules/by-module/HTML/HTML-Table-%{V_html_table}.tar.gz
-Source22:     http://www.cpan.org/modules/by-module/HTML/HTML-TagReader-%{V_html_tagreader}.tar.gz
-Source23:     http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-%{V_xml_libxml_common}.tar.gz
-Source24:     http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-%{V_xml_libxml}.tar.gz
-Source25:     http://osdn.dl.sourceforge.net/sourceforge/xsh/XML-XSH-%{V_xml_xsh}.tar.gz
-Source26:     http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-LibXSLT-%{V_xml_libxslt}.tar.gz
-Source27:     http://www.cpan.org/modules/by-module/XML/XML-GDOME-%{V_xml_gdome}.tar.gz
+Source18:     http://www.cpan.org/modules/by-module/XML/XML-Writer-%{V_xml_writer}.tar.gz
+Source19:     http://www.cpan.org/modules/by-module/XML/XML-Writer-String-%{V_xml_writer_string}.tar.gz
+Source20:     http://www.cpan.org/modules/by-module/HTML/HTML-Tagset-%{V_html_tagset}.tar.gz
+Source21:     http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{V_html_parser}.tar.gz
+Source22:     http://www.cpan.org/modules/by-module/HTML/HTML-Tree-%{V_html_tree}.tar.gz
+Source23:     http://www.cpan.org/modules/by-module/HTML/HTML-Table-%{V_html_table}.tar.gz
+Source24:     http://www.cpan.org/modules/by-module/HTML/HTML-TagReader-%{V_html_tagreader}.tar.gz
+Source25:     http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-%{V_xml_libxml_common}.tar.gz
+Source26:     http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-%{V_xml_libxml}.tar.gz
+Source27:     http://osdn.dl.sourceforge.net/sourceforge/xsh/XML-XSH-%{V_xml_xsh}.tar.gz
+Source28:     http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-LibXSLT-%{V_xml_libxslt}.tar.gz
+Source29:     http://www.cpan.org/modules/by-module/XML/XML-GDOME-%{V_xml_gdome}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -162,6 +166,8 @@ AutoReqProv:  no
     - XML::RSS (%{V_xml_rss})
     - XML::DTDParser (%{V_xml_dtdparser})
     - XML::Quote (%{V_xml_quote})
+    - XML::Writer (%{V_xml_writer})
+    - XML::Writer::String (%{V_xml_writer_string})
     - HTML::Tagset (%{V_html_tagset})
     - HTML::Parser (%{V_html_parser})
     - HTML::Tree (%{V_html_tree})
@@ -197,6 +203,8 @@ AutoReqProv:  no
     %setup25 -q -T -D -a 25
     %setup26 -q -T -D -a 26
     %setup27 -q -T -D -a 27
+    %setup28 -q -T -D -a 28
+    %setup29 -q -T -D -a 29
 
 %build
 
@@ -229,16 +237,18 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE20}
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE21}
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE22}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE23}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE24}
 %if "%{with_libxml}" == "yes"
-    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE23} XMLPREFIX=%{l_prefix}
-    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE24} XMLPREFIX=%{l_prefix}
-    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE25}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE25} XMLPREFIX=%{l_prefix}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE26} XMLPREFIX=%{l_prefix}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE27}
 %endif
 %if "%{with_libxslt}" == "yes"
-    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE26} XMLPREFIX=%{l_prefix}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE28} XMLPREFIX=%{l_prefix}
 %endif
 %if "%{with_libgdome}" == "yes"
-    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE27}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE29}
 %endif
 
     #   pre-activate the XML::SAX parsers