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.61 by elmer, Sun Dec 9 06:27:18 2007 UTC vs.
Revision 1.76 by dlange, Tue Feb 12 18:52:34 2008 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1.cand03-CMS18
1 > ### RPM external geant4 9.1.p01-CMS1
2   %define downloadv %(echo %v | cut -d- -f1)
3 < # Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi>  
4 < Provides: /bin/awk
3 >
4   Requires: clhep
5  
6   %define photonEvaporationVersion 2.0
7 <
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
7 > %define g4NDLVersion 3.12
8   %define g4ElasticScatteringVersion 1.1
9   %define g4EMLOWVersion 5.1
10   %define radioactiveDecayVersion 3.2
11  
12 < #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
12 > Source0: http://geant4.cern.ch/support/source/%n.%downloadv.tar.gz
13   Source1: http://geant4.cern.ch/support/source/G4NDL.%{g4NDLVersion}.tar.gz
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/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
27 < Patch1: geant4.9.1.cand03-debug-on
19 > Patch: geant-4.8.2.p01-nobanner
20  
21   %prep
22 < %setup -n %n
22 > %setup -n %n.%downloadv
23   pwd
24 < #%patch0 -p1
33 < %patch1 -p1
24 > %patch0 -p1
25  
26   %build
27   if [ $(uname) = Darwin ]; then
# Line 58 | Line 49 | echo "export G4LEDATA=%i/data/G4EMLOW%{g
49  
50   # From Gabriele Cosmo: The variable name 'NeutronHPCrossSections' is replaced by
51   # 'G4NEUTRONHPDATA' starting from version 9.0.
52 < echo "export NeutronHPCrossSections=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
52 > #echo "export NeutronHPCrossSections=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
53 > echo "export G4NEUTRONHPDATA=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
54 >
55  
56   # export G4LIB_BUILD_STATIC=1
57   # FIXME: For OS X? export G4NO_OPTIMISE=1 // unset G4OPTIMISE
# Line 121 | Line 114 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
114   <doc type=BuildSystem::ToolDoc version=1.1>
115   <Tool name=GEANT4 version=%v>
116   <info url=http://wwwinfo.cern.ch/asd/geant4/geant4.html></info>
117 + <lib name=G4digits_hits>
118   <lib name=G4error_propagation>
119   <lib name=G4event>
120   <lib name=G4FR>
121 + <lib name=G4geometry>
122 + <lib name=G4global>
123   <lib name=G4graphics_reps>
124   <lib name=G4intercoms>
125 + <lib name=G4interfaces>
126   <lib name=G4materials>
127   <lib name=G4modeling>
128 + <lib name=G4parmodels>
129 + <lib name=G4particles>    
130 + <lib name=G4persistency>
131 + <lib name=G4physicslists>
132 + <lib name=G4processes>
133   <lib name=G4RayTracer>
134   <lib name=G4readout>
135   <lib name=G4run>
# Line 148 | Line 150 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
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>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines