ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-libwww-perl.spec
Revision: 1.8
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
CVS Tags: pe20070428a-ports, pe20070423b-ports, pe20070423a-ports
Changes since 1.7: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# Content
1 ### RPM external p5-libwww-perl 1.41
2 Requires: gcc-wrapper
3 ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion
4 %define perlversion %(perl -e 'printf "%%vd", $^V')
5 %define perlarch %(perl -MConfig -e 'print $Config{archname}')
6 %define downloadn libwww-perl
7 %define downloadv 5.805
8
9 Requires: expat p5-uri
10
11 ## FIXME: we fake the existance of these to remove rpm complaining about needing it.
12 Provides: perl(Authen::NTLM)
13 Provides: perl(HTML::Entities)
14 Provides: perl(HTTP::GHTTP)
15 Provides: perl(Win32)
16
17 Source: http://cpan.mirror.solnet.ch/authors/id/G/GA/GAAS/%{downloadn}-%{downloadv}.tar.gz
18 %prep
19 %setup -n %downloadn-%downloadv
20 %build
21 ## IMPORT gcc-wrapper
22 which perl
23 perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
24 make
25 %install
26 make install
27 #