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

Comparing COMP/CMSDIST/herwigpp.spec (file contents):
Revision 1.3 by dlange, Tue May 6 16:30:55 2008 UTC vs.
Revision 1.5 by elmer, Tue Jun 10 02:23:20 2008 UTC

# Line 4 | Line 4 | Requires: thepeg
4   Requires: gsl
5   Requires: hepmc
6  
7 + Patch0: herwigpp-2.2.0-gfortran
8  
9   %prep
10   %setup -q -n Herwig++-%{realversion}
11 + %if (("%cmsplatf" == "slc4_ia32_gcc412")||("%cmsplatf" == "slc4_ia32_gcc422"))
12 + %patch0 -p1
13 + %endif
14   ./configure --with-hepmc=$HEPMC_ROOT --with-gsl=$GSL_ROOT --with-thepeg=$THEPEG_ROOT --prefix=%i CXXFLAGS="-O2 -fuse-cxa-atexit"
15  
16   %build
# Line 28 | Line 32 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
32   <Environment name=LIBDIR default="$HERWIGPP_BASE/lib"></Environment>
33   <Environment name=INCLUDE default="$HERWIGPP_BASE/include"></Environment>
34   </Client>
35 < <lib name=tauola>
32 < <lib name=pretauola>
33 < <use name=f77compiler>
34 < <use name=pythia6>
35 > <Runtime name=HERWIGPATH value="$HERWIGPP_BASE/share/Herwig++">
36   </Tool>
37   EOF_TOOLFILE
38  
39   %post
40   %{relocateConfig}etc/scram.d/%n
41 + perl -p -i -e "s|%{instroot}|$RPM_INSTALL_PREFIX|g" $(find $RPM_INSTALL_PREFIX/ -name HerwigDefaults.rpo -type f)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines