Revision: | 1.13 |
Committed: | Wed Jun 27 13:34:02 2007 UTC (17 years, 10 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | nr20071011-bootstrap, nr20070926-bootstrap, ap-20070925, ge20070730-cmsbuild, ge20070729-amd64, ge20070726, ge20070724-slc3, nr20070723_fwlite160p5, ap20070723, CMSSW_1_6_0_pre5, pe20070720-160daq1, pe20070720-160p5, ge20070718, ge20070717, ap20070717, ge20070713-macosx, ap20070712, ge20070712-migration, ge20070712, ge20070711-prodcommon, CMSSW_1_6_0_pre4, ge20070710-formencode, ge20070709-slc3, ge20070709-macosx, ge20070709a-macosx, ge20070706-macosx, ap20070706, CMSSW_1_6_0_pre3, pe20070705a-160p3, CMSSW_1_6_0_pre2, ge20070705, ge20070704, ge20070703b, pe20070702b-160p3, pe20070702b-160p2, ge20070702-rpm-webtools, CMSSW_1_6_0_pre1, pe20070729b-160p2, pe20070729b-160p1, pe20070729a-160p2, pe20070729a-160p1, pe20070629a-ports, pe20070628e-ports, pe20070628d-ports, pe20070628c-ports, pe20070628b-ports, pe20070628a-ports, pe20070627b-ports, pe20070627a-ports |
Changes since 1.12: | +3 -3 lines |
Log Message: | Update to -CMS3 for full rebuild |
# | Content |
---|---|
1 | ### RPM external p5-dbd-oracle 1.17-CMS3 |
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 | # |