ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-dbd-oracle.spec
Revision: 1.8
Committed: Tue May 16 06:51:21 2006 UTC (18 years, 11 months ago) by lat
Branch: MAIN
CVS Tags: WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, PR_0_5_4, PR_0_5_0, PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPIL116, forPR032, forPR030, forPR020, forPA011, forPR010, forPA010, af20060928, pe20060827a, for082, CMSSW_0_8_1, ProdAgent_pa17, phedex_2_3_series, V00-01-00, V00-00-11, V00-00-10, V00-00-09, V00-00-08, V00-00-07, V00-00-06, V00-00-05
Changes since 1.7: +1 -1 lines
Log Message:
Provide perl(Tk) as well.

File Contents

# Content
1 ### RPM external p5-dbd-oracle 1.17
2 ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion/%perlarch
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-%v.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}-%{v}
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