1 |
< |
### RPM external thepeg 1.2.0 |
2 |
< |
Source: http://www.thep.lu.se/~leif/ThePEG/ThePEG-%{realversion}.tgz |
3 |
< |
Patch0: thepeg-1.2.0-LHAPDF |
1 |
> |
### RPM external thepeg 1.3.0 |
2 |
> |
#Source: http://www.thep.lu.se/~leif/ThePEG/ThePEG-%{realversion}.tgz |
3 |
> |
Source: http://projects.hepforge.org/herwig/files/ThePEG-%{realversion}.tar.gz |
4 |
> |
Patch0: thepeg-1.3.0-LHAPDF |
5 |
|
Requires: lhapdf |
6 |
|
Requires: gsl |
7 |
|
|
8 |
|
%prep |
9 |
|
%setup -q -n ThePEG-%{realversion} |
10 |
< |
%patch0 -p0 |
10 |
> |
%patch0 -p1 |
11 |
|
perl -p -i -e 's|-lLHAPDF|-llhapdf -llhapdf_dummy|' configure |
12 |
|
perl -p -i -e 's|libLHAPDF|liblhapdf|' configure |
13 |
|
./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT |