|
|
@@ -31,6 +31,8 @@
|
|
|
%define V_html_tagreader 1.08
|
|
|
%define V_html_tagset 3.03
|
|
|
%define V_html_tree 3.18
|
|
|
+%define V_css 1.07
|
|
|
+%define V_css_tiny 1.05
|
|
|
%define V_xml_dom 1.43
|
|
|
%define V_xml_dtdparser 1.7
|
|
|
%define V_xml_easyobj 1.12
|
|
|
@@ -74,7 +76,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20040903
|
|
|
+Release: 20040919
|
|
|
|
|
|
# package options
|
|
|
%option with_libxml no
|
|
|
@@ -129,19 +131,21 @@ Source33: http://www.cpan.org/modules/by-module/XML/XML-GDOME-%{V_xml_gdome}
|
|
|
Source34: http://www.cpan.org/modules/by-module/XML/XML-Dumper-%{V_xml_dumper}.tar.gz
|
|
|
Source35: http://www.cpan.org/modules/by-module/XML/XML-Mini-%{V_xml_mini}.tar.gz
|
|
|
Source36: http://www.cpan.org/modules/by-module/XML/XML-Smart-%{V_xml_smart}.tar.gz
|
|
|
+Source37: http://www.cpan.org/modules/by-module/CSS/CSS-%{V_css}.tar.gz
|
|
|
+Source38: http://www.cpan.org/modules/by-module/CSS/CSS-Tiny-%{V_css_tiny}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
|
|
|
PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
|
|
|
-BuildPreReq: perl-util >= %{V_perl}-20031202
|
|
|
-PreReq: perl-util >= %{V_perl}-20031202
|
|
|
+BuildPreReq: perl-util >= %{V_perl}-20031202, perl-parse
|
|
|
+PreReq: perl-util >= %{V_perl}-20031202, perl-parse
|
|
|
BuildPreReq: expat
|
|
|
PreReq: expat
|
|
|
%if "%{with_libxml}" == "yes"
|
|
|
-BuildPreReq: libxml, perl-parse
|
|
|
-PreReq: libxml, perl-parse
|
|
|
+BuildPreReq: libxml
|
|
|
+PreReq: libxml
|
|
|
%endif
|
|
|
%if "%{with_libxslt}" == "yes"
|
|
|
BuildPreReq: libxslt
|
|
|
@@ -199,6 +203,8 @@ AutoReqProv: no
|
|
|
- HTML::Table (%{V_html_table})
|
|
|
- HTML::TagReader (%{V_html_tagreader})
|
|
|
- HTML::SimpleParse (%{V_html_simpleparse})
|
|
|
+ - CSS (%{V_css})
|
|
|
+ - CSS::Tiny (%{V_css_tiny})
|
|
|
|
|
|
%track
|
|
|
prog perl-xml:HTML-Parser = {
|
|
|
@@ -386,6 +392,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/XML/
|
|
|
regex = XML-Smart-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-xml:CSS = {
|
|
|
+ version = %{V_css}
|
|
|
+ url = http://www.cpan.org/modules/by-module/CSS/
|
|
|
+ regex = CSS-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-xml:CSS-Tiny = {
|
|
|
+ version = %{V_css_tiny}
|
|
|
+ url = http://www.cpan.org/modules/by-module/CSS/
|
|
|
+ regex = CSS-Tiny-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -425,6 +441,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 34
|
|
|
%setup -q -T -D -a 35
|
|
|
%setup -q -T -D -a 36
|
|
|
+ %setup -q -T -D -a 37
|
|
|
+ %setup -q -T -D -a 38
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -477,6 +495,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE38} configure build install
|
|
|
|
|
|
# pre-activate the XML::SAX parsers
|
|
|
eval `%{l_prefix}/bin/perl -V:installvendorlib`
|