ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-dbd-oracle.spec
Revision: 1.15
Committed: Wed Oct 10 00:48:31 2007 UTC (17 years, 6 months ago) by dlange
Branch: MAIN
CVS Tags: CMSSW_1_7_7, dl080227for176, CMSSW_1_7_5_ONLINE1, CMSSW_1_7_5, CMSSW_1_7_5_g491, CMSSW_1_7_5_ONLINE, nr080115onl175, dl080111, ge20080109-webconddb, ge20080109-sitedb, CMSSW_1_7_4, CMSSW_1_7_3_g490p1, dl071212t2, dl071212, CMSSW_1_7_3, CMSSW_1_7_2, CMSSW_1_7_1, nr071121onl170_xdaq5, nr071120_fwlite170_1, CMSSW_1_7_0_ONLINE, CMSSW_1_7_0, nr071116onlpre13, CMSSW_1_7_0_pre13, dl071114, ap20071113, CMSSW_1_7_0_pre12, CMSSW_1_7_0_pre10_ONLINE, CMSSW_1_7_0_pre11, nr071105a, pe20071102a-ports, CMSSW_1_7_0_pre10, CMSSW_1_7_0_pre9, CMSSW_1_7_0_pre8, CMSSW_1_7_0_pre7, dl071028, dl071024, nr071023_fwlite170p6, pe20071023-170p6-amd64, forTony_001, pe20071021-170p6-zlib, dl071021t2, dl071021, pe20071021a-ports, dl071020, CMSSW_1_7_0_pre6, pe20071015-xrootd, pe20071014-ports, dl071014, dl071010t2, dl071010
Changes since 1.14: +1 -1 lines
Log Message:
bump version as it depends on oracle

File Contents

# Content
1 ### RPM external p5-dbd-oracle 1.17-CMS5
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 #