1 |
|
### RPM external rivet 1.3.0 |
2 |
|
Source: http://www.hepforge.org/archive/rivet/Rivet-%{realversion}.tar.gz |
3 |
+ |
Patch0: rivet-1.3.0-make_pair-fix |
4 |
|
|
5 |
|
Requires: hepmc boost fastjet swig gsl |
6 |
|
%prep |
7 |
|
%setup -n Rivet-%{realversion} |
8 |
+ |
%patch0 -p1 |
9 |
|
./configure --prefix=%i --with-boost=${BOOST_ROOT} --with-hepmc=$HEPMC_ROOT --with-fastjet=$FASTJET_ROOT --with-gsl=$GSL_ROOT --disable-doxygen --disable-pdfmanual --with-pic |
10 |
|
# The following hack insures that the bins with the library linked explicitly |
11 |
|
# rather than indirectly, as required by the gold linker |
12 |
|
perl -p -i -e "s|LIBS = $|LIBS = -lHepMC|g" bin/Makefile |
13 |
+ |
|
14 |
|
%build |
15 |
|
make |
16 |
|
%install |