|
|
@@ -64,6 +64,8 @@
|
|
|
%define V_www_search_yahoo 2.401
|
|
|
%define V_www_search_lycos 2.221
|
|
|
%define V_www_search_alltheweb 1.5
|
|
|
+%define V_www_opensearch 0.02
|
|
|
+%define V_www_wikipedia 1.5
|
|
|
%define V_http_daemon_ssl 1.02
|
|
|
%define V_http_proxy 0.14
|
|
|
%define V_http_recorder 0.02
|
|
|
@@ -80,7 +82,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20050329
|
|
|
+Release: 20050330
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/URI/URI-%{V_uri}.tar.gz
|
|
|
@@ -127,14 +129,16 @@ Source40: http://www.cpan.org/modules/by-module/HTTP/HTTP-Daemon-SSL-%{V_htt
|
|
|
Source41: http://www.cpan.org/modules/by-module/HTTP/HTTP-Proxy-%{V_http_proxy}.tar.gz
|
|
|
Source42: http://www.cpan.org/modules/by-module/HTTP/HTTP-Recorder-%{V_http_recorder}.tar.gz
|
|
|
Source43: http://www.cpan.org/modules/by-module/WDDX/WDDX-%{V_wddx}.tar.gz
|
|
|
+Source44: http://www.cpan.org/modules/by-module/WWW/WWW-OpenSearch-%{V_www_opensearch}.tar.gz
|
|
|
+Source45: http://www.cpan.org/modules/by-module/WWW/WWW-Wikipedia-%{V_www_wikipedia}.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-crypto, perl-ssl, perl-mail, perl-xml, perl-net, perl-time
|
|
|
-PreReq: perl-crypto, perl-ssl, perl-mail, perl-xml, perl-net, perl-time
|
|
|
+BuildPreReq: perl-crypto, perl-ssl, perl-mail, perl-xml, perl-net, perl-time, perl-util
|
|
|
+PreReq: perl-crypto, perl-ssl, perl-mail, perl-xml, perl-net, perl-time, perl-util
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -165,16 +169,18 @@ AutoReqProv: no
|
|
|
- SOAP::payload (%{V_soap_payload})
|
|
|
- Net::Google (%{V_net_google})
|
|
|
- WWW::Mechanize (%{V_www_mechanize})
|
|
|
- - WWW-Mechanize-Cached (%{V_www_mechanize_cached})
|
|
|
- - WWW-Mechanize-FormFiller (%{V_www_mechanize_formfi})
|
|
|
- - WWW-Mechanize-Shell (%{V_www_mechanize_shell})
|
|
|
- - WWW-Mechanize-Sleepy (%{V_www_mechanize_sleepy})
|
|
|
- - WWW-Mechanize-Timed (%{V_www_mechanize_timed})
|
|
|
- - WWW-Search (%{V_www_search})
|
|
|
- - WWW-Search-Google (%{V_www_search_google})
|
|
|
- - WWW-Search-Yahoo (%{V_www_search_yahoo})
|
|
|
- - WWW-Search-Lycos (%{V_www_search_lycos})
|
|
|
- - WWW-Search-AlltheWeb (%{V_www_search_alltheweb})
|
|
|
+ - WWW::Mechanize-Cached (%{V_www_mechanize_cached})
|
|
|
+ - WWW::Mechanize-FormFiller (%{V_www_mechanize_formfi})
|
|
|
+ - WWW::Mechanize-Shell (%{V_www_mechanize_shell})
|
|
|
+ - WWW::Mechanize-Sleepy (%{V_www_mechanize_sleepy})
|
|
|
+ - WWW::Mechanize-Timed (%{V_www_mechanize_timed})
|
|
|
+ - WWW::Search (%{V_www_search})
|
|
|
+ - WWW::Search::Google (%{V_www_search_google})
|
|
|
+ - WWW::Search::Yahoo (%{V_www_search_yahoo})
|
|
|
+ - WWW::Search::Lycos (%{V_www_search_lycos})
|
|
|
+ - WWW::Search::AlltheWeb (%{V_www_search_alltheweb})
|
|
|
+ - WWW::OpenSearch (%{V_www_opensearch})
|
|
|
+ - WWW::Wikipedia (%{V_www_wikipedia})
|
|
|
- HTTP::Daemon::SSL (%{V_http_daemon_ssl})
|
|
|
- HTTP::Proxy (%{V_http_proxy})
|
|
|
- HTTP::Recorder (%{V_http_recorder})
|
|
|
@@ -401,6 +407,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/WDDX/
|
|
|
regex = WDDX-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-www:WWW-OpenSearch = {
|
|
|
+ version = %{V_www_opensearch}
|
|
|
+ url = http://www.cpan.org/modules/by-module/WWW/
|
|
|
+ regex = WWW-OpenSearch-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-www:WWW-Wikipedia = {
|
|
|
+ version = %{V_www_wikipedia}
|
|
|
+ url = http://www.cpan.org/modules/by-module/WWW/
|
|
|
+ regex = WWW-Wikipedia-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -447,6 +463,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 41
|
|
|
%setup -q -T -D -a 42
|
|
|
%setup -q -T -D -a 43
|
|
|
+ %setup -q -T -D -a 44
|
|
|
+ %setup -q -T -D -a 45
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -497,6 +515,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE41} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE42} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE43} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE44} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE45} configure build install
|
|
|
|
|
|
# cleanup installation
|
|
|
( cd $RPM_BUILD_ROOT%{l_prefix}/bin
|