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

# User Rev Content
1 elmer 1.17 ### RPM external p5-dbd-oracle 1.17-CMS19
2 eulisse 1.9 ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion
3 lat 1.6 %define perlversion %(perl -e 'printf "%%vd", $^V')
4     %define perlarch %(perl -MConfig -e 'print $Config{archname}')
5 eulisse 1.1 %define downloadn DBD-Oracle
6 elmer 1.13 Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/P/PY/PYTHIAN/%downloadn-%{realversion}.tar.gz
7 lat 1.4
8 lat 1.7 Requires: p5-dbi oracle
9 lat 1.8 Provides: perl(Tk) perl(Tk::Balloon) perl(Tk::ErrorDialog) perl(Tk::FileSelect) perl(Tk::Pod) perl(Tk::ROText)
10 lat 1.5
11 eulisse 1.1 %prep
12 elmer 1.13 %setup -n %{downloadn}-%{realversion}
13 lat 1.4
14 eulisse 1.1 %build
15 lat 1.4 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 lat 1.6 perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion -l -m $ORACLE_HOME/demo/demo.mk
25 eulisse 1.1 make
26 eulisse 1.10 #