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.75 by ratnik, Tue Oct 16 08:38:00 2007 UTC vs.
Revision 1.102 by elmer, Mon Mar 3 18:20:57 2008 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00g-CMS9
1 > ### RPM lcg root 5.14.00g-CMS18l
2   ## INITENV +PATH PYTHONPATH %i/lib/python
3   ## INITENV SET ROOTSYS %i
4   Source: cvs://:pserver:cvs@root.cern.ch:2401/user/cvs?passwd=Ah<Z&tag=-rv%(echo %realversion | tr . -)&module=root&output=/%{n}_v%{realversion}.source.tar.gz
# Line 10 | Line 10 | Patch2: root_PositionVector
10   Patch3: root-fastmerge-ttree
11   Patch4: root_TXMLSetup
12   Patch5: root-Cintex
13 + Patch6: root_Reflex_Cintex
14 + Patch7: root_CallFunc
15 + # The following patch should only be applied for gcc4.x (x>0) and when
16 + # using gccxml 0.7.0
17 + Patch9: root_5.14_reflex_gccxml070_update
18 + Patch10: root-5.14-xrootd-20071001-0000a
19 + Patch11: root-5.14-silence-tmva
20 + Patch12: root_5.14-CINTFunctional
21 + Patch13: root_5.14-streamerinfo
22  
23   %define cpu %(echo %cmsplatf | cut -d_ -f2)
24   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
25 + Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif xrootd
26  
27 < Requires: gccxml gsl castor libjpg dcap pcre python
18 <
19 < %if "%{?online_release:set}" != "set"
20 < Requires: qt openssl mysql libpng zlib oracle libungif
21 < %else
22 < %define skiplibtiff true
23 < %endif
24 <
25 < %if "%cpu" == "amd64"
26 < %define skiplibtiff true
27 < %endif
28 <
29 < %if "%skiplibtiff" != "true"
27 > %if "%cpu" != "amd64"
28   Requires: libtiff
29   %endif
30  
# Line 38 | Line 36 | Requires: libtiff
36   %patch3 -p1
37   %patch4 -p0
38   %patch5 -p1
39 + %patch6 -p0
40 + %patch7 -p0
41 + %if "%cmsplatf" == "slc4_ia32_gcc412"
42 + %patch9 -p1
43 + %endif
44 + %patch10 -p1
45 + %patch11 -p1
46 + %patch12 -p0
47 + %patch13 -p0
48 +
49   %build
50   mkdir -p %i
51   export ROOTSYS=%_builddir/root
44
45 %if "%{?online_release:set}" != "set"
46 EXTRA_CONFIG_ARGS="
47 --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
48 --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
49 --with-ssl-incdir=${OPENSSL_ROOT}/include
50 --with-ssl-libdir=${OPENSSL_ROOT}/lib"
51 %else
52 ORACLE_ROOT="/opt/xdaq"
53 EXTRA_CONFIG_ARGS=" --enable-ssl"
54 %endif
55
52   CONFIG_ARGS="--enable-table
53               --disable-builtin-pcre
54               --disable-builtin-freetype
55               --disable-builtin-zlib
56               --with-gccxml=${GCCXML_ROOT}
57 <             --enable-python
58 <             --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
63 <             --enable-mysql
57 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
58 >             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
59               --enable-explicitlink
60               --enable-qtgsi
61 <             --enable-qt
61 >             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
62               --enable-mathcore
63               --enable-mathmore
64               --enable-reflex  
# Line 72 | Line 67 | CONFIG_ARGS="--enable-table
67               --enable-roofit
68               --disable-ldap
69               --disable-krb5
70 +             --with-ssl-incdir=${OPENSSL_ROOT}/include
71 +             --with-ssl-libdir=${OPENSSL_ROOT}/lib
72               --with-gsl-incdir=${GSL_ROOT}/include
73               --with-gsl-libdir=${GSL_ROOT}/lib
74               --with-dcap-libdir=${DCAP_ROOT}/lib
75               --with-dcap-incdir=${DCAP_ROOT}/include
76 +             --with-xrootd=$XROOTD_ROOT
77               --disable-pgsql
78 <             --disable-xml ${EXTRA_CONFIG_ARGS}"
78 >             --disable-xml"
79 >
80 > %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_amd64_gcc345"))
81 >  CONFIG_ARGS="$CONFIG_ARGS --disable-cern"
82 > %endif
83  
84   case $(uname)-$(uname -p) in
85    Linux-x86_64)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines