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