1 |
< |
### RPM lcg root 5.12.00 |
1 |
> |
### RPM lcg root 5.13.04e |
2 |
|
# INITENV +PATH PYTHONPATH %i/lib/python |
3 |
< |
Source: cvs://:pserver:cvs@root.cern.ch:2401/user/cvs?passwd=Ah<Z&tag=-rv%(echo %v | tr . -)&module=root&output=/%{n}_v%{v}.source.tar.gz |
4 |
< |
#Source: ftp://root.cern.ch/%n/%{n}_v%{v}.source.tar.gz |
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 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
7 |
|
%define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2) |
8 |
|
Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle |
11 |
|
Requires: libtiff |
12 |
|
%endif |
13 |
|
|
13 |
– |
Patch: root-cint-bug |
14 |
|
%prep |
15 |
|
%setup -n root |
16 |
|
%build |
21 |
|
--disable-builtin-freetype |
22 |
|
--disable-builtin-zlib |
23 |
|
--with-gccxml=${GCCXML_ROOT} |
24 |
< |
--enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python%{pythonv} |
24 |
> |
--enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include/python2.4 |
25 |
|
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
26 |
|
--enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include |
27 |
|
--enable-explicitlink |
41 |
|
--with-ssl-libdir=${OPENSSL_ROOT}/lib |
42 |
|
--with-shift-incdir=${CASTOR_ROOT}/include/shift |
43 |
|
--with-shift-libdir=${CASTOR_ROOT}/lib |
44 |
+ |
--with-gsl-incdir=${GSL_ROOT}/include |
45 |
+ |
--with-gsl-libdir=${GSL_ROOT}/lib |
46 |
|
--disable-pgsql |
47 |
|
--disable-xml" |
48 |
|
|
73 |
|
make INSTALL="$cp" INSTALLDATA="$cp" install |
74 |
|
mkdir -p %i/root/lib/python |
75 |
|
cp -r reflex/python/genreflex %i/root/lib/python |
76 |
+ |
# |