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.90 by elmer, Sat Jan 12 09:30:36 2008 UTC

# Line 1 | Line 1
1 < ### RPM lcg root 5.14.00g-CMS9
1 > ### RPM lcg root 5.17.08-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.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
11 > Patch4: root-5.17-08-TBufferFile
12 > Patch5: root-5.17-08-TClass
13  
14   %define cpu %(echo %cmsplatf | cut -d_ -f2)
15   %define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2)
16 + Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif xrootd
17  
18 < 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"
18 > %if "%cpu" != "amd64"
19   Requires: libtiff
20   %endif
21  
22   %prep
23   %setup -n root
24 < %patch -p0
25 < %patch1 -p2
26 < %patch2 -p2
24 > %patch0 -p1
25 > %patch1 -p1
26 > %patch2 -p1
27   %patch3 -p1
28 < %patch4 -p0
29 < %patch5 -p1
28 > %patch4 -p1
29 > %patch5 -p0
30 >
31   %build
32   mkdir -p %i
33   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
34   CONFIG_ARGS="--enable-table
35               --disable-builtin-pcre
36               --disable-builtin-freetype
37               --disable-builtin-zlib
38               --with-gccxml=${GCCXML_ROOT}
39 <             --enable-python
40 <             --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
63 <             --enable-mysql
39 >             --enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4
40 >             --enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include
41               --enable-explicitlink
42               --enable-qtgsi
43 <             --enable-qt
43 >             --enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include
44               --enable-mathcore
45               --enable-mathmore
46               --enable-reflex  
# Line 72 | Line 49 | CONFIG_ARGS="--enable-table
49               --enable-roofit
50               --disable-ldap
51               --disable-krb5
52 +             --with-ssl-incdir=${OPENSSL_ROOT}/include
53 +             --with-ssl-libdir=${OPENSSL_ROOT}/lib
54               --with-gsl-incdir=${GSL_ROOT}/include
55               --with-gsl-libdir=${GSL_ROOT}/lib
56               --with-dcap-libdir=${DCAP_ROOT}/lib
57               --with-dcap-incdir=${DCAP_ROOT}/include
58 +             --with-xrootd=$XROOTD_ROOT
59               --disable-pgsql
60 <             --disable-xml ${EXTRA_CONFIG_ARGS}"
60 >             --disable-xml"
61 >
62 > %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_ia32_gcc422")||("%cmsplatf" == "slc4_amd64_gcc345"))
63 >  CONFIG_ARGS="$CONFIG_ARGS --disable-cern"
64 > %endif
65  
66   case $(uname)-$(uname -p) in
67    Linux-x86_64)
# Line 119 | Line 103 | cat << \EOF_TOOLFILE >%i/etc/scram.d/roo
103   <info url="http://root.cern.ch/root/"></info>
104   <lib name=Cint>
105   <lib name=Core>
106 + <lib name=RIO>
107 + <lib name=Net>
108   <lib name=Tree>
109   <Client>
110   <Environment name=ROOTCORE_BASE default="%i"></Environment>
# Line 243 | Line 229 | cat << \EOF_TOOLFILE >%i/etc/scram.d/roo
229   <doc type=BuildSystem::ToolDoc version=1.0>
230   <Tool name=rootroofit version=%v>
231   <info url="http://root.cern.ch/root/"></info>
232 + <lib name=RooFitCore>
233   <lib name=RooFit>
234   <use name=ROOTMinuit>
235   <use name=ROOTHtml>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines