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.3 by dlange, Tue May 6 16:30:55 2008 UTC vs.
Revision 1.23 by eulisse, Mon Aug 30 11:54:19 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 > #Source: http://www.thep.lu.se/~leif/ThePEG/ThePEG-%{realversion}.tgz
3 > #Source: http://projects.hepforge.org/herwig/files/ThePEG-%{realversion}.tar.gz
4 > Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/thepeg-%{realversion}-src.tgz
5 > Patch0: thepeg-1.6.1-break-termcap-dependence
6 > Patch1: thepeg-1.6.1-units
7   Requires: lhapdf
8   Requires: gsl
9 + %if "%(echo %cmsos | grep osx >/dev/null && echo true)" == "true"
10 + Requires: gfortran-macosx
11 + %endif
12  
13   %prep
14 < %setup -q -n ThePEG-%{realversion}
15 < perl -p -i -e 's|-lLHAPDF|-llhapdf -llhapdf_dummy|' configure
16 < perl -p -i -e 's|libLHAPDF|liblhapdf|' configure
10 < ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT
14 > %setup -q -n %{n}/%{realversion}
15 > %patch0 -p2
16 > %patch1 -p2
17  
18   %build
19 + ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT --disable-readline
20   make
21  
22   %install
# Line 17 | Line 24 | make
24   make install
25   rm %i/share/ThePEG/Doc/fixinterfaces.pl
26  
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=thepeg>
31 <use name=lhapdf>
32 <use name=gsl>
33 </Tool>
34 EOF_TOOLFILE
35
27   %post
28 < %{relocateConfig}etc/scram.d/%n
28 > %{relocateConfig}lib/ThePEG/*.la

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines