1 |
< |
### RPM lcg root 5.08.00 |
1 |
> |
### RPM lcg root 5.10.00 |
2 |
|
# 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 |
3 |
|
Source: ftp://root.cern.ch/%n/%{n}_v%{v}.source.tar.gz |
4 |
< |
|
4 |
> |
Requires: gccxml python qt gsl |
5 |
|
%prep |
6 |
|
%setup -n root |
7 |
|
|
8 |
|
%build |
9 |
|
mkdir -p %i |
10 |
|
export ROOTSYS=%i |
11 |
< |
case $(uname) in |
12 |
< |
Linux) |
13 |
< |
./configure linux ;; |
11 |
> |
CONFIG_ARGS="--enable-table |
12 |
> |
--with-gccxml=${GCCXML_ROOT} |
13 |
> |
--enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include |
14 |
> |
--enable-explicitlink |
15 |
> |
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
16 |
> |
--enable-mathcore |
17 |
> |
--enable-reflex |
18 |
> |
--enable-cintex |
19 |
> |
--enable-minuit2 |
20 |
> |
--enable-roofit" |
21 |
> |
|
22 |
> |
case $(uname)-$(uname -m) in |
23 |
> |
Linux-x86_64) |
24 |
> |
./configure linuxx8664gcc $CONFIG_ARGS;; |
25 |
> |
Linux*) |
26 |
> |
./configure linux $CONFIG_ARGS;; |
27 |
|
Darwin) |
28 |
< |
./configure macosx ;; |
28 |
> |
./configure macosx $CONFIG_ARGS;; |
29 |
|
esac |
30 |
< |
make |
30 |
> |
|
31 |
> |
make %makeprocesses |
32 |
|
|
33 |
|
%install |
34 |
|
# Override installers if we are using GNU fileutils cp. On OS X |