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.93 by elmer, Fri Jan 18 21:22:01 2008 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00g-CMS9
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
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
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"
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
38 < %patch3 -p1
39 < %patch4 -p0
40 < %patch5 -p1
20 > %patch0 -p1
21 > %patch1 -p1
22 >
23   %build
24   mkdir -p %i
25   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
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
63 <             --enable-mysql
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 72 | 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 119 | 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 243 | 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