ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/oracle-toolfile.spec
Revision: 1.1
Committed: Tue Aug 10 14:20:17 2010 UTC (14 years, 8 months ago) by muzaffar
Branch: MAIN
CVS Tags: pe20100906a-for39Xrb, pe20100902a-for39Xrb, pe20100901b-for39Xrb, pe20100901a-for39Xrb, pe20100830c-for39Xrb, pe20100830b-for39Xrb, pe20100830a-for39Xrb, pe20100829a-for39Xrb, pe20100827a-for39Xrb, sm100826a, pe20100826a-for39Xrb, pe20100825b-for39Xrb, pe20100825a-for39Xrb, pe20100824c-for39Xrb, pe20100824b-for39Xrb, sm100824a, pe20100824a-for39Xrb, sm100811b, sm100811a, sm20100810a
Log Message:
added new spec files to define the scram tools

File Contents

# User Rev Content
1 muzaffar 1.1 ### RPM external oracle-toolfile 1.0
2     Requires: oracle
3     %prep
4    
5     %build
6    
7     %install
8    
9     mkdir -p %i/etc/scram.d
10    
11     cat << \EOF_TOOLFILE >%i/etc/scram.d/oracle.xml
12     <tool name="oracle" version="@TOOL_VERSION@">
13     <lib name="clntsh"/>
14     <lib name="nnz11"/>
15     <client>
16     <environment name="ORACLE_BASE" default="@TOOL_ROOT@"/>
17     <environment name="ORACLE_ADMINDIR"/>
18     <environment name="LIBDIR" value="$ORACLE_BASE/lib"/>
19     <environment name="BINDIR" value="$ORACLE_BASE/bin"/>
20     <environment name="INCLUDE" value="$ORACLE_BASE/include"/>
21     </client>
22     <runtime name="PATH" value="$BINDIR" type="path"/>
23     <runtime name="TNS_ADMIN" default="$ORACLE_ADMINDIR"/>
24     <use name="sockets"/>
25     </tool>
26     EOF_TOOLFILE
27    
28     cat << \EOF_TOOLFILE >%i/etc/scram.d/oracleocci.xml
29     <tool name="oracleocci" version="@TOOL_VERSION@">
30     <lib name="occi"/>
31     <use name="oracle"/>
32     </tool>
33     EOF_TOOLFILE
34    
35     ## IMPORT scram-tools-post