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.62 by elmer, Sun Dec 9 06:38:43 2007 UTC vs.
Revision 1.69 by ratnik, Tue Jan 8 20:41:52 2008 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1.cand03-CMS18
1 > ### RPM external geant4 9.1-dbg-global
2   %define downloadv %(echo %v | cut -d- -f1)
3 < # Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi>  
3 > # Special distribution for local validation at FNAL: see comments below.
4   Provides: /bin/awk
5   Requires: clhep
6  
7   %define photonEvaporationVersion 2.0
8 <
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
8 > %define g4NDLVersion 3.12
9   %define g4ElasticScatteringVersion 1.1
10   %define g4EMLOWVersion 5.1
11   %define radioactiveDecayVersion 3.2
12  
13 < #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
13 > Source0: http://geant4.cern.ch/support/source/%n.%downloadv.tar.gz
14   Source1: http://geant4.cern.ch/support/source/G4NDL.%{g4NDLVersion}.tar.gz
15   Source2: http://geant4.cern.ch/support/source/G4EMLOW.%{g4EMLOWVersion}.tar.gz
16   Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz
# Line 24 | Line 18 | Source4: http://geant4.cern.ch/support/s
18   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
19  
20   #Patch: geant-4.8.2.p01-nobanner
27 Patch1: geant4.9.1.cand03-debug-on
21  
22   %prep
23 < %setup -n %n
23 > %setup -n %n.%downloadv
24   pwd
25 < #%patch0 -p1
26 < %patch1 -p1
25 >
26 > # ONLY for Fermilab tests !
27 > # Add -g option to keep debug symbols:
28 > cp -p config/sys/Linux-g++.gmk config/sys/Linux-g++.gmk.orig
29 > perl -i -p -e '{s| -O2| -O2 -g|}' config/sys/Linux-g++.gmk
30  
31   %build
32   if [ $(uname) = Darwin ]; then
# Line 58 | Line 54 | echo "export G4LEDATA=%i/data/G4EMLOW%{g
54  
55   # From Gabriele Cosmo: The variable name 'NeutronHPCrossSections' is replaced by
56   # 'G4NEUTRONHPDATA' starting from version 9.0.
57 < echo "export NeutronHPCrossSections=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
57 > #echo "export NeutronHPCrossSections=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
58 > echo "export G4NEUTRONHPDATA=%i/data/G4NDL%{g4NDLVersion}" >> G4BuildConf.sh
59 >
60  
61   # export G4LIB_BUILD_STATIC=1
62   # FIXME: For OS X? export G4NO_OPTIMISE=1 // unset G4OPTIMISE

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines