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.74 by dlange, Tue Feb 5 21:58:47 2008 UTC vs.
Revision 1.82 by muzaffar, Thu Jul 17 07:26:18 2008 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1.p01
1 > ### RPM external geant4 9.1.p02
2   %define downloadv %(echo %v | cut -d- -f1)
3  
4   Requires: clhep
# Line 17 | Line 17 | Source4: http://geant4.cern.ch/support/s
17   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
18  
19   Patch: geant-4.8.2.p01-nobanner
20 + Patch1: geant-4.9.1p02-combined-20080716
21  
22   %prep
23   %setup -n %n.%downloadv
24   pwd
25   %patch0 -p1
26 <
26 > %patch1 -p1
27 >
28   %build
29   if [ $(uname) = Darwin ]; then
30    export MACOSX_DEPLOYMENT_TARGET="10.4"
# Line 87 | 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 156 | Line 158 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
158   </Tool>
159   EOF_TOOLFILE
160  
161 + cat << \EOF_TOOLFILE >%i/etc/scram.d/geant4core
162 + <doc type=BuildSystem::ToolDoc version=1.1>
163 + <Tool name=geant4core version=%v>
164 + <info url=http://wwwinfo.cern.ch/asd/geant4/geant4.html></info>
165 + <lib name=G4digits_hits>
166 + <lib name=G4error_propagation>
167 + <lib name=G4event>
168 + <lib name=G4geometry>
169 + <lib name=G4global>
170 + <lib name=G4graphics_reps>
171 + <lib name=G4intercoms>
172 + <lib name=G4interfaces>
173 + <lib name=G4materials>
174 + <lib name=G4parmodels>
175 + <lib name=G4particles>    
176 + <lib name=G4persistency>
177 + <lib name=G4physicslists>
178 + <lib name=G4processes>
179 + <lib name=G4readout>
180 + <lib name=G4run>
181 + <lib name=G4tracking>
182 + <lib name=G4track>
183 + <Client>
184 + <Environment name=GEANT4_BASE default="%i"></Environment>
185 + <Environment name=G4SRC default="$GEANT4_BASE/source"></Environment>
186 + <Environment name=LIBDIR default="$GEANT4_BASE/lib"></Environment>
187 + <Environment name=G4LIB value="$LIBDIR"></Environment>
188 + <Environment name=INCLUDE default="$GEANT4_BASE/include"></Environment>
189 + </Client>
190 + <use name=clhep>
191 + <Flags CPPDEFINES="G4USE_STD_NAMESPACE GNU_GCC G4V9">
192 + <Runtime name=G4LEVELGAMMADATA value="$GEANT4_BASE/data/PhotonEvaporation2.0" type=path>
193 + <Runtime name=G4NEUTRONHPDATA value="$GEANT4_BASE/data/G4NDL3.12" type=path>
194 + <Runtime name=G4RADIOACTIVEDATA value="$GEANT4_BASE/data/RadioactiveDecay3.2" type=path>
195 + <Runtime name=G4LEDATA value="$GEANT4_BASE/data/G4EMLOW5.1" type=path>
196 + </Tool>
197 + EOF_TOOLFILE
198 +
199 + cat << \EOF_TOOLFILE >%i/etc/scram.d/geant4vis
200 + <doc type=BuildSystem::ToolDoc version=1.1>
201 + <Tool name=geant4vis version=%v>
202 + <info url=http://wwwinfo.cern.ch/asd/geant4/geant4.html></info>
203 + <lib name=G4FR>
204 + <lib name=G4modeling>
205 + <lib name=G4RayTracer>
206 + <lib name=G4Tree>
207 + <lib name=G4visHepRep>
208 + <lib name=G4vis_management>
209 + <lib name=G4visXXX>
210 + <lib name=G4VRML>
211 + <use name=geant4core>
212 + </Tool>
213 + EOF_TOOLFILE
214 +
215 +
216   %post
217   %{relocateConfig}etc/scram.d/%n
218 + %{relocateConfig}etc/scram.d/geant4core
219 + %{relocateConfig}etc/scram.d/geant4vis

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines