ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-libwww-perl.spec
Revision: 1.3
Committed: Tue May 2 08:50:30 2006 UTC (18 years, 11 months ago) by eulisse
Branch: MAIN
CVS Tags: V00-00-02
Changes since 1.2: +10 -2 lines
Log Message:
Now depends on system perl (perl-virtual package) rather than on our custom
version.

File Contents

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