|
|
@@ -26,6 +26,8 @@
|
|
|
%define V_libwww_perl 5.819
|
|
|
%define V_uri 1.37
|
|
|
%define V_uri_fetch 0.08
|
|
|
+%define V_uri_find 0.16
|
|
|
+%define V_uri_find_simple 1.01
|
|
|
%define V_cgi 3.42
|
|
|
%define V_cgi_untaint 1.26
|
|
|
%define V_cgi_auth 3.00
|
|
|
@@ -98,7 +100,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20081024
|
|
|
+Release: 20081026
|
|
|
|
|
|
# package options
|
|
|
%option with_curl no
|
|
|
@@ -167,6 +169,8 @@ Source59: http://www.cpan.org/modules/by-module/WWW/WWW-Curl-%{V_www_curl}.t
|
|
|
Source60: http://www.cpan.org/modules/by-module/HTTP/HTTP-Response-Encoding-%{V_http_response_encoding}.tar.gz
|
|
|
Source61: http://www.cpan.org/modules/by-module/WWW/Scraper-%{V_www_scraper}.tar.gz
|
|
|
Source62: http://www.cpan.org/modules/by-module/Web/Web-Scraper-%{V_web_scraper}.tar.gz
|
|
|
+Source63: http://www.cpan.org/modules/by-module/URI/URI-Find-%{V_uri_find}.tar.gz
|
|
|
+Source64: http://www.cpan.org/modules/by-module/URI/URI-Find-Simple-%{V_uri_find_simple}.tar.gz
|
|
|
Patch0: perl-www.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -188,6 +192,8 @@ AutoReqProv: no
|
|
|
- libwww-perl (%{V_libwww_perl})
|
|
|
- URI (%{V_uri})
|
|
|
- URI::Fetch (%{V_uri_fetch})
|
|
|
+ - URI::Find (%{V_uri_find})
|
|
|
+ - URI::Find::Simple (%{V_uri_find_simple})
|
|
|
- CGI (%{V_cgi})
|
|
|
- CGI::Application (%{V_cgi_application})
|
|
|
- CGI::FormBuilder (%{V_cgi_formbuilder})
|
|
|
@@ -434,6 +440,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/URI/
|
|
|
regex = URI-Fetch-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-www:URI-Find = {
|
|
|
+ version = %{V_uri_find}
|
|
|
+ url = http://www.cpan.org/modules/by-module/URI/
|
|
|
+ regex = URI-Find-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-www:URI-Find-Simple = {
|
|
|
+ version = %{V_uri_find_simple}
|
|
|
+ url = http://www.cpan.org/modules/by-module/URI/
|
|
|
+ regex = URI-Find-Simple-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
prog perl-www:Net-Google = {
|
|
|
version = %{V_net_google}
|
|
|
url = http://www.cpan.org/modules/by-module/Net/
|
|
|
@@ -632,6 +648,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 60
|
|
|
%setup -q -T -D -a 61
|
|
|
%setup -q -T -D -a 62
|
|
|
+ %setup -q -T -D -a 63
|
|
|
+ %setup -q -T -D -a 64
|
|
|
%patch -p0
|
|
|
|
|
|
%build
|
|
|
@@ -704,6 +722,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE60} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE61} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE62} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE63} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE64} configure build install
|
|
|
|
|
|
# cleanup installation
|
|
|
( cd $RPM_BUILD_ROOT%{l_prefix}/bin
|