ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-libwww-perl.spec
(Generate patch)

Comparing COMP/CMSDIST/p5-libwww-perl.spec (file contents):
Revision 1.1 by eulisse, Sun Feb 26 14:35:22 2006 UTC vs.
Revision 1.8 by ratnik, Wed Apr 18 23:46:02 2007 UTC

# Line 1 | Line 1
1   ### RPM external p5-libwww-perl 1.41
2 < ## INITENV +PATH PERL5LIB $P5_LIBWWW_PERL_ROOT/lib/site_perl/$PERL_VERSION/%perlarch
3 < %define perlarch %(perl -V | tr ',' '\\n' | grep arch | cut -d= -f2)
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 < Requires: perl expat
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 LIB=%{i}/lib/site_perl/$PERL_VERSION/%perlarch
23 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
24   make
25   %install
26   make install
27 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines