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.71 by dlange, Sat Jan 12 02:19:36 2008 UTC vs.
Revision 1.84 by dlange, Sun Mar 29 20:57:21 2009 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1
1 > ### RPM external geant4 9.2.p01
2   %define downloadv %(echo %v | cut -d- -f1)
3  
4   Requires: clhep
5  
6   %define photonEvaporationVersion 2.0
7 < %define g4NDLVersion 3.12
7 > %define g4NDLVersion 3.13
8   %define g4ElasticScatteringVersion 1.1
9 < %define g4EMLOWVersion 5.1
9 > %define g4EMLOWVersion 6.2
10   %define radioactiveDecayVersion 3.2
11  
12   Source0: http://geant4.cern.ch/support/source/%n.%downloadv.tar.gz
# Line 22 | Line 22 | Patch: geant-4.8.2.p01-nobanner
22   %setup -n %n.%downloadv
23   pwd
24   %patch0 -p1
25 <
25 >
26   %build
27   if [ $(uname) = Darwin ]; then
28    export MACOSX_DEPLOYMENT_TARGET="10.4"
# Line 87 | Line 87 | source G4BuildConf.sh
87   mkdir -p %i
88   tar -cf - config source | tar -C %i -xf -
89  
90 < make %makeprocesses -C $G4BASE global
91 < make %makeprocesses -C $G4BASE includes
90 > make  -C $G4BASE global
91 > make  -C $G4BASE includes
92  
93   %install
94   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
# Line 150 | 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=G4NEUTRONHPDATA value="$GEANT4_BASE/data/G4NDL3.12" type=path>
153 > <Runtime name=G4NEUTRONHPDATA value="$GEANT4_BASE/data/G4NDL3.13" 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>
155 > <Runtime name=G4LEDATA value="$GEANT4_BASE/data/G4EMLOW6.2" type=path>
156   </Tool>
157   EOF_TOOLFILE
158  
159 + cat << \EOF_TOOLFILE >%i/etc/scram.d/geant4core
160 + <doc type=BuildSystem::ToolDoc version=1.1>
161 + <Tool name=geant4core version=%v>
162 + <info url=http://wwwinfo.cern.ch/asd/geant4/geant4.html></info>
163 + <lib name=G4digits_hits>
164 + <lib name=G4error_propagation>
165 + <lib name=G4event>
166 + <lib name=G4geometry>
167 + <lib name=G4global>
168 + <lib name=G4graphics_reps>
169 + <lib name=G4intercoms>
170 + <lib name=G4interfaces>
171 + <lib name=G4materials>
172 + <lib name=G4parmodels>
173 + <lib name=G4particles>    
174 + <lib name=G4persistency>
175 + <lib name=G4physicslists>
176 + <lib name=G4processes>
177 + <lib name=G4readout>
178 + <lib name=G4run>
179 + <lib name=G4tracking>
180 + <lib name=G4track>
181 + <Client>
182 + <Environment name=GEANT4_BASE default="%i"></Environment>
183 + <Environment name=G4SRC default="$GEANT4_BASE/source"></Environment>
184 + <Environment name=LIBDIR default="$GEANT4_BASE/lib"></Environment>
185 + <Environment name=G4LIB value="$LIBDIR"></Environment>
186 + <Environment name=INCLUDE default="$GEANT4_BASE/include"></Environment>
187 + </Client>
188 + <use name=clhep>
189 + <Flags CPPDEFINES="G4USE_STD_NAMESPACE GNU_GCC G4V9">
190 + <Runtime name=G4LEVELGAMMADATA value="$GEANT4_BASE/data/PhotonEvaporation2.0" type=path>
191 + <Runtime name=G4NEUTRONHPDATA value="$GEANT4_BASE/data/G4NDL3.13" type=path>
192 + <Runtime name=G4RADIOACTIVEDATA value="$GEANT4_BASE/data/RadioactiveDecay3.2" type=path>
193 + <Runtime name=G4LEDATA value="$GEANT4_BASE/data/G4EMLOW6.2" type=path>
194 + </Tool>
195 + EOF_TOOLFILE
196 +
197 + cat << \EOF_TOOLFILE >%i/etc/scram.d/geant4vis
198 + <doc type=BuildSystem::ToolDoc version=1.1>
199 + <Tool name=geant4vis version=%v>
200 + <info url=http://wwwinfo.cern.ch/asd/geant4/geant4.html></info>
201 + <lib name=G4FR>
202 + <lib name=G4modeling>
203 + <lib name=G4RayTracer>
204 + <lib name=G4Tree>
205 + <lib name=G4visHepRep>
206 + <lib name=G4vis_management>
207 + <lib name=G4visXXX>
208 + <lib name=G4VRML>
209 + <use name=geant4core>
210 + </Tool>
211 + EOF_TOOLFILE
212 +
213 +
214   %post
215   %{relocateConfig}etc/scram.d/%n
216 + %{relocateConfig}etc/scram.d/geant4core
217 + %{relocateConfig}etc/scram.d/geant4vis

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines