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 |
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 |
> |
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
6 |
> |
Requires: gccxml python qt gsl castor openssl mysql libpng libjpg dcap pcre zlib oracle |
7 |
> |
|
8 |
> |
%if "%cpu" != "amd64" |
9 |
> |
Requires: libtiff |
10 |
> |
%endif |
11 |
> |
|
12 |
> |
Patch: root-cint-bug |
13 |
|
%prep |
14 |
|
%setup -n root |
9 |
– |
%patch0 |
10 |
– |
|
15 |
|
%build |
16 |
|
mkdir -p %i |
17 |
< |
export ROOTSYS=%i |
17 |
> |
export ROOTSYS=%_builddir/root |
18 |
|
CONFIG_ARGS="--enable-table |
19 |
+ |
--disable-builtin-pcre |
20 |
+ |
--disable-builtin-freetype |
21 |
+ |
--disable-builtin-zlib |
22 |
|
--with-gccxml=${GCCXML_ROOT} |
23 |
|
--enable-python --with-python-libdir=${PYTHON_ROOT}/lib --with-python-incdir=${PYTHON_ROOT}/include |
24 |
+ |
--enable-mysql --with-mysql-libdir=${MYSQL_ROOT}/lib --with-mysql-incdir=${MYSQL_ROOT}/include |
25 |
+ |
--enable-oracle --with-oracle-libdir=${ORACLE_ROOT}/lib --with-oracle-incdir=${ORACLE_ROOT}/include |
26 |
|
--enable-explicitlink |
27 |
+ |
--enable-qtgsi |
28 |
|
--enable-qt --with-qt-libdir=${QT_ROOT}/lib --with-qt-incdir=${QT_ROOT}/include |
29 |
|
--enable-mathcore |
30 |
+ |
--enable-mathmore |
31 |
|
--enable-reflex |
32 |
|
--enable-cintex |
33 |
|
--enable-minuit2 |
34 |
|
--enable-roofit |
35 |
|
--disable-ldap |
36 |
|
--disable-krb5 |
37 |
+ |
--with-dcap-libdir=${DCAP_ROOT}/lib |
38 |
+ |
--with-dcap-incdir=${DCAP_ROOT}/include |
39 |
|
--with-ssl-incdir=${OPENSSL_ROOT}/include |
40 |
|
--with-ssl-libdir=${OPENSSL_ROOT}/lib |
41 |
< |
--with-shift-incdir=${RFIO_ROOT}/include |
42 |
< |
--with-shift-libdir=${RFIO_ROOT}/lib |
41 |
> |
--with-shift-incdir=${CASTOR_ROOT}/include/shift |
42 |
> |
--with-shift-libdir=${CASTOR_ROOT}/lib |
43 |
|
--disable-pgsql |
44 |
|
--disable-xml" |
45 |
|
|
46 |
|
case $(uname)-$(uname -m) in |
47 |
|
Linux-x86_64) |
48 |
< |
./configure linuxx8664gcc $CONFIG_ARGS;; |
48 |
> |
./configure linuxx8664gcc $CONFIG_ARGS --disable-astiff;; |
49 |
|
Linux*) |
50 |
|
./configure linux $CONFIG_ARGS;; |
51 |
|
Darwin*) |
52 |
|
./configure macosx $CONFIG_ARGS;; |
53 |
|
esac |
54 |
|
|
55 |
< |
make %makeprocesses |
56 |
< |
|
55 |
> |
make |
56 |
> |
make cintdlls |
57 |
|
%install |
58 |
|
# Override installers if we are using GNU fileutils cp. On OS X |
59 |
|
# ROOT's INSTALL is defined to "cp -pPR", which only works with |