ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/oracle.spec
(Generate patch)

Comparing COMP/CMSDIST/oracle.spec (file contents):
Revision 1.15 by ratnik, Fri Aug 4 21:09:31 2006 UTC vs.
Revision 1.18 by elmer, Mon Apr 9 23:25:43 2007 UTC

# Line 1 | Line 1
1   ### RPM external oracle 10.2.0.2
2   ## INITENV SET ORACLE_HOME %i
3 + ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
4  
5   Source0: http://oraclelon1.oracle.com/otn/linux/instantclient/10201/instantclient-basic-linux32-10.2.0.2-20060331.zip
6   Source1: http://oraclelon1.oracle.com/otn/linux/instantclient/10201/instantclient-sdk-linux32-10.2.0.2-20060331.zip
# Line 14 | Line 15 | Source7: http://oraclelon1.oracle.com/ot
15   Source8: http://oraclelon1.oracle.com/otn/linux/instantclient/10201/instantclient-sqlplus-macosx-10.1.0.3.zip
16  
17   Source9: oracle-license
18 + Source10: http://www.oracle.com/technology/tech/oci/occi/downloads/occi_gcc343_102020.tar.gz
19  
20   ## INITENV +PATH SQLPATH %i/bin
21   %prep
22   rm -rf instantclient_*
23   case %cmsos in
24 <  slc*_ia32 )
24 >  slc3_ia32 )
25      yes | unzip %_sourcedir/*-basic-*linux32*.zip
26      yes | unzip %_sourcedir/*-sdk-*linux32*.zip
27      yes | unzip %_sourcedir/*-sqlplus-*linux32*.zip
28      ;;
29 +  slc4_ia32 )
30 +    yes | unzip %_sourcedir/*-basic-*linux32*.zip
31 +    yes | unzip %_sourcedir/*-sdk-*linux32*.zip
32 +    yes | unzip %_sourcedir/*-sqlplus-*linux32*.zip
33 +    tar xzvf %_sourcedir/occi_gcc343_102020.tar.gz
34 +    ;;
35    slc*_amd64 )
36      yes | unzip %_sourcedir/*-basic-*linux-x86-64*.zip
37      yes | unzip %_sourcedir/*-sdk-*linux-x86-64*.zip
# Line 46 | Line 54 | cp -p instantclient*/glogin.sql %i/bin
54   cp -p instantclient*/*.jar %i/java
55   cp -p instantclient*/sdk/demo/* %i/demo
56   cp -p instantclient*/sdk/include/* %i/include
57 + %if "%cmsplatf" == "slc4_ia32_gcc345"
58 + echo Copying libocci libraries for slc4_ia32_gcc345
59 + mv libocci.so.10.1 %i/lib
60 + mv libocci10.a %i/lib
61 + %endif
62   (cd %i/lib && ln -s libclntsh.* $(echo libclntsh.* | sed 's/[0-9.]*$//'))
63   (cd %i/lib && ln -s libocci.* $(echo libocci.* | sed 's/[0-9.]*$//'))
64   chmod -R g-w %i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines