ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-xml-parser.spec
Revision: 1.3
Committed: Mon Mar 20 19:25:18 2006 UTC (19 years, 1 month ago) by eulisse
Branch: MAIN
CVS Tags: V00-00-01, V00-00-00, test2
Changes since 1.2: +3 -1 lines
Log Message:
Now uses provided expat.

File Contents

# Content
1 ### RPM external p5-xml-parser 2.34
2 ## INITENV +PATH PERL5LIB $P5_XML_PARSER_ROOT/lib/site_perl/$PERL_VERSION/%perlarch
3 %define downloadn XML-Parser
4 %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}')
5 Requires: perl expat
6 Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/M/MS/MSERGEANT/%{downloadn}-%{v}.tar.gz
7 %prep
8 %setup -n %downloadn-%v
9 %build
10 which perl
11 perl Makefile.PL PREFIX=%{i} \
12 EXPATLIBPATH=$EXPAT_ROOT/lib \
13 EXPATINCPATH=$EXPAT_ROOT/include
14 make
15 make test
16 %install
17 make install