1 |
< |
### RPM external herwig 6.510-cms |
2 |
< |
Requires: gcc-wrapper |
1 |
> |
### RPM external herwig 6.510-cms2 |
2 |
|
Requires: gcc-wrapper |
3 |
|
%define gccwrapperarch slc4_ia32_gcc345 |
4 |
|
%define realversion %(echo %v | cut -d- -f1) |
5 |
|
Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz |
6 |
|
%prep |
7 |
|
%setup -q -n %n |
8 |
+ |
# Danger - herwig doesn't actually need the hepmc, clhep,lhapdf |
9 |
+ |
# that appear to be used in the configure |
10 |
|
./configure |
11 |
|
|
12 |
|
%build |
13 |
|
## IMPORT gcc-wrapper |
13 |
– |
%if "%{cmsplatf}" == "%{gccwrapperarch}" |
14 |
– |
echo "Using gcc wrapper for %cmsplatf" |
15 |
– |
source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh |
16 |
– |
%endif |
14 |
|
make |
15 |
|
|
16 |
+ |
# then hack include area as jimmy depends on missing header file.. |
17 |
+ |
cd include |
18 |
+ |
ln -sf HERWIG65.INC herwig65.inc |
19 |
+ |
|
20 |
|
%install |
21 |
|
tar -c lib include | tar -x -C %i |
22 |
|
|