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

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external p5-uri 1.35
2     ## INITENV +PATH PERL5LIB $P5_URI_ROOT/lib/site_perl/$PERL_VERSION/%{perlarch}
3 eulisse 1.2 %define perlarch $(perl -e 'use Config; print $Config{archname}')
4 eulisse 1.1 %define downloadn URI
5     Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/G/GA/GAAS/%downloadn-%v.tar.gz
6 eulisse 1.2 Requires: perl-virtual
7    
8     # Let's remove the dependency on ISBN stuff...
9     Provides: perl(Business::ISBN)
10    
11 eulisse 1.1 %prep
12     %setup -n %downloadn-%v
13     %build
14 eulisse 1.2 perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/$PERL_VERSION/%perlarch
15 eulisse 1.1 make
16     %install
17     make install