Revision: | 1.4 |
Committed: | Wed Apr 4 17:37:48 2007 UTC (18 years ago) by ratnik |
Branch: | MAIN |
CVS Tags: | dl070505t3, dl070505t2, dl070505, pe20070501b-ports, pe20070501a-ports, CMSSW_1_5_0_pre1, pe20070428a-ports, pe20070428b, pe20070428a, CMSSW_1_4_0_pre4, CMSSW_1_4_0_pre4-slc3, pe20070425c-for150p1, pe20070525b-slc4, pe20070525a, pe20070424b-slc3, pe20070424b-slc4, pe20070424a-slc4, pe20070424a-slc3, pe20070424-slc3, pe20070424-slc4, pe20070423b-slc3, pe20070423b-slc4, pe20070423a-slc3, pe20070423a-slc4, pe20070423b-ports, pe20070423a-ports, pe20070422b-slc4, pe20070422b-slc3, pe20070422a-slc4, pe20070422a-slc3, pe20070414b-ports, pe20070414a-ports, pe20070412b-ports, pe20070412a-ports, pe20070411a-ports, pe20070409a-ports, dl070407, pe20070407a-ports, dl070406t2, pe20070407-ports, dl070406, CMSSW_1_4_0_pre3-slc3, CMSSW_1_4_0_pre3, nrCMSSW_1_4_0_pre3_rc0, nrCMSSW_1_4_0_pre3_rc0-slc4 |
Changes since 1.3: | +2 -2 lines |
Log Message: | Changed the order of lines to force install.sh to pick up dependency on gcc-wrapper |
# | User | Rev | Content |
---|---|---|---|
1 | ratnik | 1.3 | ### RPM external herwig 6.510-cms |
2 | ratnik | 1.4 | Requires: gcc-wrapper |
3 | %define gccwrapperarch slc4_ia32_gcc345 | ||
4 | ratnik | 1.3 | %define realversion %(echo %v | cut -d- -f1) |
5 | Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz | ||
6 | ratnik | 1.1 | %prep |
7 | %setup -q -n %n | ||
8 | ./configure | ||
9 | |||
10 | %build | ||
11 | ratnik | 1.2 | %if "%{cmsplatf}" == "%{gccwrapperarch}" |
12 | echo "Using gcc wrapper for %cmsplatf" | ||
13 | source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh | ||
14 | %endif | ||
15 | ratnik | 1.1 | make |
16 | |||
17 | %install | ||
18 | ratnik | 1.3 | tar -c lib include | tar -x -C %i |
19 | ratnik | 1.1 |