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