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

Comparing COMP/CMSDIST/thepeg.spec (file contents):
Revision 1.1 by dlange, Wed Feb 20 16:34:39 2008 UTC vs.
Revision 1.6 by elmer, Wed Jun 11 18:36:26 2008 UTC

# Line 1 | Line 1
1 < ### RPM external thepeg 1.1.1
2 < Source: http://www.thep.lu.se/ThePEG/ThePEG++-%{realversion}.tgz
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
4   Requires: lhapdf
5 <
5 > Requires: gsl
6  
7   %prep
8 < %setup -q -n ThePEG++-%{realversion}/ThePEG
8 > %setup -q -n ThePEG-%{realversion}
9 > %patch0 -p0
10   perl -p -i -e 's|-lLHAPDF|-llhapdf -llhapdf_dummy|' configure
11   perl -p -i -e 's|libLHAPDF|liblhapdf|' configure
12 < ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i
12 > ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT
13  
14   %build
15   make
# Line 21 | Line 23 | rm %i/share/ThePEG/Doc/fixinterfaces.pl
23   mkdir -p %i/etc/scram.d
24   cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
25   <doc type=BuildSystem::ToolDoc version=1.0>
26 < <Tool name=tauola version=%v>
26 > <Tool name=thepeg version=%v>
27   <Client>
28   <Environment name=THEPEG_BASE default="%i"></Environment>
29 < <Environment name=LIBDIR default="$THEPEG_BASE/lib"></Environment>
29 > <Environment name=LIBDIR default="$THEPEG_BASE/lib/ThePEG"></Environment>
30   <Environment name=INCLUDE default="$THEPEG_BASE/include"></Environment>
31   </Client>
32 < <lib name=tauola>
33 < <lib name=pretauola>
34 < <use name=f77compiler>
33 < <use name=pythia6>
32 > <lib name=ThePEG>
33 > <use name=lhapdf>
34 > <use name=gsl>
35   </Tool>
36   EOF_TOOLFILE
37  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines