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 |
|
|
19 |
|
%prep |
20 |
|
%setup -n %n.%v |
74 |
|
tar -cf - config source | tar -C %i -xf - |
75 |
|
make %makeprocesses -C $G4BASE all |
76 |
|
make %makeprocesses -C $G4BASE includes |
77 |
+ |
make %makeprocesses -C $G4BASE |
78 |
|
make %makeprocesses -C $G4BASE global |
79 |
+ |
make %makeprocesses -C $G4BASE |
80 |
|
|
81 |
|
%install |
82 |
|
mkdir -p %i/etc |
87 |
|
tar -C %i/data -zxvf %_sourcedir/G4EMLOW*.tar.gz |
88 |
|
tar -C %i/data -zxvf %_sourcedir/Photon*.tar.gz |
89 |
|
tar -C %i/data -zxvf %_sourcedir/Rad*.tar.gz |
90 |
+ |
mkdir -p %i/share |
91 |
+ |
cp -r %_sourcedir/physics_lists %i/share |