ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-dbd-oracle.spec
Revision: 1.21
Committed: Fri Mar 7 23:39:51 2008 UTC (17 years, 1 month ago) by ratnik
Branch: MAIN
CVS Tags: forPHEDEX262_cmsbuild5, forPHEDEX262_cmsbuild4, nr080307onl180onl1
Changes since 1.20: +9 -12 lines
Log Message:
Put mainstream development back on top:  identical to  rev. 1.19

File Contents

# Content
1 ### RPM external p5-dbd-oracle 1.17-CMS19
2 ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion
3 ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;; Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
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-%{realversion}.tar.gz
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}-%{realversion}
14
15 %build
16 patch Makefile.PL << \EOF
17 diff Makefile.PL.orig Makefile.PL
18 1407a1408
19 > "$OH/include", # Tim Barrass, hacked for OIC install from zips
20 EOF
21 %ifos darwin
22 perl -p -i -e 's/NMEDIT = nmedit/NMEDIT = true/' Makefile.PL
23 %endif
24
25 perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion -l -m $ORACLE_HOME/demo/demo.mk
26 make
27 #