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.78 by ratnik, Mon Nov 5 20:18:05 2007 UTC vs.
Revision 1.93 by elmer, Fri Jan 18 21:22:01 2008 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00g-CMS11
1 > ### RPM lcg root 5.18.00-CMS19
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
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 < Patch: root-CINT-maxlongline
8 < Patch1: root_libpng
9 < 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
7 > Patch0: root-5.18-00-libpng
8 > Patch1: root-5.18-00-CINT-maxlongline
9  
10   %define cpu %(echo %cmsplatf | cut -d_ -f2)
11   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
12 + Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif xrootd
13  
14 < Requires: gccxml gsl castor libjpg dcap pcre python
21 <
22 < %if "%{?online_release:set}" != "set"
23 < Requires: qt openssl mysql libpng zlib oracle libungif xrootd
24 < %else
25 < %define skiplibtiff true
26 < %endif
27 <
28 < %if "%cpu" == "amd64"
29 < %define skiplibtiff true
30 < %endif
31 <
32 < %if "%skiplibtiff" != "true"
14 > %if "%cpu" != "amd64"
15   Requires: libtiff
16   %endif
17  
18   %prep
19   %setup -n root
20 < %patch -p0
21 < %patch1 -p2
22 < %patch2 -p2
41 < %patch3 -p1
42 < %patch4 -p0
43 < %patch5 -p1
44 < %patch6 -p0
45 < %patch7 -p0
46 < %patch8 -p1
20 > %patch0 -p1
21 > %patch1 -p1
22 >
23   %build
24   mkdir -p %i
25   export ROOTSYS=%_builddir/root
50
51 %if "%{?online_release:set}" != "set"
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 --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 %else
59 ORACLE_ROOT="/opt/xdaq"
60 EXTRA_CONFIG_ARGS="--disable-mysql --enable-ssl"
61 %endif
62
26   CONFIG_ARGS="--enable-table
27               --disable-builtin-pcre
28               --disable-builtin-freetype
29               --disable-builtin-zlib
30               --with-gccxml=${GCCXML_ROOT}
31 <             --enable-python
32 <             --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
31 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
32 >             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
33               --enable-explicitlink
34               --enable-qtgsi
35 <             --enable-qt
35 >             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
36               --enable-mathcore
37               --enable-mathmore
38               --enable-reflex  
# Line 78 | Line 41 | CONFIG_ARGS="--enable-table
41               --enable-roofit
42               --disable-ldap
43               --disable-krb5
44 +             --with-ssl-incdir=${OPENSSL_ROOT}/include
45 +             --with-ssl-libdir=${OPENSSL_ROOT}/lib
46               --with-gsl-incdir=${GSL_ROOT}/include
47               --with-gsl-libdir=${GSL_ROOT}/lib
48               --with-dcap-libdir=${DCAP_ROOT}/lib
49               --with-dcap-incdir=${DCAP_ROOT}/include
50 +             --with-xrootd=$XROOTD_ROOT
51               --disable-pgsql
52 <             --disable-xml ${EXTRA_CONFIG_ARGS}"
52 >             --disable-xml"
53 >
54 > %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_ia32_gcc422")||("%cmsplatf" == "slc4_amd64_gcc345"))
55 >  CONFIG_ARGS="$CONFIG_ARGS --disable-cern"
56 > %endif
57  
58   case $(uname)-$(uname -p) in
59    Linux-x86_64)
# Line 125 | Line 95 | cat << \EOF_TOOLFILE >%i/etc/scram.d/roo
95   <info url="http://root.cern.ch/root/"></info>
96   <lib name=Cint>
97   <lib name=Core>
98 + <lib name=RIO>
99 + <lib name=Net>
100   <lib name=Tree>
101   <Client>
102   <Environment name=ROOTCORE_BASE default="%i"></Environment>
# Line 249 | Line 221 | cat << \EOF_TOOLFILE >%i/etc/scram.d/roo
221   <doc type=BuildSystem::ToolDoc version=1.0>
222   <Tool name=rootroofit version=%v>
223   <info url="http://root.cern.ch/root/"></info>
224 + <lib name=RooFitCore>
225   <lib name=RooFit>
226   <use name=ROOTMinuit>
227   <use name=ROOTHtml>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines