ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/geant4.spec
(Generate patch)

Comparing COMP/CMSDIST/geant4.spec (file contents):
Revision 1.69 by ratnik, Tue Jan 8 20:41:52 2008 UTC vs.
Revision 1.78 by dlange, Sat Apr 19 06:58:37 2008 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1-dbg-global
1 > ### RPM external geant4 9.1.p01-CMS1
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
# Line 17 | Line 16 | Source3: http://geant4.cern.ch/support/s
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 > Patch1: geant4-9.1-hadel
21  
22   %prep
23   %setup -n %n.%downloadv
24   pwd
25 <
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
30 <
25 > %patch0 -p1
26 > %patch1 -p0
27 >
28   %build
29   if [ $(uname) = Darwin ]; then
30    export MACOSX_DEPLOYMENT_TARGET="10.4"
# Line 92 | Line 89 | source G4BuildConf.sh
89   mkdir -p %i
90   tar -cf - config source | tar -C %i -xf -
91  
92 < make %makeprocesses -C $G4BASE global
93 < make %makeprocesses -C $G4BASE includes
92 > make  -C $G4BASE global
93 > make  -C $G4BASE includes
94  
95   %install
96   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
# Line 155 | Line 152 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
152   <use name=clhep>
153   <Flags CPPDEFINES="G4USE_STD_NAMESPACE GNU_GCC G4V9">
154   <Runtime name=G4LEVELGAMMADATA value="$GEANT4_BASE/data/PhotonEvaporation2.0" type=path>
155 < <Runtime name=NeutronHPCrossSections value="$GEANT4_BASE/data/G4NDL3.11" type=path>
155 > <Runtime name=G4NEUTRONHPDATA value="$GEANT4_BASE/data/G4NDL3.12" type=path>
156   <Runtime name=G4RADIOACTIVEDATA value="$GEANT4_BASE/data/RadioactiveDecay3.2" type=path>
157   <Runtime name=G4LEDATA value="$GEANT4_BASE/data/G4EMLOW5.1" type=path>
158   </Tool>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines