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

Comparing COMP/CMSDIST/db4.spec (file contents):
Revision 1.1 by eulisse, Tue Apr 25 13:05:26 2006 UTC vs.
Revision 1.13 by muzaffar, Tue Jul 6 08:34:43 2010 UTC

# Line 1 | Line 1
1 < ### RPM external db4 4.4.20
2 < Source: http://downloads.sleepycat.com/db-%{v}.tar.gz
1 > ### RPM external db4 4.4.20-CMS19
2 > Source: http://download.oracle.com/berkeley-db/db-%{realversion}.NC.tar.gz
3  
4   %prep
5 < %setup -n db-%{v}
5 > %setup -n db-%{realversion}.NC
6   %build
7   mkdir obj
8   cd obj
# Line 11 | Line 11 | make %makeprocesses
11   %install
12   cd obj
13   make install
14 +
15 + # SCRAM ToolBox toolfile
16 + mkdir -p %i/etc/scram.d
17 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
18 +  <tool name="%n" version="%v">
19 +    <lib name="db"/>
20 +    <client>
21 +      <environment name="DB4_BASE" default="%i"/>
22 +      <environment name="LIBDIR" default="$DB4_BASE/lib"/>
23 +      <environment name="INCLUDE" default="$DB4_BASE/include"/>
24 +      <environment name="BINDIR" default="$DB4_BASE/bin"/>
25 +    </client>
26 +    <runtime name="PATH" value="$BINDIR" type="path"/>
27 +  </tool>
28 + EOF_TOOLFILE
29 +
30 + %post
31 + %{relocateConfig}etc/scram.d/%n.xml
32 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines