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.23 by eulisse, Wed Sep 20 10:12:20 2006 UTC vs.
Revision 1.32 by eulisse, Thu Nov 23 10:43:35 2006 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 8.1-p2cms
1 > ### RPM external geant4 8.1-p2.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}
# Line 17 | Line 17 | Source2: http://geant4.cern.ch/support/s
17   Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz
18   Source4: http://geant4.cern.ch/support/source/RadiativeDecay.%{radiativeDecayVersion}.tar.gz
19   Source5: http://geant4.cern.ch/support/source/G4ELASTIC.%{g4ElasticScatteringVersion}.tar.gz
20 < Patch: geant48-pCMS2
21 <
20 > Patch: geant48-p2-cms1
21 > Patch1: geant4-geant4e-GNUmakefile
22   %prep
23   %setup -n %n.%downloadv
24   pwd
25   %patch0 -p0
26 + %patch1 -p0
27   %build
28   # Linux? -pthread?
29   touch 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
85 + make %makeprocesses -C $G4BASE/../physics_lists/hadronic/Packaging
86  
87   %install
88   mkdir -p %i/etc
# Line 94 | Line 97 | tar -C %i/data -zxvf %_sourcedir/G4EMLOW
97   tar -C %i/data -zxvf %_sourcedir/Photon*.tar.gz
98   tar -C %i/data -zxvf %_sourcedir/Rad*.tar.gz
99   mkdir -p %i/share
100 < cp -r physics_lists  %i/share
100 > cp -r physics_lists  %i/share
101 > ln -sf plists/$(uname)-g++/libPackaging.so %i/lib/libPackaging.so
102 > find %{i}/share/physics_lists/hadronic/Packaging/include/ -iname *.hh | sed -e "s|.*/||" | xargs -i ln -sf ../share/physics_lists/hadronic/Packaging/include/{} %{i}/include/{}
103 > #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines