ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-template-toolkit.spec
(Generate patch)

Comparing COMP/CMSDIST/p5-template-toolkit.spec (file contents):
Revision 1.4 by lat, Mon May 8 12:24:49 2006 UTC vs.
Revision 1.12 by eulisse, Tue May 15 16:46:43 2007 UTC

# Line 1 | Line 1
1   ### RPM external p5-template-toolkit 2.14
2   ## INITENV +PATH PATH %{i}/bin
3 < ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion/%perlarch
3 > ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion
4   %define perlversion %(perl -e 'printf "%%vd", $^V')
5   %define perlarch %(perl -MConfig -e 'print $Config{archname}')
6 < Requires: perl-virtual p5-dbi
6 > Requires: p5-dbi
7   %define downloadn Template-Toolkit
8  
9   Provides: perl(AppConfig)
# Line 37 | Line 37 | perl Makefile.PL PREFIX=%i LIB=%i/lib/si
37                   TT_PREFIX=%{i} \
38                   TT_ACCEPT=y \
39                   TT_DOCS=n \
40 <                 TT_EXAMPLES=n
40 >                 TT_EXAMPLES=n \
41 >                 TT_SPLASH=n \
42 >                 TT_DBI=n
43 > perl -p -i -e 's!install :: (.*) tt2_splash!install :: $1!' Makefile
44   make
45 < make test
45 > perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/tpage
46 > perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/ttree
47 > case %{cmsos} in
48 >    slc4_ia32)
49 >    if ldd /usr/bin/gcc | grep -q /lib64/
50 >    then
51 >        make install
52 >        mv %i/lib/site_perl/%perlversion/x86_64-linux-thread-multi  %i/lib/site_perl/%perlversion/i386-linux-thread-multi
53 >        make clean
54 >        export PATH=/usr/bin/:$PATH
55 >        export GCC_EXEC_PREFIX=/usr/lib/gcc/
56 >        perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
57 >                         TT_LIB=%{i}/lib/site_perl/%perlversion \
58 >                         TT_PREFIX=%{i} \
59 >                         TT_ACCEPT=y \
60 >                         TT_DOCS=n \
61 >                         TT_EXAMPLES=n \
62 >                         TT_SPLASH=n \
63 >                         TT_DBI=n
64 >        perl -p -i -e 's!install :: (.*) tt2_splash!install :: $1!' Makefile
65 >        make
66 >        perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/tpage
67 >        perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/ttree
68 >    fi;;
69 >    *)
70 >    ;;
71 >    esac
72 >
73   %install
74   make install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines