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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines