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.2 by dlange, Tue May 6 04:52:17 2008 UTC vs.
Revision 1.22 by elmer, Sun Aug 29 09:15:39 2010 UTC

# Line 1 | Line 1
1 < ### RPM external thepeg 1.2.0
2 < Source: http://www.thep.lu.se/~leif/ThePEG/ThePEG-%{realversion}.tgz
1 > ### RPM external thepeg 1.6.1
2 > ## BUILDIF case $(uname):$(uname -m) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
3 >
4 > #Source: http://www.thep.lu.se/~leif/ThePEG/ThePEG-%{realversion}.tgz
5 > #Source: http://projects.hepforge.org/herwig/files/ThePEG-%{realversion}.tar.gz
6 > Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/thepeg-%{realversion}-src.tgz
7 > Patch0: thepeg-1.6.1-break-termcap-dependence
8 > Patch1: thepeg-1.6.1-units
9   Requires: lhapdf
10   Requires: gsl
11  
12   %prep
13 < %setup -q -n ThePEG-%{realversion}
14 < perl -p -i -e 's|-lLHAPDF|-llhapdf -llhapdf_dummy|' configure
15 < perl -p -i -e 's|libLHAPDF|liblhapdf|' configure
10 < ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT
13 > %setup -q -n %{n}/%{realversion}
14 > %patch0 -p2
15 > %patch1 -p2
16  
17   %build
18 + ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT --disable-readline
19   make
20  
21   %install
# Line 17 | Line 23 | make
23   make install
24   rm %i/share/ThePEG/Doc/fixinterfaces.pl
25  
20 # SCRAM ToolBox toolfile
21 mkdir -p %i/etc/scram.d
22 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
23 <doc type=BuildSystem::ToolDoc version=1.0>
24 <Tool name=tauola version=%v>
25 <Client>
26 <Environment name=THEPEG_BASE default="%i"></Environment>
27 <Environment name=LIBDIR default="$THEPEG_BASE/lib"></Environment>
28 <Environment name=INCLUDE default="$THEPEG_BASE/include"></Environment>
29 </Client>
30 <lib name=tauola>
31 <lib name=pretauola>
32 <use name=f77compiler>
33 <use name=pythia6>
34 </Tool>
35 EOF_TOOLFILE
36
26   %post
27 < %{relocateConfig}etc/scram.d/%n
27 > %{relocateConfig}lib/ThePEG/*.la
28 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines