ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-dbd-oracle.spec
Revision: 1.5
Committed: Fri May 5 17:31:32 2006 UTC (18 years, 11 months ago) by lat
Branch: MAIN
Changes since 1.4: +2 -0 lines
Log Message:
Provide perl modules 'required' but never used.

File Contents

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