1 |
< |
### RPM lcg root 5.13.04a |
1 |
> |
### RPM lcg root 5.14.00c-pCMS1 |
2 |
|
# INITENV +PATH PYTHONPATH %i/lib/python |
3 |
|
%define realVersion %(echo %v | cut -d- -f1) |
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-maxtypedef |
8 |
+ |
|
9 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
10 |
|
%define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2) |
11 |
< |
Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcache-client pcre zlib oracle |
11 |
> |
Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle libungif |
12 |
|
|
13 |
|
%if "%cpu" != "amd64" |
14 |
|
Requires: libtiff |
15 |
|
%endif |
16 |
|
|
14 |
– |
Patch: root-cint-bug |
17 |
|
%prep |
18 |
|
%setup -n root |
19 |
+ |
%patch -p0 |
20 |
+ |
|
21 |
|
%build |
22 |
|
mkdir -p %i |
23 |
|
export ROOTSYS=%_builddir/root |
40 |
|
--enable-roofit |
41 |
|
--disable-ldap |
42 |
|
--disable-krb5 |
43 |
< |
--with-dcap-libdir=${DCACHE_CLIENT_ROOT}/lib |
44 |
< |
--with-dcap-incdir=${DCACHE_CLIENT_ROOT}/include |
43 |
> |
--with-dcap-libdir=${DCAP_ROOT}/lib |
44 |
> |
--with-dcap-incdir=${DCAP_ROOT}/include |
45 |
|
--with-ssl-incdir=${OPENSSL_ROOT}/include |
46 |
|
--with-ssl-libdir=${OPENSSL_ROOT}/lib |
47 |
|
--with-shift-incdir=${CASTOR_ROOT}/include/shift |