Revision: | 1.1 |
Committed: | Wed Jul 23 17:47:47 2008 UTC (16 years, 9 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | T0Mon_080826_1, CMSSW_2_1_4_FWLITE, T0Mon_080825_1, CMSSW_2_1_4_ONLINE1, buildset_V2_8, CMSSW_2_1_4, apFor214v0, CMSSW_2_1_3, apFor213v0, CMSSW_2_1_2, CMSSW_2_1_1, CMSSW_2_1_1_ONLINE1, apFor212v0, apFor211v0, CMSSW_2_1_0_ONLINE1, apTestv0, nr080806_for210onl, CMSSW_2_1_0, apFor210v0, CMSSW_2_1_0_pre11, apFor210p11v0, CMSSW_2_1_0_pre10, apFor210p10v1, pe20080723a-for21X-412, pe20080723a-for21X |
Log Message: | Commit for safe keeping (still does not work) |
# | User | Rev | Content |
---|---|---|---|
1 | elmer | 1.1 | ### RPM external sherpa 1.1.1 |
2 | Source: http://www.hepforge.org/archive/sherpa/Sherpa-%realversion.tar.gz | ||
3 | |||
4 | Requires: hepmc lhapdf | ||
5 | |||
6 | %prep | ||
7 | %setup -n SHERPA-MC-%realversion | ||
8 | |||
9 | %build | ||
10 | ./TOOLS/makeinstall -t --copt --enable-hepmc2=$HEPMC_ROOT --copt --enable-lhapdf=$LHAPDF_ROOT --copt --prefix=%i | ||
11 | |||
12 | %install | ||
13 | #make install | ||
14 | |||
15 | # SCRAM ToolBox toolfile | ||
16 | mkdir -p %i/etc/scram.d | ||
17 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n | ||
18 | <doc type=BuildSystem::ToolDoc version=1.0> | ||
19 | <Tool name=%n version=%v> | ||
20 | <lib name=z> | ||
21 | <client> | ||
22 | <Environment name=SHERPA_BASE default="%i"></Environment> | ||
23 | <Environment name=INCLUDE default="$SHERPA_BASE/include"></Environment> | ||
24 | <Environment name=LIBDIR default="$SHERPA_BASE/lib"></Environment> | ||
25 | </client> | ||
26 | </Tool> | ||
27 | EOF_TOOLFILE | ||
28 | |||
29 | %post | ||
30 | %{relocateConfig}etc/scram.d/%n |