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.35 by elmer, Mon Feb 5 12:45:28 2007 UTC vs.
Revision 1.40 by elmer, Sun May 13 15:08:00 2007 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 8.2-cms1
1 > ### RPM external geant4 8.2.p01-cms1
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}
5   ## INITENV SET PHOTON_EVAPORATION_PATH %i/data/PhotonEvaportation%{photonEvaporationVersion}
6   ## INITENV SET RADIATIVE_DECAY_PATH %i/data/RadiativeDecay%{radiativeDecayVersion}
7 < # Build system fudging and some patches by Lassi A. Tuura <lat@iki.fi>
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
# Line 23 | Line 23 | Patch: geant482-cms1
23   pwd
24   %patch0 -p0
25   %build
26 + if [ $(uname) = Darwin ]; then
27 +  export MACOSX_DEPLOYMENT_TARGET="10.4"
28 + fi
29   # Linux? -pthread?
30   touch G4BuildConf.sh
31   echo "export OS_ARCH=%{cmsplatf}" >> G4BuildConf.sh
# Line 82 | Line 85 | make %makeprocesses -C $G4BASE global
85   make %makeprocesses -C $G4BASE
86  
87   %install
88 + case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
89   mkdir -p %i/etc
90   cp G4BuildConf.sh %i/etc
91 < mv %i/lib/$(uname)-g++/*.so %i/lib
91 > mv %i/lib/$(uname)-g++/*.$so %i/lib
92   mv %i/lib/$(uname)-g++/libname.map %i/lib
93   rm -rf %i/lib/$(uname)-g++
94   # Build already installed into prefix

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines