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.80 by elmer, Tue Nov 20 21:41:17 2007 UTC vs.
Revision 1.105 by ratnik, Fri Mar 7 23:43:18 2008 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00g-CMS18
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 16 | Line 16 | Patch7: root_CallFunc
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)
22 Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif xrootd
25  
26 < %if "%cpu" != "amd64"
26 > Requires: gccxml
27 > Requires: python
28 > Requires: gsl
29 > Requires: castor
30 > Requires: libjpg
31 > Requires: dcap
32 > Requires: pcre
33 >
34 > %if "%{?online_release:set}" != "set"
35 > Requires: qt
36 > Requires: openssl
37 > Requires: mysql
38 > Requires: libpng
39 > Requires: zlib
40 > Requires: oracle
41 > Requires: libungif
42 > Requires: xrootd
43 > %else
44 > %define skiplibtiff true
45 > %endif
46 >
47 > %if "%cpu" == "amd64"
48 > %define skiplibtiff true
49 > %endif
50 >
51 > %if "%skiplibtiff" != "true"
52   Requires: libtiff
53   %endif
54  
# Line 39 | Line 66 | Requires: libtiff
66   %patch9 -p1
67   %endif
68   %patch10 -p1
69 + %patch11 -p1
70 + %patch12 -p0
71 + %patch13 -p0
72  
73   %build
74   mkdir -p %i
75   export ROOTSYS=%_builddir/root
76 +
77 +
78 + %if "%{?online_release:set}" == "set"
79 + # Use oracle from xdaq installation:
80 + ORACLE_ROOT="/opt/xdaq"
81 + # Build without mysql, and use system qt and openssl.
82 + # Also skip xrootd for online case:
83 + EXTRA_CONFIG_ARGS="
84 +             --disable-mysql
85 +             --disable-xrootd
86 +             --disable-odbc
87 +             --enable-qt"
88 + %else
89 + EXTRA_CONFIG_ARGS="
90 +   --with-xrootd=$XROOTD_ROOT
91 +   --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
92 +   --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
93 +   --with-ssl-incdir=${OPENSSL_ROOT}/include
94 +   --with-ssl-libdir=${OPENSSL_ROOT}/lib"
95 + %endif
96 +
97   CONFIG_ARGS="--enable-table
98               --disable-builtin-pcre
99               --disable-builtin-freetype
100               --disable-builtin-zlib
101               --with-gccxml=${GCCXML_ROOT}
102               --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
52             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
103               --enable-explicitlink
104               --enable-qtgsi
55             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
105               --enable-mathcore
106               --enable-mathmore
107               --enable-reflex  
# Line 61 | Line 110 | CONFIG_ARGS="--enable-table
110               --enable-roofit
111               --disable-ldap
112               --disable-krb5
64             --with-ssl-incdir=${OPENSSL_ROOT}/include
65             --with-ssl-libdir=${OPENSSL_ROOT}/lib
113               --with-gsl-incdir=${GSL_ROOT}/include
114               --with-gsl-libdir=${GSL_ROOT}/lib
115               --with-dcap-libdir=${DCAP_ROOT}/lib
116               --with-dcap-incdir=${DCAP_ROOT}/include
70             --with-xrootd=$XROOTD_ROOT
117               --disable-pgsql
118 <             --disable-xml"
118 >             --disable-xml ${EXTRA_CONFIG_ARGS}"
119  
120   %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_amd64_gcc345"))
121    CONFIG_ARGS="$CONFIG_ARGS --disable-cern"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines