1 |
< |
### RPM external geant4 7.1 |
1 |
> |
### RPM external geant4 7.1p1cms |
2 |
|
## INITENV SET G4NDL_PATH %i/data/G4NDL%{g4NDLVersion} |
3 |
|
## INITENV SET G4EMLOW_PATH %i/data/G4EMLOW%{g4EMLOWVersion} |
4 |
< |
## INITENV SET PHOTON_EVAPORATION_PATH %i/data/PhotonEvaportation/%{photonEvaporationVersion} |
4 |
> |
## INITENV SET PHOTON_EVAPORATION_PATH %i/data/PhotonEvaportation%{photonEvaporationVersion} |
5 |
|
## INITENV SET RADIATIVE_DECAY_PATH %i/data/RadiativeDecay%{radiativeDecayVersion} |
6 |
|
# Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi> |
7 |
|
Requires: clhep |
14 |
|
Source2: http://geant4.cern.ch/support/source/G4EMLOW.%{g4EMLOWVersion}.tar.gz |
15 |
|
Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz |
16 |
|
Source4: http://geant4.cern.ch/support/source/RadiativeDecay.%{radiativeDecayVersion}.tar.gz |
17 |
+ |
Source5: http://geant4.web.cern.ch/geant4/physics_lists/geant4.6.1/lists/Packaging.tar |
18 |
+ |
Patch: geant4-g4e-and-g4tubs |
19 |
|
|
20 |
|
%prep |
21 |
|
%setup -n %n.%v |
22 |
|
%ifos darwin |
23 |
< |
#patch0 -p1 |
23 |
> |
patch0 -p7 |
24 |
|
#%patch1 |
25 |
|
%endif |
26 |
|
|
75 |
|
tar -cf - config source | tar -C %i -xf - |
76 |
|
make %makeprocesses -C $G4BASE all |
77 |
|
make %makeprocesses -C $G4BASE includes |
78 |
+ |
make %makeprocesses -C $G4BASE |
79 |
|
make %makeprocesses -C $G4BASE global |
80 |
+ |
make %makeprocesses -C $G4BASE |
81 |
|
|
82 |
|
%install |
83 |
|
mkdir -p %i/etc |
88 |
|
tar -C %i/data -zxvf %_sourcedir/G4EMLOW*.tar.gz |
89 |
|
tar -C %i/data -zxvf %_sourcedir/Photon*.tar.gz |
90 |
|
tar -C %i/data -zxvf %_sourcedir/Rad*.tar.gz |
91 |
+ |
mkdir -p %i/share |
92 |
+ |
cp -r physics_lists %i/share |