1 |
< |
### RPM external geant4 9.1-dbg-global |
1 |
> |
### RPM external geant4 9.1.p01-CMS19 |
2 |
|
%define downloadv %(echo %v | cut -d- -f1) |
3 |
< |
# Special distribution for local validation at FNAL: see comments below. |
4 |
< |
Provides: /bin/awk |
3 |
> |
|
4 |
|
Requires: clhep |
5 |
|
|
6 |
|
%define photonEvaporationVersion 2.0 |
16 |
|
Source4: http://geant4.cern.ch/support/source/G4RadioactiveDecay.%{radioactiveDecayVersion}.tar.gz |
17 |
|
Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz |
18 |
|
|
19 |
< |
#Patch: geant-4.8.2.p01-nobanner |
19 |
> |
Patch: geant-4.8.2.p01-nobanner |
20 |
|
|
21 |
|
%prep |
22 |
|
%setup -n %n.%downloadv |
23 |
|
pwd |
24 |
< |
|
26 |
< |
# ONLY for Fermilab tests ! |
27 |
< |
# Add -g option to keep debug symbols: |
28 |
< |
cp -p config/sys/Linux-g++.gmk config/sys/Linux-g++.gmk.orig |
29 |
< |
perl -i -p -e '{s| -O2| -O2 -g|}' config/sys/Linux-g++.gmk |
24 |
> |
%patch0 -p1 |
25 |
|
|
26 |
|
%build |
27 |
|
if [ $(uname) = Darwin ]; then |
150 |
|
<use name=clhep> |
151 |
|
<Flags CPPDEFINES="G4USE_STD_NAMESPACE GNU_GCC G4V9"> |
152 |
|
<Runtime name=G4LEVELGAMMADATA value="$GEANT4_BASE/data/PhotonEvaporation2.0" type=path> |
153 |
< |
<Runtime name=NeutronHPCrossSections value="$GEANT4_BASE/data/G4NDL3.11" type=path> |
153 |
> |
<Runtime name=G4NEUTRONHPDATA value="$GEANT4_BASE/data/G4NDL3.12" type=path> |
154 |
|
<Runtime name=G4RADIOACTIVEDATA value="$GEANT4_BASE/data/RadioactiveDecay3.2" type=path> |
155 |
|
<Runtime name=G4LEDATA value="$GEANT4_BASE/data/G4EMLOW5.1" type=path> |
156 |
|
</Tool> |