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.88 by elmer, Tue Jan 8 21:37:32 2008 UTC vs.
Revision 1.106 by ratnik, Fri Mar 7 23:44:06 2008 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.17.08-CMS19
1 > ### RPM lcg root 5.18.00a
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
5   Source: ftp://root.cern.ch/%n/%{n}_v%{realversion}.source.tar.gz
6  
7 < Patch0: root-5.17-08-Cintex
8 < Patch1: root-5.17-08-libpng
9 < Patch2: root-5.17-08-CINT-maxlongline
10 < Patch3: root-5.17-08-cint-loadfile
7 > Patch0: root-5.18-00-libpng
8 > Patch1: root-5.18-00a-CINT-maxlongline
9 > Patch2: root_5.18-00-CINTFunctional
10 > Patch3: root-5.18-00a-TBufferXML
11  
12   %define cpu %(echo %cmsplatf | cut -d_ -f2)
13   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
14 Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif xrootd
14  
15 < %if "%cpu" != "amd64"
15 > Requires: gccxml gsl castor libjpg dcap pcre python
16 >
17 > %if "%{?online_release:set}" != "set"
18 > Requires: qt openssl mysql libpng zlib oracle libungif xrootd
19 > %else
20 > %define skiplibtiff true
21 > %endif
22 >
23 > %if "%cpu" == "amd64"
24 > %define skiplibtiff true
25 > %endif
26 >
27 > %if "%skiplibtiff" != "true"
28   Requires: libtiff
29   %endif
30  
# Line 21 | Line 32 | Requires: libtiff
32   %setup -n root
33   %patch0 -p1
34   %patch1 -p1
35 < %patch2 -p1
35 > %patch2 -p0
36   %patch3 -p1
37  
38   %build
39   mkdir -p %i
40   export ROOTSYS=%_builddir/root
41 +
42 + %if "%{?online_release:set}" == "set"
43 + # Use oracle from xdaq installation:
44 + ORACLE_ROOT="/opt/xdaq"
45 + # Build without mysql, and use system qt and openssl:
46 + EXTRA_CONFIG_ARGS="
47 +             --disable-mysql
48 +             --enable-qt
49 +             --enable-ssl"
50 + # Also skip xrootd option for online case.
51 + %else
52 + EXTRA_CONFIG_ARGS="
53 +             --with-xrootd=$XROOTD_ROOT
54 +             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
55 +             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
56 +             --with-ssl-incdir=${OPENSSL_ROOT}/include
57 +             --with-ssl-libdir=${OPENSSL_ROOT}/lib"
58 + %endif
59 +
60   CONFIG_ARGS="--enable-table
61               --disable-builtin-pcre
62               --disable-builtin-freetype
63               --disable-builtin-zlib
64               --with-gccxml=${GCCXML_ROOT}
65               --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
36             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
66               --enable-explicitlink
67               --enable-qtgsi
39             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
68               --enable-mathcore
69               --enable-mathmore
70               --enable-reflex  
# Line 45 | Line 73 | CONFIG_ARGS="--enable-table
73               --enable-roofit
74               --disable-ldap
75               --disable-krb5
48             --with-ssl-incdir=${OPENSSL_ROOT}/include
49             --with-ssl-libdir=${OPENSSL_ROOT}/lib
76               --with-gsl-incdir=${GSL_ROOT}/include
77               --with-gsl-libdir=${GSL_ROOT}/lib
78               --with-dcap-libdir=${DCAP_ROOT}/lib
79               --with-dcap-incdir=${DCAP_ROOT}/include
54             --with-xrootd=$XROOTD_ROOT
80               --disable-pgsql
81 <             --disable-xml"
81 >             --disable-xml ${EXTRA_CONFIG_ARGS}"
82  
83   %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_ia32_gcc422")||("%cmsplatf" == "slc4_amd64_gcc345"))
84    CONFIG_ARGS="$CONFIG_ARGS --disable-cern"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines