ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-dbd-oracle.spec
Revision: 1.17
Committed: Thu Dec 27 20:28:33 2007 UTC (17 years, 4 months ago) by elmer
Branch: MAIN
CVS Tags: pe20071128b-ports, pe20071128a-ports, pe20071127b-ports
Changes since 1.16: +1 -1 lines
Log Message:
Update to -CMS19 (and variants) and CMS_152.
SCRAMV1 was updated to V1_0_3-p4

File Contents

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