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-maxtypedef |
9 |
|
|
10 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
11 |
|
%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 |
12 |
|
|
13 |
< |
%if "%cpu" != "amd64" |
13 |
> |
Requires: gccxml gsl castor libjpg dcap pcre python |
14 |
> |
|
15 |
> |
%if "%{?online_release:set}" != "set" |
16 |
> |
Requires: qt openssl mysql libpng zlib oracle libungif xrootd |
17 |
> |
%else |
18 |
> |
%define skiplibtiff true |
19 |
> |
%endif |
20 |
> |
|
21 |
> |
%if "%cpu" == "amd64" |
22 |
> |
%define skiplibtiff true |
23 |
> |
%endif |
24 |
> |
|
25 |
> |
%if "%skiplibtiff" != "true" |
26 |
|
Requires: libtiff |
27 |
|
%endif |
28 |
|
|
29 |
|
%prep |
30 |
|
%setup -n root |
31 |
< |
%patch -p0 |
32 |
< |
%patch1 -p2 |
29 |
< |
%patch2 -p2 |
30 |
< |
%patch3 -p1 |
31 |
< |
%patch4 -p0 |
32 |
< |
%patch5 -p1 |
33 |
< |
%patch6 -p0 |
34 |
< |
%patch7 -p0 |
35 |
< |
%patch8 -p1 |
31 |
> |
%patch0 -p1 |
32 |
> |
%patch1 -p1 |
33 |
|
|
34 |
|
%build |
35 |
|
mkdir -p %i |
36 |
|
export ROOTSYS=%_builddir/root |
37 |
+ |
|
38 |
+ |
%if "%{?online_release:set}" == "set" |
39 |
+ |
# Use oracle from xdaq installation: |
40 |
+ |
ORACLE_ROOT="/opt/xdaq" |
41 |
+ |
# Build without mysql, and use system qt and openssl: |
42 |
+ |
EXTRA_CONFIG_ARGS=" |
43 |
+ |
--disable-mysql |
44 |
+ |
--enable-qt |
45 |
+ |
--enable-ssl" |
46 |
+ |
# Also skip xrootd option for online case. |
47 |
+ |
%else |
48 |
+ |
EXTRA_CONFIG_ARGS=" |
49 |
+ |
--with-xrootd=$XROOTD_ROOT |
50 |
+ |
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
51 |
+ |
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
52 |
+ |
--with-ssl-incdir=${OPENSSL_ROOT}/include |
53 |
+ |
--with-ssl-libdir=${OPENSSL_ROOT}/lib" |
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 |
46 |
– |
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
62 |
|
--enable-explicitlink |
63 |
|
--enable-qtgsi |
49 |
– |
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
64 |
|
--enable-mathcore |
65 |
|
--enable-mathmore |
66 |
|
--enable-reflex |
69 |
|
--enable-roofit |
70 |
|
--disable-ldap |
71 |
|
--disable-krb5 |
58 |
– |
--with-ssl-incdir=${OPENSSL_ROOT}/include |
59 |
– |
--with-ssl-libdir=${OPENSSL_ROOT}/lib |
72 |
|
--with-gsl-incdir=${GSL_ROOT}/include |
73 |
|
--with-gsl-libdir=${GSL_ROOT}/lib |
74 |
|
--with-dcap-libdir=${DCAP_ROOT}/lib |
75 |
|
--with-dcap-incdir=${DCAP_ROOT}/include |
64 |
– |
--with-xrootd=$XROOTD_ROOT |
76 |
|
--disable-pgsql |
77 |
< |
--disable-xml" |
77 |
> |
--disable-xml ${EXTRA_CONFIG_ARGS}" |
78 |
> |
|
79 |
> |
%if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_ia32_gcc422")||("%cmsplatf" == "slc4_amd64_gcc345")) |
80 |
> |
CONFIG_ARGS="$CONFIG_ARGS --disable-cern" |
81 |
> |
%endif |
82 |
|
|
83 |
|
case $(uname)-$(uname -p) in |
84 |
|
Linux-x86_64) |
120 |
|
<info url="http://root.cern.ch/root/"></info> |
121 |
|
<lib name=Cint> |
122 |
|
<lib name=Core> |
123 |
+ |
<lib name=RIO> |
124 |
+ |
<lib name=Net> |
125 |
|
<lib name=Tree> |
126 |
|
<Client> |
127 |
|
<Environment name=ROOTCORE_BASE default="%i"></Environment> |
246 |
|
<doc type=BuildSystem::ToolDoc version=1.0> |
247 |
|
<Tool name=rootroofit version=%v> |
248 |
|
<info url="http://root.cern.ch/root/"></info> |
249 |
+ |
<lib name=RooFitCore> |
250 |
|
<lib name=RooFit> |
251 |
|
<use name=ROOTMinuit> |
252 |
|
<use name=ROOTHtml> |