1 |
< |
### RPM lcg root 5.14.00g-CMS9 |
1 |
> |
### RPM lcg root 5.14.00g-CMS11 |
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 |
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 |
16 |
|
|
17 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
18 |
|
%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 |
19 |
|
|
20 |
< |
%if "%cpu" != "amd64" |
20 |
> |
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" |
33 |
|
Requires: libtiff |
34 |
|
%endif |
35 |
|
|
41 |
|
%patch3 -p1 |
42 |
|
%patch4 -p0 |
43 |
|
%patch5 -p1 |
44 |
+ |
%patch6 -p0 |
45 |
+ |
%patch7 -p0 |
46 |
+ |
%patch8 -p1 |
47 |
|
%build |
48 |
|
mkdir -p %i |
49 |
|
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 |
+ |
|
63 |
|
CONFIG_ARGS="--enable-table |
64 |
|
--disable-builtin-pcre |
65 |
|
--disable-builtin-freetype |
66 |
|
--disable-builtin-zlib |
67 |
|
--with-gccxml=${GCCXML_ROOT} |
68 |
< |
--enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4 |
69 |
< |
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
68 |
> |
--enable-python |
69 |
> |
--with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4 |
70 |
|
--enable-explicitlink |
71 |
|
--enable-qtgsi |
72 |
< |
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
72 |
> |
--enable-qt |
73 |
|
--enable-mathcore |
74 |
|
--enable-mathmore |
75 |
|
--enable-reflex |
78 |
|
--enable-roofit |
79 |
|
--disable-ldap |
80 |
|
--disable-krb5 |
51 |
– |
--with-ssl-incdir=${OPENSSL_ROOT}/include |
52 |
– |
--with-ssl-libdir=${OPENSSL_ROOT}/lib |
81 |
|
--with-gsl-incdir=${GSL_ROOT}/include |
82 |
|
--with-gsl-libdir=${GSL_ROOT}/lib |
83 |
|
--with-dcap-libdir=${DCAP_ROOT}/lib |
84 |
|
--with-dcap-incdir=${DCAP_ROOT}/include |
85 |
|
--disable-pgsql |
86 |
< |
--disable-xml" |
86 |
> |
--disable-xml ${EXTRA_CONFIG_ARGS}" |
87 |
|
|
88 |
|
case $(uname)-$(uname -p) in |
89 |
|
Linux-x86_64) |