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.73 by ratnik, Tue Feb 5 21:40:04 2008 UTC vs.
Revision 1.78 by dlange, Sat Apr 19 06:58:37 2008 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 9.1.p01-dbg-global
1 > ### RPM external geant4 9.1.p01-CMS1
2   %define downloadv %(echo %v | cut -d- -f1)
3 < # Special distribution for local validation at FNAL: see comments below.
4 < Provides: /bin/awk
3 >
4   Requires: clhep
5  
6   %define photonEvaporationVersion 2.0
# Line 18 | Line 17 | Source4: http://geant4.cern.ch/support/s
17   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
18  
19   Patch: geant-4.8.2.p01-nobanner
20 + Patch1: geant4-9.1-hadel
21  
22   %prep
23   %setup -n %n.%downloadv
24   pwd
25
25   %patch0 -p1
26 <
27 < # ONLY for Fermilab tests !
29 < # Add -g option to keep debug symbols:
30 < cp -p config/sys/Linux-g++.gmk config/sys/Linux-g++.gmk.orig
31 < perl -i -p -e '{s| -O2| -O2 -g|}' config/sys/Linux-g++.gmk
32 <
26 > %patch1 -p0
27 >
28   %build
29   if [ $(uname) = Darwin ]; then
30    export MACOSX_DEPLOYMENT_TARGET="10.4"
# Line 94 | Line 89 | source G4BuildConf.sh
89   mkdir -p %i
90   tar -cf - config source | tar -C %i -xf -
91  
92 < make %makeprocesses -C $G4BASE global
93 < make %makeprocesses -C $G4BASE includes
92 > make  -C $G4BASE global
93 > make  -C $G4BASE includes
94  
95   %install
96   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines