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

Comparing COMP/CMSDIST/p5-dbd-oracle.spec (file contents):
Revision 1.3 by eulisse, Tue May 2 08:51:29 2006 UTC vs.
Revision 1.11 by ratnik, Wed Apr 18 23:46:02 2007 UTC

# Line 1 | Line 1
1   ### RPM external p5-dbd-oracle 1.17
2 < ## INITENV +PATH PERL5LIB %i/lib/site_perl/$PERL_VERSION/%perlarch
3 < %define perlarch $(perl -e 'use Config; print $Config{archname}')
2 > Requires: gcc-wrapper
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   %define downloadn DBD-Oracle
7   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/P/PY/PYTHIAN/%downloadn-%v.tar.gz
8 < Requires: perl-virtual p5-dbi oracle
8 >
9 > Requires: p5-dbi oracle
10 > Provides: perl(Tk) perl(Tk::Balloon) perl(Tk::ErrorDialog) perl(Tk::FileSelect) perl(Tk::Pod) perl(Tk::ROText)
11 >
12   %prep
13   %setup -n %{downloadn}-%{v}
14 +
15   %build
16 < perl Makefile.PL LIB=%i/lib/site_perl/$PERL_VERSION/
16 > ## IMPORT gcc-wrapper
17 > patch Makefile.PL << \EOF
18 > diff Makefile.PL.orig Makefile.PL
19 > 1407a1408
20 > >        "$OH/include", # Tim Barrass, hacked for OIC install from zips
21 > EOF
22 > %ifos darwin
23 > [ $(uname) = Darwin ] perl -p -i -e 's/NMEDIT = nmedit/NMEDIT = true/' Makefile.PL
24 > %endif
25 >
26 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion -l -m $ORACLE_HOME/demo/demo.mk
27   make
28 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines