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.4 by ratnik, Fri Mar 16 11:42:49 2007 UTC vs.
Revision 1.13 by dlange, Tue Sep 18 08:32:05 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines