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.62 by elmer, Sun Dec 9 06:38:43 2007 UTC vs.
Revision 1.73 by ratnik, Tue Feb 5 21:40:04 2008 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1.cand03-CMS18
1 > ### RPM external geant4 9.1.p01-dbg-global
2   %define downloadv %(echo %v | cut -d- -f1)
3 < # Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi>  
3 > # Special distribution for local validation at FNAL: see comments below.
4   Provides: /bin/awk
5   Requires: clhep
6  
7   %define photonEvaporationVersion 2.0
8 <
9 < # FIXME: g4NDLVersion 3.12 must be used, but tarball for it
10 < #        is not available yet, so we take 3.11 . NR 2007/12/06
11 <
12 < %define g4NDLVersion 3.11
8 > %define g4NDLVersion 3.12
9   %define g4ElasticScatteringVersion 1.1
10   %define g4EMLOWVersion 5.1
11   %define radioactiveDecayVersion 3.2
12  
13 < #Source0: http://geant4.cern.ch/support/source/%n.%downloadv.tar.gz
18 <
19 < Source0: cvs://:kserver:ratnik@geant4.cvs.cern.ch:/cvs/Geant4?tag=-rgeant4-09-01-cand-03&module=geant4&output=/%n.%downloadv.tar.gz
13 > Source0: http://geant4.cern.ch/support/source/%n.%downloadv.tar.gz
14   Source1: http://geant4.cern.ch/support/source/G4NDL.%{g4NDLVersion}.tar.gz
15   Source2: http://geant4.cern.ch/support/source/G4EMLOW.%{g4EMLOWVersion}.tar.gz
16   Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz
17   Source4: http://geant4.cern.ch/support/source/G4RadioactiveDecay.%{radioactiveDecayVersion}.tar.gz
18   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
19  
20 < #Patch: geant-4.8.2.p01-nobanner
27 < Patch1: geant4.9.1.cand03-debug-on
20 > Patch: geant-4.8.2.p01-nobanner
21  
22   %prep
23 < %setup -n %n
23 > %setup -n %n.%downloadv
24   pwd
25 < #%patch0 -p1
26 < %patch1 -p1
25 >
26 > %patch0 -p1
27 >
28 > # ONLY for Fermilab tests !
29 > # Add -g option to keep debug symbols:
30 > cp -p config/sys/Linux-g++.gmk config/sys/Linux-g++.gmk.orig
31 > perl -i -p -e '{s| -O2| -O2 -g|}' config/sys/Linux-g++.gmk
32  
33   %build
34   if [ $(uname) = Darwin ]; then
# Line 58 | Line 56 | echo "export G4LEDATA=%i/data/G4EMLOW%{g
56  
57   # From Gabriele Cosmo: The variable name 'NeutronHPCrossSections' is replaced by
58   # 'G4NEUTRONHPDATA' starting from version 9.0.
59 < echo "export NeutronHPCrossSections=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
59 > #echo "export NeutronHPCrossSections=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
60 > echo "export G4NEUTRONHPDATA=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
61 >
62  
63   # export G4LIB_BUILD_STATIC=1
64   # FIXME: For OS X? export G4NO_OPTIMISE=1 // unset G4OPTIMISE
# Line 157 | Line 157 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
157   <use name=clhep>
158   <Flags CPPDEFINES="G4USE_STD_NAMESPACE GNU_GCC G4V9">
159   <Runtime name=G4LEVELGAMMADATA value="$GEANT4_BASE/data/PhotonEvaporation2.0" type=path>
160 < <Runtime name=NeutronHPCrossSections value="$GEANT4_BASE/data/G4NDL3.11" type=path>
160 > <Runtime name=G4NEUTRONHPDATA value="$GEANT4_BASE/data/G4NDL3.12" type=path>
161   <Runtime name=G4RADIOACTIVEDATA value="$GEANT4_BASE/data/RadioactiveDecay3.2" type=path>
162   <Runtime name=G4LEDATA value="$GEANT4_BASE/data/G4EMLOW5.1" type=path>
163   </Tool>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines