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.73 by dlange, Mon Oct 15 12:31:04 2007 UTC vs.
Revision 1.75 by ratnik, Tue Oct 16 08:38:00 2007 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00g-CMS11
1 > ### RPM lcg root 5.14.00g-CMS9
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 Patch8: root-proofd
13  
14   %define cpu %(echo %cmsplatf | cut -d_ -f2)
15   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
19 Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif xrootd
16  
17 < %if "%cpu" != "amd64"
17 > 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"
30   Requires: libtiff
31   %endif
32  
# Line 30 | Line 38 | Requires: libtiff
38   %patch3 -p1
39   %patch4 -p0
40   %patch5 -p1
33 %patch6 -p0
34 %patch7 -p0
35 %patch8 -p1
36
41   %build
42   mkdir -p %i
43   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 +
56   CONFIG_ARGS="--enable-table
57               --disable-builtin-pcre
58               --disable-builtin-freetype
59               --disable-builtin-zlib
60               --with-gccxml=${GCCXML_ROOT}
61 <             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
62 <             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
61 >             --enable-python
62 >             --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
63 >             --enable-mysql
64               --enable-explicitlink
65               --enable-qtgsi
66 <             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
66 >             --enable-qt
67               --enable-mathcore
68               --enable-mathmore
69               --enable-reflex  
# Line 55 | Line 72 | CONFIG_ARGS="--enable-table
72               --enable-roofit
73               --disable-ldap
74               --disable-krb5
58             --with-ssl-incdir=${OPENSSL_ROOT}/include
59             --with-ssl-libdir=${OPENSSL_ROOT}/lib
75               --with-gsl-incdir=${GSL_ROOT}/include
76               --with-gsl-libdir=${GSL_ROOT}/lib
77               --with-dcap-libdir=${DCAP_ROOT}/lib
78               --with-dcap-incdir=${DCAP_ROOT}/include
64             --with-xrootd=$XROOTD_ROOT
79               --disable-pgsql
80 <             --disable-xml"
80 >             --disable-xml ${EXTRA_CONFIG_ARGS}"
81  
82   case $(uname)-$(uname -p) in
83    Linux-x86_64)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines