ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/rivet.spec
(Generate patch)

Comparing COMP/CMSDIST/rivet.spec (file contents):
Revision 1.2 by elmer, Tue Nov 2 14:00:00 2010 UTC vs.
Revision 1.7 by elmer, Wed Dec 15 09:40:59 2010 UTC

# Line 1 | Line 1
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 < ./configure --prefix=%i --with-boost=${BOOST_ROOT} --with-hepmc=$HEPMC_ROOT --with-fastjet=$FASTJET_ROOT --with-gsl=$GSL_ROOT --disable-doxygen --disable-pdfmanual --disable-pyext --with-pic
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
17   make install
18 + # The following creates a (for now) empty directory consistent with the
19 + # tool definition (probably the PYTHONPATH entry could be removed there,
20 + # too, but I'm still not sure if there is a use case for the python or not)
21 + mkdir -p %i/lib/python2.6/site-packages

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines