1 |
< |
### RPM lcg root 5.10.00c |
1 |
> |
### RPM lcg root 5.12.00 |
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 |
5 |
< |
Requires: gccxml python qt gsl rfio openssl mysql libpng libjpg libtiff |
6 |
< |
Patch0: root |
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 |
5 |
> |
Requires: gccxml python qt gsl castor openssl mysql libpng libjpg libtiff dcap pcre zlib |
6 |
|
%prep |
7 |
|
%setup -n root |
9 |
– |
%patch0 |
8 |
|
|
9 |
|
%build |
10 |
|
mkdir -p %i |
11 |
|
export ROOTSYS=%_builddir/root |
12 |
< |
CONFIG_ARGS="--enable-table |
12 |
> |
CONFIG_ARGS="--enable-table |
13 |
> |
--disable-builtin-pcre |
14 |
> |
--disable-builtin-freetype |
15 |
> |
--disable-builtin-zlib |
16 |
|
--with-gccxml=${GCCXML_ROOT} |
17 |
|
--enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include |
18 |
|
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
19 |
+ |
--with-dcap-libdir=${DCAP_ROOT}/lib |
20 |
+ |
--with-dcap-incdir=${DCAP_ROOT}/include |
21 |
|
--enable-explicitlink |
22 |
+ |
--enable-qtgsi |
23 |
|
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
24 |
|
--enable-mathcore |
25 |
+ |
--enable-mathmore |
26 |
|
--enable-reflex |
27 |
|
--enable-cintex |
28 |
|
--enable-minuit2 |
29 |
|
--enable-roofit |
30 |
|
--disable-ldap |
31 |
|
--disable-krb5 |
32 |
+ |
--with-dcap-libdir=${DCAP_ROOT}/lib |
33 |
+ |
--with-dcap-incdir=${DCAP_ROOT}/include |
34 |
|
--with-ssl-incdir=${OPENSSL_ROOT}/include |
35 |
|
--with-ssl-libdir=${OPENSSL_ROOT}/lib |
36 |
< |
--with-shift-incdir=${RFIO_ROOT}/include |
37 |
< |
--with-shift-libdir=${RFIO_ROOT}/lib |
36 |
> |
--with-shift-incdir=${CASTOR_ROOT}/include |
37 |
> |
--with-shift-libdir=${CASTOR_ROOT}/lib |
38 |
|
--disable-pgsql |
39 |
|
--disable-xml" |
40 |
|
|
48 |
|
esac |
49 |
|
|
50 |
|
make %makeprocesses |
51 |
< |
|
51 |
> |
make cintdlls |
52 |
|
%install |
53 |
|
# Override installers if we are using GNU fileutils cp. On OS X |
54 |
|
# ROOT's INSTALL is defined to "cp -pPR", which only works with |
61 |
|
cp="cp -pPR" |
62 |
|
fi |
63 |
|
|
64 |
< |
export ROOTSYS=%i/root |
64 |
> |
#export ROOTSYS=%i/root |
65 |
|
make INSTALL="$cp" INSTALLDATA="$cp" install |
66 |
|
mkdir -p %i/root/lib/python |
67 |
|
cp -r reflex/python/genreflex %i/root/lib/python |