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 openssl-virtual |
5 |
> |
Requires: gccxml python qt gsl rfio openssl mysql libpng libjpg libtiff |
6 |
|
Patch0: root |
7 |
|
%prep |
8 |
|
%setup -n root |
14 |
|
CONFIG_ARGS="--enable-table |
15 |
|
--with-gccxml=${GCCXML_ROOT} |
16 |
|
--enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include |
17 |
+ |
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
18 |
|
--enable-explicitlink |
19 |
|
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
20 |
|
--enable-mathcore |
36 |
|
./configure linuxx8664gcc $CONFIG_ARGS;; |
37 |
|
Linux*) |
38 |
|
./configure linux $CONFIG_ARGS;; |
39 |
< |
Darwin) |
39 |
> |
Darwin*) |
40 |
|
./configure macosx $CONFIG_ARGS;; |
41 |
|
esac |
42 |
|
|
56 |
|
|
57 |
|
export ROOTSYS=%i/root |
58 |
|
make INSTALL="$cp" INSTALLDATA="$cp" install |
59 |
< |
mkdir -p %i/lib/python |
59 |
> |
mkdir -p %i/root/lib/python |
60 |
|
cp -r reflex/python/genreflex %i/root/lib/python |