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.40 by elmer, Sun May 13 15:08:00 2007 UTC vs.
Revision 1.67 by dlange, Wed Dec 12 10:22:21 2007 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 8.2.p01-cms1
1 > ### RPM external geant4 9.0.p01
2   %define downloadv %(echo %v | cut -d- -f1)
3   ## INITENV SET G4NDL_PATH %i/data/G4NDL%{g4NDLVersion}
4   ## INITENV SET G4EMLOW_PATH %i/data/G4EMLOW%{g4EMLOWVersion}
# Line 7 | Line 7
7   # Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi>  
8   Requires: clhep
9   %define photonEvaporationVersion 2.0
10 < %define g4NDLVersion 3.9
10 > %define g4NDLVersion 3.11
11   %define g4ElasticScatteringVersion 1.1
12 < %define g4EMLOWVersion 4.0
12 > %define g4EMLOWVersion 4.3
13   %define radiativeDecayVersion 3.0
14   Source0: http://geant4.cern.ch/support/source/%n.%downloadv.tar.gz
15   Source1: http://geant4.cern.ch/support/source/G4NDL.%{g4NDLVersion}.tar.gz
# Line 17 | Line 17 | Source2: http://geant4.cern.ch/support/s
17   Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz
18   Source4: http://geant4.cern.ch/support/source/RadiativeDecay.%{radiativeDecayVersion}.tar.gz
19   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
20 < Patch: geant482-cms1
20 >
21 > Patch: geant-4.8.2.p01-nobanner
22 > Patch1: geant490p1
23 >
24   %prep
25   %setup -n %n.%downloadv
26   pwd
27 < %patch0 -p0
27 > %patch0 -p1
28 > %patch1 -p1
29 >
30   %build
31   if [ $(uname) = Darwin ]; then
32    export MACOSX_DEPLOYMENT_TARGET="10.4"
# Line 98 | Line 103 | tar -C %i/data -zxvf %_sourcedir/G4EMLOW
103   tar -C %i/data -zxvf %_sourcedir/Photon*.tar.gz
104   tar -C %i/data -zxvf %_sourcedir/Rad*.tar.gz
105   #
106 +
107 + # SCRAM ToolBox toolfile
108 + mkdir -p %i/etc/scram.d
109 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
110 + <doc type=BuildSystem::ToolDoc version=1.1>
111 + <Tool name=GEANT4 version=%v>
112 + <info url=http://wwwinfo.cern.ch/asd/geant4/geant4.html></info>
113 + <lib name=G4gflash>
114 + <lib name=G4FR>
115 + <lib name=G4RayTracer>
116 + <lib name=G4Tree>
117 + <lib name=G4UIGAG>
118 + <lib name=G4UIbasic>
119 + <lib name=G4UIcommon>
120 + <lib name=G4VRML>
121 + <lib name=G4baryons>
122 + <lib name=G4bosons>
123 + <lib name=G4brep>
124 + <lib name=G4csg>
125 + <lib name=G4cuts>
126 + <lib name=G4decay>
127 + <lib name=G4detector>
128 + <lib name=G4digits>
129 + <lib name=G4emlowenergy>
130 + <lib name=G4emstandard>
131 + <lib name=G4emutils>
132 + <lib name=G4event>
133 + <lib name=G4geomBoolean>
134 + <lib name=G4geombias>
135 + <lib name=G4geomdivision>
136 + <lib name=G4geometrymng>
137 + <lib name=G4globman>
138 + <lib name=G4graphics_reps>
139 + <lib name=G4had_im_r_matrix>
140 + <lib name=G4had_mod_man>
141 + <lib name=G4had_mod_util>
142 + <lib name=G4had_muon_nuclear>
143 + <lib name=G4had_neu_hp>
144 + <lib name=G4had_preequ_exciton>
145 + <lib name=G4had_string_diff>
146 + <lib name=G4had_string_frag>
147 + <lib name=G4had_string_man>
148 + <lib name=G4had_theo_max>
149 + <lib name=G4hadronic_HE>
150 + <lib name=G4hadronic_LE>
151 + <lib name=G4hadronic_bert_cascade>
152 + <lib name=G4hadronic_binary>
153 + <lib name=G4hadronic_body_ci>
154 + <lib name=G4hadronic_coherent_elastic>
155 + <lib name=G4hadronic_deex_evaporation>
156 + <lib name=G4hadronic_deex_fermi_breakup>
157 + <lib name=G4hadronic_deex_fission>
158 + <lib name=G4hadronic_deex_gem_evaporation>
159 + <lib name=G4hadronic_deex_handler>
160 + <lib name=G4hadronic_deex_management>
161 + <lib name=G4hadronic_deex_multifragmentation>
162 + <lib name=G4hadronic_deex_photon_evaporation>
163 + <lib name=G4hadronic_deex_util>
164 + <lib name=G4hadronic_hetcpp_evaporation>
165 + <lib name=G4hadronic_hetcpp_utils>
166 + <lib name=G4hadronic_interface_ci>
167 + <lib name=G4hadronic_iso>
168 + <lib name=G4hadronic_leading_particle>
169 + <lib name=G4hadronic_mgt>
170 + <lib name=G4hadronic_proc>
171 + <lib name=G4hadronic_qgstring>
172 + <lib name=G4hadronic_radioactivedecay>
173 + <lib name=G4hadronic_stop>
174 + <lib name=G4hadronic_util>
175 + <lib name=G4hadronic_xsect>
176 + <lib name=G4hepnumerics>
177 + <lib name=G4hits>
178 + <lib name=G4intercoms>
179 + <lib name=G4ions>
180 + <lib name=G4leptons>
181 + <lib name=G4magneticfield>
182 + <lib name=G4materials>
183 + <lib name=G4mesons>
184 + <lib name=G4modeling>
185 + <lib name=G4muons>
186 + <lib name=G4navigation>
187 + <lib name=G4optical>
188 + <lib name=G4parameterisation>
189 + <lib name=G4parmodels>
190 + <lib name=G4partman>
191 + <lib name=G4partutils>
192 + <lib name=G4persistency>
193 + <lib name=G4procman>
194 + <lib name=G4readout>
195 + <lib name=G4run>
196 + <lib name=G4shortlived>
197 + <lib name=G4specsolids>
198 + <lib name=G4track>
199 + <lib name=G4tracking>
200 + <lib name=G4transportation>
201 + <lib name=G4visHepRep>
202 + <lib name=G4visXXX>
203 + <lib name=G4vis_management>
204 + <lib name=G4volumes>
205 + <lib name=G4xrays>
206 + <lib name=G4phys_lists>
207 + <lib name=G4phys_builders>
208 + <lib name=G4error_propagation>
209 + <Client>
210 + <Environment name=GEANT4_BASE default="%i"></Environment>
211 + <Environment name=G4SRC default="$GEANT4_BASE/source"></Environment>
212 + <Environment name=LIBDIR default="$GEANT4_BASE/lib"></Environment>
213 + <Environment name=G4LIB value="$LIBDIR"></Environment>
214 + <Environment name=INCLUDE default="$GEANT4_BASE/include"></Environment>
215 + </Client>
216 + <use name=clhep>
217 + <Flags CPPDEFINES="G4USE_STD_NAMESPACE GNU_GCC">
218 + <Runtime name=G4LEVELGAMMADATA value="$GEANT4_BASE/data/PhotonEvaporation2.0" type=path>
219 + <Runtime name=NeutronHPCrossSections value="$GEANT4_BASE/data/G4NDL3.11" type=path>
220 + <Runtime name=G4RADIOACTIVEDATA value="$GEANT4_BASE/data/RadiativeDecay3.0" type=path>
221 + <Runtime name=G4LEDATA value="$GEANT4_BASE/data/G4EMLOW4.3" type=path>
222 + </Tool>
223 + EOF_TOOLFILE
224 +
225 + %post
226 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines