Revision: | 1.6 |
Committed: | Mon May 15 18:33:01 2006 UTC (18 years, 11 months ago) by lat |
Branch: | MAIN |
CVS Tags: | WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, PR_0_5_4, PR_0_5_0, PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPIL116, forPR032, forPR030, forPR020, forPA011, forPR010, forPA010, af20060928, ProdAgent_pa17, phedex_2_3_series, V00-00-10, V00-00-09, V00-00-08, V00-00-07, V00-00-06, V00-00-05 |
Changes since 1.5: | +1 -1 lines |
Log Message: | Don't require any packages seeded from the system. |
# | Content |
---|---|
1 | ### RPM external p5-xml-parser 2.34 |
2 | ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion/%perlarch |
3 | %define perlversion %(perl -e 'printf "%%vd", $^V') |
4 | %define perlarch %(perl -MConfig -e 'print $Config{archname}') |
5 | %define downloadn XML-Parser |
6 | Requires: expat |
7 | Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/M/MS/MSERGEANT/%{downloadn}-%{v}.tar.gz |
8 | %prep |
9 | %setup -n %downloadn-%v |
10 | %build |
11 | which perl |
12 | perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \ |
13 | EXPATLIBPATH=$EXPAT_ROOT/lib \ |
14 | EXPATINCPATH=$EXPAT_ROOT/include |
15 | make |
16 | make test |
17 | %install |
18 | make install |