1 |
< |
### RPM lcg root 5.22.00 |
1 |
> |
### RPM lcg root 5.22.00a |
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 |
6 |
|
|
7 |
|
Patch0: root-5.18-00-libpng |
8 |
|
Patch1: root-5.21-04-CINT-maxlongline |
9 |
< |
Patch2: root-5.22-00-TClass-Clone |
10 |
< |
Patch3: root-5.22-00-gendict |
11 |
< |
Patch4: root-5.22-00-RootSys |
12 |
< |
Patch5: root-5.22-00-TMVA-shut-the-hell-up-for-once |
13 |
< |
Patch6: root-5.22-00-TBranchElement_initializeoffsets |
14 |
< |
Patch7: root-5.22-00-TBranchElement-pcanal |
9 |
> |
Patch2: root-5.22-00-TMVA-shut-the-hell-up-for-once |
10 |
|
|
11 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
12 |
|
%define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2) |
14 |
|
Requires: gccxml gsl castor libjpg dcap pcre python |
15 |
|
|
16 |
|
%if "%cmsplatf" != "slc4onl_ia32_gcc346" |
17 |
< |
Requires: qt openssl mysql libpng zlib libungif |
17 |
> |
Requires: qt openssl mysql libpng zlib libungif xrootd |
18 |
|
%else |
19 |
|
%define skiplibtiff true |
20 |
|
%endif |
32 |
|
%patch0 -p1 |
33 |
|
%patch1 -p1 |
34 |
|
%patch2 -p1 |
40 |
– |
%patch3 -p1 |
41 |
– |
%patch4 -p1 |
42 |
– |
%patch5 -p1 |
43 |
– |
%patch6 -p0 |
44 |
– |
%patch7 -p1 |
35 |
|
|
36 |
|
%build |
37 |
|
mkdir -p %i |
48 |
|
--enable-qt" |
49 |
|
%else |
50 |
|
EXTRA_CONFIG_ARGS=" |
51 |
+ |
--with-xrootd=$XROOTD_ROOT |
52 |
|
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
53 |
|
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
54 |
|
--with-ssl-incdir=${OPENSSL_ROOT}/include |
86 |
|
|
87 |
|
case $(uname)-$(uname -p) in |
88 |
|
Linux-x86_64) |
89 |
< |
./configure linuxx8664gcc $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift --disable-astiff --disable-cern;; |
89 |
> |
./configure linuxx8664gcc $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift --disable-astiff;; |
90 |
|
Linux-i*86) |
91 |
|
./configure linux $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift;; |
92 |
|
Darwin*) |