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.24 by eulisse, Wed Sep 15 07:18:45 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 > ## INITENV +PATH LD_LIBRARY_PATH %i/lib/ThePEG
3 > ## INITENV +PATH DYLD_LIBRARY_PATH %i/lib/ThePEG
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 + %if "%(echo %cmsos | grep osx >/dev/null && echo true)" == "true"
12 + Requires: gfortran-macosx
13 + %endif
14  
15   %prep
16 < %setup -q -n ThePEG-%{realversion}
17 < perl -p -i -e 's|-lLHAPDF|-llhapdf -llhapdf_dummy|' configure
18 < perl -p -i -e 's|libLHAPDF|liblhapdf|' configure
10 < ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT
16 > %setup -q -n %{n}/%{realversion}
17 > %patch0 -p2
18 > %patch1 -p2
19  
20   %build
21 + ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT --disable-readline
22   make
23  
24   %install
# Line 17 | Line 26 | make
26   make install
27   rm %i/share/ThePEG/Doc/fixinterfaces.pl
28  
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
29   %post
30 < %{relocateConfig}etc/scram.d/%n
30 > %{relocateConfig}lib/ThePEG/*.la

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines