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

Comparing COMP/CMSDIST/root.spec (file contents):
Revision 1.107 by dlange, Sat Mar 8 02:24:13 2008 UTC vs.
Revision 1.123 by andreasp, Wed Aug 27 19:07:52 2008 UTC

# Line 9 | Line 9 | Patch1: root-5.18-00a-CINT-maxlongline
9   Patch2: root_5.18-00-CINTFunctional
10   Patch3: root-5.18-00a-TBufferXML
11   Patch4: root-5.18-00a-Cintex
12 <
12 > Patch5: root-5.18-00a-Cintex2
13 > Patch6: root-5.18-00a-TBufferFile
14 > Patch7: root-5.18-00a-cintexquickfix2
15 > Patch8: root-5.18-00a-gendict-performance
16 > Patch9: root-5.18-00a-TClass-classNameSize
17  
18   %define cpu %(echo %cmsplatf | cut -d_ -f2)
19   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
20  
21   Requires: gccxml gsl castor libjpg dcap pcre python
22  
23 < %if "%{?online_release:set}" != "set"
24 < Requires: qt openssl mysql libpng zlib oracle libungif xrootd
23 > %if "%cmsplatf" != "slc4onl_ia32_gcc346"
24 > Requires: qt openssl mysql libpng zlib libungif xrootd
25   %else
26   %define skiplibtiff true
27   %endif
# Line 37 | Line 41 | Requires: libtiff
41   %patch2 -p0
42   %patch3 -p1
43   %patch4 -p0
44 + %patch5 -p0
45 + %patch6 -p0
46 + %patch7 -p0
47 + %patch8 -p1
48 + %patch9 -p0
49  
50   %build
51   mkdir -p %i
52   export ROOTSYS=%_builddir/root
53  
54 < %if "%{?online_release:set}" == "set"
55 < # Use oracle from xdaq installation:
56 < ORACLE_ROOT="/opt/xdaq"
57 < # Build without mysql, and use system qt and openssl:
54 > %if "%cmsplatf" == "slc4onl_ia32_gcc346"
55 > # Build without mysql, and use system qt.
56 > # Also skip xrootd and odbc for online case:
57 >
58   EXTRA_CONFIG_ARGS="
59 <             --disable-mysql
60 <             --enable-qt
61 <             --enable-ssl"
62 < # Also skip xrootd option for online case.
59 >             --disable-mysql
60 >             --disable-xrootd
61 >             --disable-odbc
62 >             --enable-qt"
63   %else
64   EXTRA_CONFIG_ARGS="
65               --with-xrootd=$XROOTD_ROOT
# Line 89 | Line 98 | CONFIG_ARGS="--enable-table
98  
99   case $(uname)-$(uname -p) in
100    Linux-x86_64)
101 <    ./configure linuxx8664gcc $CONFIG_ARGS --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift --disable-astiff --disable-cern;;
101 >    ./configure linuxx8664gcc $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift --disable-astiff --disable-cern;;
102    Linux-i*86)
103 <    ./configure linux  $CONFIG_ARGS --enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift;;
103 >    ./configure linux  $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift;;
104    Darwin*)
105      ./configure macosx $CONFIG_ARGS --disable-rfio;;
106    Linux-ppc64*)
# Line 145 | Line 154 | cat << \EOF_TOOLFILE >%i/etc/scram.d/roo
154   </Tool>
155   EOF_TOOLFILE
156  
157 < # root toolfile
157 > # root toolfile, alias for rootphysics. Using rootphysics is preferred.
158   cat << \EOF_TOOLFILE >%i/etc/scram.d/root
159   <doc type=BuildSystem::ToolDoc version=1.0>
160   <Tool name=root version=%v>
161   <info url="http://root.cern.ch/root/"></info>
162 + <use name=rootphysics>
163 + </Tool>
164 + EOF_TOOLFILE
165 +
166 + # roothistmatrix toolfile
167 + cat << \EOF_TOOLFILE >%i/etc/scram.d/roothistmatrix
168 + <doc type=BuildSystem::ToolDoc version=1.0>
169 + <Tool name=roothistmatrix version=%v>
170 + <info url="http://root.cern.ch/root/"></info>
171 + <lib name=Hist>
172 + <lib name=Matrix>
173 + <use name=ROOTCore>
174 + </Tool>
175 + EOF_TOOLFILE
176 +
177 + # rootphysics toolfile
178 + cat << \EOF_TOOLFILE >%i/etc/scram.d/rootphysics
179 + <doc type=BuildSystem::ToolDoc version=1.0>
180 + <Tool name=rootphysics version=%v>
181 + <info url="http://root.cern.ch/root/"></info>
182 + <lib name=Physics>
183 + <use name=roothistmatrix>
184 + </Tool>
185 + EOF_TOOLFILE
186 +
187 + # rootgraphics toolfile, identical to old "root" toolfile
188 + cat << \EOF_TOOLFILE >%i/etc/scram.d/rootgraphics
189 + <doc type=BuildSystem::ToolDoc version=1.0>
190 + <Tool name=rootgraphics version=%v>
191 + <info url="http://root.cern.ch/root/"></info>
192   <lib name=TreePlayer>
193   <lib name=Gpad>
194   <lib name=Graf3d>
# Line 293 | Line 332 | EOF_TOOLFILE
332   %post
333   %{relocateConfig}etc/scram.d/root
334   %{relocateConfig}etc/scram.d/rootcore
335 + %{relocateConfig}etc/scram.d/roothistmatrix
336 + %{relocateConfig}etc/scram.d/rootphysics
337 + %{relocateConfig}etc/scram.d/rootgraphics
338   %{relocateConfig}etc/scram.d/rootcintex
339   %{relocateConfig}etc/scram.d/rootinteractive
340   %{relocateConfig}etc/scram.d/rootmath

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines