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.24 by eulisse, Mon Sep 25 08:52:12 2006 UTC vs.
Revision 1.38 by ratnik, Wed Apr 18 23:46:01 2007 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 8.1-p2cms
1 > ### RPM external geant4 8.2.p01-cms1
2 > Requires: gcc-wrapper
3   %define downloadv %(echo %v | cut -d- -f1)
4   ## INITENV SET G4NDL_PATH %i/data/G4NDL%{g4NDLVersion}
5   ## INITENV SET G4EMLOW_PATH %i/data/G4EMLOW%{g4EMLOWVersion}
6   ## INITENV SET PHOTON_EVAPORATION_PATH %i/data/PhotonEvaportation%{photonEvaporationVersion}
7   ## INITENV SET RADIATIVE_DECAY_PATH %i/data/RadiativeDecay%{radiativeDecayVersion}
8 < # Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi>
8 > # Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi>  
9   Requires: clhep
10   %define photonEvaporationVersion 2.0
11   %define g4NDLVersion 3.9
# Line 17 | Line 18 | Source2: http://geant4.cern.ch/support/s
18   Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz
19   Source4: http://geant4.cern.ch/support/source/RadiativeDecay.%{radiativeDecayVersion}.tar.gz
20   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
21 < Patch: geant48-pCMS2
21 <
21 > Patch: geant482-cms1
22   %prep
23   %setup -n %n.%downloadv
24   pwd
25   %patch0 -p0
26   %build
27 + ## IMPORT gcc-wrapper
28   # Linux? -pthread?
29   touch G4BuildConf.sh
30   echo "export OS_ARCH=%{cmsplatf}" >> G4BuildConf.sh
# Line 75 | Line 76 | echo "export G4VIS_BUILD_DAWNFILE_DRIVER
76   source G4BuildConf.sh
77   mkdir -p %i
78   tar -cf - config source | tar -C %i -xf -
79 +
80   make %makeprocesses -C $G4BASE all
81   make %makeprocesses -C $G4BASE includes
82   make %makeprocesses -C $G4BASE
83   make %makeprocesses -C $G4BASE global
84   make %makeprocesses -C $G4BASE
83 (cd geant4e ; make %makeprocesses -C $G4BASE)
85  
86   %install
87   mkdir -p %i/etc
# Line 94 | Line 95 | tar -C %i/data -zxvf %_sourcedir/G4NDL*.
95   tar -C %i/data -zxvf %_sourcedir/G4EMLOW*.tar.gz
96   tar -C %i/data -zxvf %_sourcedir/Photon*.tar.gz
97   tar -C %i/data -zxvf %_sourcedir/Rad*.tar.gz
98 < mkdir -p %i/share
98 < cp -r physics_lists  %i/share
98 > #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines