|
|
|
@ -25,8 +25,8 @@
|
|
|
|
|
|
|
|
|
|
# versions of individual parts |
|
|
|
|
%define V_libwww_perl 5.64 |
|
|
|
|
%define V_cgi 2.81 |
|
|
|
|
%define V_uri 1.19 |
|
|
|
|
#%define V_cgi 2.81 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: perl-www |
|
|
|
@ -37,13 +37,13 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [REL] |
|
|
|
|
Group: Language |
|
|
|
|
License: GPL/Artistic |
|
|
|
|
Version: 20020516 |
|
|
|
|
Release: 20020516 |
|
|
|
|
Version: 20020517 |
|
|
|
|
Release: 20020517 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/WWW/libwww-perl-%{V_libwww_perl}.tar.gz |
|
|
|
|
Source1: http://www.cpan.org/modules/by-module/CGI/CGI.pm-%{V_cgi}.tar.gz |
|
|
|
|
Source2: http://www.cpan.org/modules/by-module/URI/URI-%{V_uri}.tar.gz |
|
|
|
|
Source1: http://www.cpan.org/modules/by-module/URI/URI-%{V_uri}.tar.gz |
|
|
|
|
#Source2: http://www.cpan.org/modules/by-module/CGI/CGI.pm-%{V_cgi}.tar.gz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
@ -56,13 +56,13 @@ AutoReqProv: no
|
|
|
|
|
%description |
|
|
|
|
Various Perl modules related to World Wide Web (WWW): |
|
|
|
|
- libwww-perl (%{V_libwww_perl}) |
|
|
|
|
- CGI (%{V_cgi}) |
|
|
|
|
- URI (%{V_uri}) |
|
|
|
|
# - CGI (%{V_cgi}) |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup0 -q -c -n %{name}-%{version} |
|
|
|
|
%setup1 -q -T -D -a 1 |
|
|
|
|
%setup2 -q -T -D -a 2 |
|
|
|
|
# %setup2 -q -T -D -a 2 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
@ -104,11 +104,11 @@ AutoReqProv: no
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# build CGI |
|
|
|
|
( cd CGI.pm-%{V_cgi} |
|
|
|
|
$perl Makefile.PL $perlargs |
|
|
|
|
$make $makeargs all |
|
|
|
|
$make $makeargs install |
|
|
|
|
) |
|
|
|
|
# ( cd CGI.pm-%{V_cgi} |
|
|
|
|
# $perl Makefile.PL $perlargs |
|
|
|
|
# $make $makeargs all |
|
|
|
|
# $make $makeargs install |
|
|
|
|
# ) |
|
|
|
|
|
|
|
|
|
# build URI |
|
|
|
|
( cd URI-%{V_uri} |
|
|
|
|