1 |
< |
### RPM external geant4 8.1-p2cms |
1 |
> |
### RPM external geant4 8.2-cms1 |
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} |
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: geant48-pCMS2 |
21 |
< |
|
20 |
> |
Patch: geant482-cms1 |
21 |
|
%prep |
22 |
|
%setup -n %n.%downloadv |
23 |
|
pwd |
80 |
|
make %makeprocesses -C $G4BASE |
81 |
|
make %makeprocesses -C $G4BASE global |
82 |
|
make %makeprocesses -C $G4BASE |
84 |
– |
make %makeprocesses -C $G4BASE/particle_lists/hadronic/Packaging |
83 |
|
|
84 |
|
%install |
85 |
|
mkdir -p %i/etc |
93 |
|
tar -C %i/data -zxvf %_sourcedir/G4EMLOW*.tar.gz |
94 |
|
tar -C %i/data -zxvf %_sourcedir/Photon*.tar.gz |
95 |
|
tar -C %i/data -zxvf %_sourcedir/Rad*.tar.gz |
96 |
< |
mkdir -p %i/share |
99 |
< |
cp -r physics_lists %i/share |
96 |
> |
# |