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.4 by dlange, Thu May 8 04:37:13 2008 UTC vs.
Revision 1.13 by andreasp, Tue May 19 09:01:05 2009 UTC

# Line 1 | Line 1
1 < ### RPM external herwigpp 2.2.0
1 > ### RPM external herwigpp 2.3.2
2 > ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
3 >
4   Source: http://projects.hepforge.org/herwig/files/Herwig++-%{realversion}.tar.gz
5   Requires: thepeg
6   Requires: gsl
7   Requires: hepmc
8  
9 + Patch0: herwigpp-2.3.2-g77
10 + Patch1: herwigpp-2.3.2-amd64
11  
12   %prep
13   %setup -q -n Herwig++-%{realversion}
14 < ./configure --with-hepmc=$HEPMC_ROOT --with-gsl=$GSL_ROOT --with-thepeg=$THEPEG_ROOT --prefix=%i CXXFLAGS="-O2 -fuse-cxa-atexit"
14 > case %gccver in
15 >  3.*)
16 > %patch0 -p1
17 > %patch1 -p1
18 >  ;;
19 > esac
20  
21   %build
22 + ./configure --with-hepmc=$HEPMC_ROOT --with-gsl=$GSL_ROOT --with-thepeg=$THEPEG_ROOT --prefix=%i CXXFLAGS="-O2 -fuse-cxa-atexit"
23 + # Fix up a configuration mistake coming from a test being confused
24 + # by the "skipping incompatible" linking messages when linking 32bit on 64bit
25 + perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' Makefile
26 + perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' */Makefile
27 + perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' */*/Makefile
28 + perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' */*/*/Makefile
29 +
30   make %makeprocesses
31  
32  
# Line 34 | Line 51 | EOF_TOOLFILE
51  
52   %post
53   %{relocateConfig}etc/scram.d/%n
54 < perl -p -i -e "s|%{instroot}|$RPM_INSTALL_PREFIX|g" $(find $RPM_INSTALL_PREFIX/ -name HerwigDefaults.rpo -type f)
54 > %{relocateConfig}share/Herwig++/HerwigDefaults.rpo

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines