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.59 by ratnik, Fri Dec 7 00:44:42 2007 UTC vs.
Revision 1.62 by elmer, Sun Dec 9 06:38:43 2007 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1.cand03-global
1 > ### RPM external geant4 9.1.cand03-CMS18
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
5   Requires: clhep
6  
7 # On Marc/Jim request run optimized build keeping debug symbols:
8 %define makeflags CXXFLAGS="-O -g"
9
7   %define photonEvaporationVersion 2.0
8  
9   # FIXME: g4NDLVersion 3.12 must be used, but tarball for it
# Line 19 | Line 16 | Requires: clhep
16  
17   #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-02&module=geant4&output=/%n.%downloadv.tar.gz
19 > Source0: cvs://:kserver:ratnik@geant4.cvs.cern.ch:/cvs/Geant4?tag=-rgeant4-09-01-cand-03&module=geant4&output=/%n.%downloadv.tar.gz
20   Source1: http://geant4.cern.ch/support/source/G4NDL.%{g4NDLVersion}.tar.gz
21   Source2: http://geant4.cern.ch/support/source/G4EMLOW.%{g4EMLOWVersion}.tar.gz
22   Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz
# Line 27 | Line 24 | Source4: http://geant4.cern.ch/support/s
24   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
25  
26   #Patch: geant-4.8.2.p01-nobanner
27 + Patch1: geant4.9.1.cand03-debug-on
28  
29   %prep
30   %setup -n %n
31   pwd
32   #%patch0 -p1
33 + %patch1 -p1
34  
35   %build
36   if [ $(uname) = Darwin ]; then
# Line 49 | Line 48 | echo "export G4TMP=$PWD/tmp" >> G4BuildC
48   echo "export G4LIB=%i/lib" >> G4BuildConf.sh
49   echo "export G4LIB_BUILD_SHARED=1" >> G4BuildConf.sh
50   echo "unset G4DEBUG" >> G4BuildConf.sh
51 + echo "export CPPVERBOSE=yes" >> G4BuildConf.sh
52  
53   echo "export G4LEVELGAMMADATA=%i/data/PhotonEvaporation/%{photonEvaporationVersion}" >> G4BuildConf.sh
54   echo "export G4RADIOACTIVEDATA=%i/data/RadioactiveDecay%{radioactiveDecayVersion}" >> G4BuildConf.sh
# Line 94 | Line 94 | source G4BuildConf.sh
94   mkdir -p %i
95   tar -cf - config source | tar -C %i -xf -
96  
97 < make %makeflags %makeprocesses -C $G4BASE global
98 < make %makeflags %makeprocesses -C $G4BASE includes
97 > make %makeprocesses -C $G4BASE global
98 > make %makeprocesses -C $G4BASE includes
99  
100   %install
101   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
# Line 121 | Line 121 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
121   <doc type=BuildSystem::ToolDoc version=1.1>
122   <Tool name=GEANT4 version=%v>
123   <info url=http://wwwinfo.cern.ch/asd/geant4/geant4.html></info>
124 + <lib name=G4digits_hits>
125   <lib name=G4error_propagation>
126   <lib name=G4event>
127   <lib name=G4FR>
128 + <lib name=G4geometry>
129 + <lib name=G4global>
130   <lib name=G4graphics_reps>
131   <lib name=G4intercoms>
132 + <lib name=G4interfaces>
133   <lib name=G4materials>
134   <lib name=G4modeling>
135 + <lib name=G4parmodels>
136 + <lib name=G4particles>    
137 + <lib name=G4persistency>
138 + <lib name=G4physicslists>
139 + <lib name=G4processes>
140   <lib name=G4RayTracer>
141   <lib name=G4readout>
142   <lib name=G4run>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines