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.10 by elmer, Thu Dec 27 20:28:33 2007 UTC vs.
Revision 1.14 by muzaffar, Tue Aug 10 14:50:45 2010 UTC

# Line 1 | Line 1
1   ### RPM external db4 4.4.20-CMS19
2 < Source: http://downloads.sleepycat.com/db-%{realversion}.tar.gz
2 > Source: http://download.oracle.com/berkeley-db/db-%{realversion}.NC.tar.gz
3  
4   %prep
5 < %setup -n db-%{realversion}
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
18 <doc type=BuildSystem::ToolDoc version=1.0>
19 <Tool name=%n version=%v>
20 <Lib name=db>
21 <Client>
22 <Environment name=DB4_BASE default="%i"></Environment>
23 <Environment name=LIBDIR default="$DB4_BASE/lib"></Environment>
24 <Environment name=INCLUDE default="$DB4_BASE/include"></Environment>
25 <Environment name=BINDIR default="$DB4_BASE/bin"></Environment>
26 </Client>
27 <Runtime name=PATH value="$BINDIR" type=path>
28 </Tool>
29 EOF_TOOLFILE
30
31 %post
32 %{relocateConfig}etc/scram.d/%n
33

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines