1 |
< |
### RPM external geant4 8.2.p01-CMS8 |
1 |
> |
### RPM external geant4 9.1.p01 |
2 |
|
%define downloadv %(echo %v | cut -d- -f1) |
3 |
|
## INITENV SET G4NDL_PATH %i/data/G4NDL%{g4NDLVersion} |
4 |
|
## INITENV SET G4EMLOW_PATH %i/data/G4EMLOW%{g4EMLOWVersion} |
7 |
|
# Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi> |
8 |
|
Requires: clhep |
9 |
|
%define photonEvaporationVersion 2.0 |
10 |
< |
%define g4NDLVersion 3.9 |
10 |
> |
%define g4NDLVersion 3.11 |
11 |
|
%define g4ElasticScatteringVersion 1.1 |
12 |
< |
%define g4EMLOWVersion 4.0 |
13 |
< |
%define radiativeDecayVersion 3.0 |
12 |
> |
%define g4EMLOWVersion 4.3 |
13 |
> |
%define radiativeDecayVersion 3.2 |
14 |
|
Source0: http://geant4.cern.ch/support/source/%n.%downloadv.tar.gz |
15 |
|
Source1: http://geant4.cern.ch/support/source/G4NDL.%{g4NDLVersion}.tar.gz |
16 |
|
Source2: http://geant4.cern.ch/support/source/G4EMLOW.%{g4EMLOWVersion}.tar.gz |
17 |
|
Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz |
18 |
|
Source4: http://geant4.cern.ch/support/source/RadiativeDecay.%{radiativeDecayVersion}.tar.gz |
19 |
|
Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz |
20 |
< |
Patch: geant482-cms1 |
21 |
< |
Patch1: geant-4.8.2.p01-nobanner |
20 |
> |
|
21 |
> |
Patch: geant-4.8.2.p01-nobanner |
22 |
|
|
23 |
|
%prep |
24 |
|
%setup -n %n.%downloadv |
25 |
|
pwd |
26 |
< |
%patch0 -p0 |
27 |
< |
%patch1 -p1 |
26 |
> |
%patch0 -p1 |
27 |
|
|
28 |
|
%build |
29 |
|
if [ $(uname) = Darwin ]; then |
201 |
|
<lib name=G4vis_management> |
202 |
|
<lib name=G4volumes> |
203 |
|
<lib name=G4xrays> |
204 |
< |
<lib name=G4error> |
204 |
> |
<lib name=G4phys_lists> |
205 |
|
<lib name=G4phys_builders> |
206 |
|
<Client> |
207 |
|
<Environment name=GEANT4_BASE default="%i"></Environment> |