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