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.81 by elmer, Thu Nov 29 13:46:46 2007 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00g-CMS9
1 > ### RPM lcg root 5.14.00g-CMS18
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  
21   %define cpu %(echo %cmsplatf | cut -d_ -f2)
22   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
23 + Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif xrootd
24  
25 < 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"
25 > %if "%cpu" != "amd64"
26   Requires: libtiff
27   %endif
28  
# Line 38 | Line 34 | Requires: libtiff
34   %patch3 -p1
35   %patch4 -p0
36   %patch5 -p1
37 + %patch6 -p0
38 + %patch7 -p0
39 + %if "%cmsplatf" == "slc4_ia32_gcc412"
40 + %patch9 -p1
41 + %endif
42 + %patch10 -p1
43 + %patch11 -p1
44 +
45   %build
46   mkdir -p %i
47   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
48   CONFIG_ARGS="--enable-table
49               --disable-builtin-pcre
50               --disable-builtin-freetype
51               --disable-builtin-zlib
52               --with-gccxml=${GCCXML_ROOT}
53 <             --enable-python
54 <             --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
63 <             --enable-mysql
53 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
54 >             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
55               --enable-explicitlink
56               --enable-qtgsi
57 <             --enable-qt
57 >             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
58               --enable-mathcore
59               --enable-mathmore
60               --enable-reflex  
# Line 72 | Line 63 | CONFIG_ARGS="--enable-table
63               --enable-roofit
64               --disable-ldap
65               --disable-krb5
66 +             --with-ssl-incdir=${OPENSSL_ROOT}/include
67 +             --with-ssl-libdir=${OPENSSL_ROOT}/lib
68               --with-gsl-incdir=${GSL_ROOT}/include
69               --with-gsl-libdir=${GSL_ROOT}/lib
70               --with-dcap-libdir=${DCAP_ROOT}/lib
71               --with-dcap-incdir=${DCAP_ROOT}/include
72 +             --with-xrootd=$XROOTD_ROOT
73               --disable-pgsql
74 <             --disable-xml ${EXTRA_CONFIG_ARGS}"
74 >             --disable-xml"
75 >
76 > %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_amd64_gcc345"))
77 >  CONFIG_ARGS="$CONFIG_ARGS --disable-cern"
78 > %endif
79  
80   case $(uname)-$(uname -p) in
81    Linux-x86_64)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines