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

Comparing COMP/CMSDIST/mcdb.spec (file contents):
Revision 1.6 by muzaffar, Tue Apr 20 08:12:51 2010 UTC vs.
Revision 1.9 by elmer, Sun Mar 6 21:57:46 2011 UTC

# Line 7 | Line 7 | Patch0: mcdb-1.0.2-gcc45
7   %setup -q -n %{n}-api-%{realversion}
8  
9   case %gccver in
10 <  4.5.*)
10 >  4.5.* | 4.6.*)
11   %patch0 -p1
12    ;;
13   esac
# Line 15 | Line 15 | esac
15   rm config.mk
16   touch config.mk
17   case %cmsplatf in
18 <  osx105_ia32_gcc401  )
18 >  osx*)
19   echo "PLATFORM = %cmsplatf" >> config.mk
20   echo "CC       = gcc" >> config.mk
21   echo "CXX      = g++" >> config.mk
# Line 65 | Line 65 | make
65  
66   %install
67   tar -c lib interface | tar -x -C %i
68 # SCRAM ToolBox toolfile
69 mkdir -p %i/etc/scram.d
70 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
71  <tool name="%n" version="%v">
72    <lib name="mcdb"/>
73    <client>
74      <environment name="MCDB_BASE" default="%i"/>
75      <environment name="LIBDIR" default="$MCDB_BASE/lib"/>
76      <environment name="INCLUDE" default="$MCDB_BASE/interface"/>
77    </client>
78    <use name="xerces-c"/>
79  </tool>
80 EOF_TOOLFILE
81
82 %post
83 %{relocateConfig}etc/scram.d/%n.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines