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

Comparing COMP/CMSDIST/cascade.spec (file contents):
Revision 1.2 by muzaffar, Mon Nov 22 11:03:28 2010 UTC vs.
Revision 1.3 by eulisse, Thu Nov 25 15:09:18 2010 UTC

# Line 5 | Line 5 | Patch0: cascade-2.2.0-nomanual
5   Requires: lhapdf pythia6
6   %prep
7  
8 case %gccver in
9 4.*)
10 export F77=gfortran
11 ;;
12 esac
13
8   %setup -q -n %{n}/%{realversion}
9   %patch0 -p2
10  
11 < export PYTHIA="$PYTHIA6_ROOT"
12 < export LHAPDF="$LHAPDF_ROOT"
11 > # Notice that cascade expects a flat pythia installation,
12 > # where libraries and headers are all in the same place.
13 > # Since the source code is not actually needed, we point
14 > # it to the library location so that it links correctly.
15 > PYTHIA="$PYTHIA6_ROOT/lib"
16 > LHAPDF="$LHAPDF_ROOT"
17  
18 < ./configure --enable-shared --with-hepevt=4000 --prefix=%i
18 > PYTHIA=$PYTHIA LHAPDF=$LHAPDF ./configure --enable-shared --with-hepevt=4000 --prefix=%i F77=`which gfortran`
19  
20   %build
21   make %makeprocesses

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines