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

# User Rev Content
1 eulisse 1.1 ### RPM external p5-libwww-perl 1.41
2 ratnik 1.8 Requires: gcc-wrapper
3 eulisse 1.6 ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion
4 lat 1.4 %define perlversion %(perl -e 'printf "%%vd", $^V')
5     %define perlarch %(perl -MConfig -e 'print $Config{archname}')
6 eulisse 1.1 %define downloadn libwww-perl
7     %define downloadv 5.805
8 eulisse 1.3
9 lat 1.5 Requires: expat p5-uri
10 eulisse 1.3
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 eulisse 1.1 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 ratnik 1.8 ## IMPORT gcc-wrapper
22 eulisse 1.1 which perl
23 lat 1.4 perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
24 eulisse 1.1 make
25     %install
26     make install
27 eulisse 1.7 #