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

Comparing COMP/CMSDIST/clhep.spec (file contents):
Revision 1.14 by dlange, Fri Aug 24 20:09:41 2007 UTC vs.
Revision 1.29 by muzaffar, Tue Jan 12 13:59:38 2010 UTC

# Line 1 | Line 1
1 < ### RPM external clhep 1.9.3.1
1 > ### RPM external clhep 2.0.4.2
2   Source: http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/%n-%realversion.tgz
3  
4   %prep
# Line 46 | Line 46 | make install
46   #n -s libCLHEP-g++.%realversion.a %i/lib/libCLHEP.a
47   #remove the .a files
48   rm %i/lib/*.a
49 + # remove the separate libs:
50 + rm %i/lib/libCLHEP-[A-Z]*-%realversion.$so
51 +
52 + # SCRAM ToolBox toolfile
53 + mkdir -p %i/etc/scram.d
54 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
55 +  <tool name="clhep" version="%v">
56 +    <info url="http://wwwinfo.cern.ch/asd/lhc++/clhep"/>
57 +    <lib name="CLHEP-%realversion"/>
58 +    <client>
59 +      <environment name="CLHEP_BASE" default="%i"/>
60 +      <environment name="LIBDIR" default="$CLHEP_BASE/lib"/>
61 +      <environment name="INCLUDE" default="$CLHEP_BASE/include"/>
62 +    </client>
63 +    <runtime name="CLHEP_PARAM_PATH" value="$CLHEP_BASE"/>
64 +    <runtime name="LD_LIBRARY_PATH" value="$CLHEP_BASE/lib" type="path"/>
65 +    <runtime name="CMSSW_FWLITE_INCLUDE_PATH" value="$CLHEP_BASE/include" type="path"/>
66 +  </tool>
67 + EOF_TOOLFILE
68 +
69 + cat << \EOF_TOOLFILE >%i/etc/scram.d/clhepheader.xml
70 +  <tool name="clhepheader" version="%v">
71 +    <info url="http://wwwinfo.cern.ch/asd/lhc++/clhep"/>
72 +    <client>
73 +      <environment name="CLHEPHEADER_BASE" default="%i"/>
74 +      <environment name="INCLUDE"    default="$CLHEPHEADER_BASE/include"/>
75 +    </client>
76 +  </tool>
77 + EOF_TOOLFILE
78  
79   %post
80   %{relocateConfig}bin/Evaluator-config
# Line 60 | Line 89 | rm %i/lib/*.a
89   %{relocateConfig}bin/Units-config
90   %{relocateConfig}bin/Vector-config
91   %{relocateConfig}bin/clhep-config
92 + %{relocateConfig}etc/scram.d/%n.xml
93 + %{relocateConfig}etc/scram.d/clhepheader.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines