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.11 by eulisse, Wed Jun 14 20:12:16 2006 UTC vs.
Revision 1.18 by eulisse, Wed Jun 28 14:52:16 2006 UTC

# Line 1 | Line 1
1 < ### RPM external geant4 7.1-p1cms
1 > ### RPM external geant4 7.1-p2cms
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 16 | Line 16 | Source2: http://geant4.cern.ch/support/s
16   Source3: http://geant4.cern.ch/support/source/PhotonEvaporation.%{photonEvaporationVersion}.tar.gz
17   Source4: http://geant4.cern.ch/support/source/RadiativeDecay.%{radiativeDecayVersion}.tar.gz
18   Source5: http://geant4.web.cern.ch/geant4/physics_lists/geant4.6.1/lists/Packaging.tar
19 < Patch: geant4-g4e-and-g4tubs
19 > Patch: geant4-g4e-and-g4tubs-pCMS2
20  
21   %prep
22   %setup -n %n.%downloadv
23 < %ifos darwin
24 < patch0 -p7
25 < #%patch1
26 < %endif
27 <
23 > %patch -p0
24   %build
25   # Linux? -pthread?
26   touch G4BuildConf.sh
27 < echo "export OS_ARCH=%{cmspatf}" >> G4BuildConf.sh
27 > echo "export OS_ARCH=%{cmsplatf}" >> G4BuildConf.sh
28   #FIXME: is this correct???
29   echo "export G4SYSTEM=$(uname)-g++" >> G4BuildConf.sh
30   echo "export G4INSTALL=%i" >> G4BuildConf.sh
# Line 83 | Line 79 | make %makeprocesses -C $G4BASE
79   %install
80   mkdir -p %i/etc
81   cp G4BuildConf.sh %i/etc
82 + mv %i/lib/$(uname)-g++/*.so %i/lib
83 + mv %i/lib/$(uname)-g++/libname.map %i/lib
84 + rm -rf %i/lib/$(uname)-g++
85   # Build already installed into prefix
86   mkdir -p %i/data
87   tar -C %i/data -zxvf %_sourcedir/G4NDL*.tar.gz
# Line 91 | Line 90 | tar -C %i/data -zxvf %_sourcedir/Photon*
90   tar -C %i/data -zxvf %_sourcedir/Rad*.tar.gz
91   mkdir -p %i/share
92   cp -r physics_lists  %i/share
93 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines