1 |
< |
### RPM lcg root 5.28.00d |
1 |
> |
### RPM lcg root 5.30.00-rc2 |
2 |
|
## INITENV +PATH PYTHONPATH %i/lib/python |
3 |
|
## INITENV SET ROOTSYS %i |
4 |
< |
#Source: cvs://:pserver:cvs@root.cern.ch:2401/user/cvs?passwd=Ah<Z&tag=-rv%(echo %realversion | tr . -)&module=root&output=/%{n}_v%{realversion}.source.tar.gz |
5 |
< |
Source: ftp://root.cern.ch/%n/%{n}_v%{realversion}.source.tar.gz |
6 |
< |
%define closingbrace ) |
7 |
< |
%define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo false;; esac) |
8 |
< |
%define ismac %(case %cmsplatf in osx*%closingbrace echo true;; *%closingbrace echo false;; esac) |
4 |
> |
#Source: ftp://root.cern.ch/%n/%{n}_v%{realversion}.source.tar.gz |
5 |
> |
%define svntag %(echo %realversion | tr . -) |
6 |
> |
Source: svn://root.cern.ch/svn/root/tags/v%{svntag}/?scheme=http&strategy=export&module=%n-%{realversion}&output=/%n-%{realversion}.tgz |
7 |
> |
%define online %(case %cmsplatf in (*onl_*_*) echo true;; (*) echo false;; esac) |
8 |
> |
%define ismac %(case %cmsplatf in (osx*) echo true;; (*) echo false;; esac) |
9 |
|
|
10 |
|
Patch0: root-5.28-00d-externals |
11 |
|
Patch1: root-5.28-00d-CINT-maxlongline-maxtypedef |
13 |
|
Patch3: root-5.28-00d-linker-gnu-hash-style |
14 |
|
Patch4: root-5.28-00d-TBranchElement-dropped-data-member |
15 |
|
Patch5: root-5.28-00d-r37582-tmva |
16 |
< |
Patch6: root-5.28-00d-TTreeCache-r37919 |
17 |
< |
Patch7: root-5.28-00d-r38248-r38259-r38264-r38265-r38267 |
18 |
< |
Patch8: root-5.28-00d-fireworks1 |
19 |
< |
Patch9: root-5.28-00d-r39155 |
20 |
< |
Patch10: root-5.28-00d-r39525 |
21 |
< |
Patch11: root-5.28-00d-r39657 |
16 |
> |
#Patch6: root-5.28-00d-TTreeCache-r37919 |
17 |
> |
#Patch7: root-5.28-00d-r38248-r38259-r38264-r38265-r38267 |
18 |
> |
#Patch8: root-5.28-00d-fireworks1 |
19 |
> |
#Patch9: root-5.28-00d-r39155 |
20 |
> |
#Patch10: root-5.28-00d-r39525 |
21 |
> |
#Patch11: root-5.28-00d-r39657 |
22 |
> |
#Patch12: root-5.28-00d-r39759 |
23 |
> |
Patch13: root-5.28-00d-fix-tsystem-load-macosx |
24 |
|
|
25 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
26 |
|
|
27 |
< |
Requires: gccxml gsl libjpg libpng libtiff libungif pcre python fftw3 |
27 |
> |
Requires: gccxml gsl libjpg libpng libtiff libungif pcre python fftw3 xz xrootd |
28 |
|
|
29 |
|
%if "%ismac" != "true" |
30 |
|
Requires: castor dcap |
31 |
|
%endif |
32 |
|
|
33 |
|
%if "%online" != "true" |
34 |
< |
Requires: openssl zlib xrootd |
34 |
> |
Requires: openssl zlib |
35 |
|
%endif |
36 |
|
|
37 |
|
%if "%ismac" == "true" |
39 |
|
%endif |
40 |
|
|
41 |
|
%prep |
42 |
< |
%setup -n root |
42 |
> |
%setup -n root-%realversion |
43 |
|
%patch0 -p1 |
44 |
|
%patch1 -p1 |
45 |
|
%patch2 -p1 |
46 |
|
# patch3 is OS version dependent, see below |
47 |
|
%patch4 -p1 |
48 |
|
%patch5 -p1 |
49 |
< |
%patch6 -p1 |
50 |
< |
%patch7 -p1 |
51 |
< |
%patch8 -p1 |
52 |
< |
%patch9 -p1 |
53 |
< |
%patch10 -p1 |
54 |
< |
%patch11 -p0 |
49 |
> |
# patch6 -p1 |
50 |
> |
# patch7 -p1 |
51 |
> |
# patch8 -p1 |
52 |
> |
# patch9 -p1 |
53 |
> |
# patch10 -p1 TRY AGAIN! |
54 |
> |
# patch11 -p0 |
55 |
> |
# patch12 -p2 |
56 |
> |
%patch13 -p1 |
57 |
|
|
58 |
|
# The following patch can only be applied on SLC5 or later (extra linker |
59 |
|
# options only available with the SLC5 binutils) |
96 |
|
--enable-mathmore |
97 |
|
--enable-reflex |
98 |
|
--enable-cintex |
99 |
< |
--enable-minuit2 |
99 |
> |
--enable-minuit2 |
100 |
> |
--enable-lzma |
101 |
> |
--with-lzma-incdir=${XZ_ROOT}/include |
102 |
> |
--with-lzma-libdir=${XZ_ROOT}/lib |
103 |
|
--enable-fftw3 |
104 |
|
--with-fftw3-incdir=${FFTW3_ROOT}/include |
105 |
|
--with-fftw3-libdir=${FFTW3_ROOT}/lib |