ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/hepmc.spec
(Generate patch)

Comparing COMP/CMSDIST/hepmc.spec (file contents):
Revision 1.1 by ratnik, Thu Mar 16 04:37:52 2006 UTC vs.
Revision 1.23 by elmer, Wed Aug 26 20:55:34 2009 UTC

# Line 1 | Line 1
1 < ### RPM external hepmc 1.26
2 < Requires: clhep
3 < Source: http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-%v.tar.gz
1 > ### RPM external hepmc 2.03.06
2 > Source: http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-%realversion.tar.gz
3 > Patch0: hepmc-2.03.06-gcc43
4 > Patch1: hepmc-2.03.06-reflex
5  
6   %prep
7 < %setup -q -n HepMC-%{v}
7 > %setup -q -n HepMC-%{realversion}
8 > %patch0 -p1
9 > %patch1 -p0
10  
11 < echo "CLHEP_ROOT is: " $CLHEP_ROOT
9 < ./configure  --with-CLHEP=$CLHEP_ROOT --prefix=%{i}
11 > ./configure --prefix=%{i}
12  
13   %build
14   make
15  
16   %install
17   make install
18 +
19 + # SCRAM ToolBox toolfile
20 + mkdir -p %i/etc/scram.d
21 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
22 + <doc type=BuildSystem::ToolDoc version=1.0>
23 + <Tool name=HepMC version=%v>
24 + <lib name=HepMCfio>
25 + <lib name=HepMC>
26 + <Client>
27 + <Environment name=HEPMC_BASE default="%i"></Environment>
28 + <Environment name=LIBDIR default="$HEPMC_BASE/lib"></Environment>
29 + <Environment name=INCLUDE default="$HEPMC_BASE/include"></Environment>
30 + </Client>
31 + <Runtime name=CMSSW_FWLITE_INCLUDE_PATH value="$HEPMC_BASE/include" type=path>
32 + </Tool>
33 + EOF_TOOLFILE
34 +
35 + %post
36 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines