ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-template-toolkit.spec
Revision: 1.1
Committed: Wed Mar 15 17:57:19 2006 UTC (19 years, 1 month ago) by eulisse
Branch: MAIN
CVS Tags: V00-00-01, V00-00-00, test2, test1, NataliaStart
Log Message:
First added to repository.

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external p5-template-toolkit 2.14
2     ## INITENV +PATH PATH %{i}/bin
3     ## INITENV +PATH PERL5LIB %{i}/lib/site_perl/$PERL_VERSION/%perlarch
4     Requires: perl
5     %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}')
6     %define downloadn Template-Toolkit
7     Source: http://www.cpan.org/modules/by-module/Template/%downloadn-%v.tar.gz
8    
9     %prep
10     %setup -n %{downloadn}-%{v}
11     %build
12     perl Makefile.PL TT_LIB=%{i}/lib/site_perl/$PERL_VERSION \
13     TT_PREFIX=%{i} \
14     TT_ACCEPT=y \
15     TT_DOCS=n \
16     TT_EXAMPLES=n \
17     LIB=%{i}/lib/site_perl/$PERL_VERSION \
18     PREFIX=%{i}
19     make
20     make test
21     %install
22     make install