ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/thepeg.spec
Revision: 1.10
Committed: Thu May 14 08:01:01 2009 UTC (15 years, 11 months ago) by dlange
Branch: MAIN
CVS Tags: CMSSW_3_2_7_onlpatch6_ONLINE, for327op6, CMSSW_3_2_7_onlpatch5_ONLINE, CMSSW_3_2_7_onlpatch4_ONLINE, sm327op4, CMSSW_3_2_8, sm091012a, CMSSW_3_2_7_onlpatch3_ONLINE, eskFor328, sm091007a, CMSSW_3_2_7_onlpatch2_ONLINE, sm090928a, pe20090923b-for33X, pe20090923b-ports, CMSSW_3_2_7_onlpatch1_ONLINE, CMSSW_3_2_7_ONLINE, sm090923a, pe20090923a-ports, pe20090923a-for33X, pe20090922e-ports, pe20090922e-for33X, pe20090922d-ports, pe20090922c-ports, pe20090922c-for33X, pe20090922b-ports, pe20090922a-ports, pe20090922a-for33X, ge20090922-ports, sm090922a, CMSSW_3_2_7, pe20090921d-ports, pe20090921d-for33X, ge20090921-ports, pe20090921c-ports, pe20090921c-for33X, pe20090921b-for33X, pe20090921a-ports, CMSSW_3_3_0_pre4, apFor330pre4v0, eskFor327, pe20090918a-ports, pe20090912a-ports-xdaq, pe20090911a-ports-xdaq, CMSSW_3_3_0_pre3, apFor330pre3v0, pe20090907a-ports, pe20090907a-for33X, CMSSW_3_3_0_pre2, apFor330pre2v1, apFor330pre2v0, CMSSW_3_2_6, pe20090904a-ports, pe20090904a-for33X, pe20090903b-for33X, eskFor326, pe20090903b-ports, pe20090903a-ports, pe20090903-for33X, CMSSW_3_3_0_pre1, CMSSW_3_2_1_onlpatch6_ONLINE, sm090829a, esk090827, pe20090827a-ports, pe20090827a-33X, pe20090826a-33X, CMSSW_3_2_1_onlpatch5_ONLINE, pe20090826a-ports, sm090826a, CMSSW_3_2_5, smFor325v0, eskFor325, CMSSW_3_2_1_onlpatch4_ONLINE, sm090818a, CMSSW_3_2_4_ONLINE, sm090813e, CMSSW_3_2_4_patch1, CMSSW_3_2_4, sm090813d, sm090813c, sm090813b, sm324p1a, sm090813a, CMSSW_3_2_1_onlpatch3_ONLINE, sm090810a, CMSSW_3_2_1_onlpatch2_ONLINE, sm090806a, CMSSW_3_2_3, apFor323v1, apFor323v0, DQMGUI_5_0_2, DQMGUI_5_0_1, DQMGUI_5_0_0, CMSSW_3_2_1_onlpatch1_ONLINE, CMSSW_3_2_2_patch2, apFor321onlp1v1, apFor321onlp1v0, apFor322patch2v0, CMSSW_3_2_2_patch1, apFor322pa1v0, CMSSW_3_2_2, CMSSW_3_1_2, CMSSW_3_2_1-432, apFor322v0, dl090723, pe20090722b-31Xports-432, pe20090722a-31Xports-432, CMSSW_3_2_1_ONLINE, CMSSW_3_2_1, sm090721b, sm090721a, apFor321v0, sm090720b, sm090720a, apFor320onlv1, apFor320onlv0, CMSSW_3_2_0, apFor320v1, apFor320v0, CMSSW_3_1_1_patch1, sm090716a_off, CMSSW_3_1_1_onlpatch3_ONLINE, sm090716a, CMSSW_3_1_1_onlpatch2_ONLINE, sm090715c, sm090715b, sm090715a, CMSSW_3_ONLINE_BOOTSTRAP, sm090709a, CMSSW_3_1_1_onlpatch1_ONLINE, sm090708g, CMSSW_3_1_1_ONLINE, CMSSW_3_1_1_reallyThisTime, sm090708f, sm090708e, sm090708d, sm090708c, sm090708b, CMSSW_3_1_0_ONLINE2, sm090708a, CMSSW_3_1_1, dl090707, pe20090707c-31Xports-432, pe20090707b-31Xports-432, pe20090707a-31Xports-432, pe20090706b-31Xports-432, pe20090706a-31Xports-432, CMSSW_3_1_0_onlpatch1_ONLINE, sm090703a, CMSSW_3_1_0_patch1, pe20090701a-31Xports-432, CMSSW_3_1_0_ONLINE, sm090701b, CMSSW_3_1_0, sm090701a, CMSSW_3_1_0_pre11, dl090623, CMSSW_3_1_0_pre10_ONLINE, sm090621b, sm090621a, sm090620b, sm090620a, sm090619e, sm090619d, sm090619c, sm090619b, sm090619a, sm090618a, CMSSW_3_1_0_pre10-432, pe20090616a-31Xports-432, pe20090615a-31Xports-432, CMSSW_3_1_0_pre10, dl090611, CMSSW_3_1_0_pre9, pe20090611c-31Xports-432, pe20090611b-31Xports-432, pe20090611a-31Xports-432, pe20090610d-31Xports-432, pe20090610c-31Xports-432, pe20090610b-31Xports-432, pe20090610a-31Xports-432, pe20090604a-31Xports-432, CMSSW_3_1_0_pre8, pe20090526a-31Xports-432, pe20090525b-31Xports-432, pe20090525a-31Xports-432, dl090520t2, dl090520, CMSSW_3_1_0_pre7, pe20090514b-31Xports-432, dl090514t3, dl090514t2, pe20090514a-31Xports-432, dl090514
Changes since 1.9: +1 -1 lines
Log Message:
new herwigPP and thepeg versions - seems that there is some prefix replacement in lhapdf missing that herwigpp depends on at build time- for the moment, I just trigger a rebuild of lhapdf

File Contents

# User Rev Content
1 dlange 1.10 ### RPM external thepeg 1.4.2
2 elmer 1.8 #Source: http://www.thep.lu.se/~leif/ThePEG/ThePEG-%{realversion}.tgz
3     Source: http://projects.hepforge.org/herwig/files/ThePEG-%{realversion}.tar.gz
4     Patch0: thepeg-1.3.0-LHAPDF
5 dlange 1.1 Requires: lhapdf
6 dlange 1.2 Requires: gsl
7 dlange 1.1
8     %prep
9 dlange 1.2 %setup -q -n ThePEG-%{realversion}
10 elmer 1.8 %patch0 -p1
11 dlange 1.2 ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT
12 dlange 1.1
13     %build
14     make
15    
16     %install
17    
18     make install
19     rm %i/share/ThePEG/Doc/fixinterfaces.pl
20    
21     # SCRAM ToolBox toolfile
22     mkdir -p %i/etc/scram.d
23     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
24     <doc type=BuildSystem::ToolDoc version=1.0>
25 andreasp 1.4 <Tool name=thepeg version=%v>
26 dlange 1.1 <Client>
27     <Environment name=THEPEG_BASE default="%i"></Environment>
28 dlange 1.5 <Environment name=LIBDIR default="$THEPEG_BASE/lib/ThePEG"></Environment>
29 dlange 1.1 <Environment name=INCLUDE default="$THEPEG_BASE/include"></Environment>
30     </Client>
31 dlange 1.5 <lib name=ThePEG>
32 dlange 1.3 <use name=lhapdf>
33     <use name=gsl>
34 dlange 1.1 </Tool>
35     EOF_TOOLFILE
36    
37     %post
38     %{relocateConfig}etc/scram.d/%n
39 elmer 1.7 %{relocateConfig}lib/ThePEG/ACDCSampler.la
40     %{relocateConfig}lib/ThePEG/BreitWignerMass.la
41     %{relocateConfig}lib/ThePEG/ColourPairDecayer.la
42     %{relocateConfig}lib/ThePEG/DalitzDecayer.la
43     %{relocateConfig}lib/ThePEG/FixedCMSLuminosity.la
44     %{relocateConfig}lib/ThePEG/GaussianPtGenerator.la
45     %{relocateConfig}lib/ThePEG/GRV94L.la
46     %{relocateConfig}lib/ThePEG/GRV94M.la
47     %{relocateConfig}lib/ThePEG/GRVBase.la
48     %{relocateConfig}lib/ThePEG/KTClus.la
49     %{relocateConfig}lib/ThePEG/LeptonLeptonPDF.la
50     %{relocateConfig}lib/ThePEG/LeptonLeptonRemnant.la
51     %{relocateConfig}lib/ThePEG/LesHouches.la
52     %{relocateConfig}lib/ThePEG/libThePEG.la
53     %{relocateConfig}lib/ThePEG/LWHFactory.la
54     %{relocateConfig}lib/ThePEG/MadGraphReader.la
55     %{relocateConfig}lib/ThePEG/MEee2gZ2qq.la
56     %{relocateConfig}lib/ThePEG/MENCDIS.la
57     %{relocateConfig}lib/ThePEG/MEQCD.la
58     %{relocateConfig}lib/ThePEG/MultiEventGenerator.la
59     %{relocateConfig}lib/ThePEG/O1AlphaS.la
60     %{relocateConfig}lib/ThePEG/OmegaPhi3PiDecayer.la
61     %{relocateConfig}lib/ThePEG/Onium3GDecayer.la
62     %{relocateConfig}lib/ThePEG/QuarksToHadronsDecayer.la
63     %{relocateConfig}lib/ThePEG/ReweightConstant.la
64     %{relocateConfig}lib/ThePEG/ReweightMinPT.la
65     %{relocateConfig}lib/ThePEG/SimpleAlphaEM.la
66     %{relocateConfig}lib/ThePEG/SimpleDISCut.la
67     %{relocateConfig}lib/ThePEG/SimpleFlavour.la
68     %{relocateConfig}lib/ThePEG/SimpleKTCut.la
69     %{relocateConfig}lib/ThePEG/SimpleZGenerator.la
70     %{relocateConfig}lib/ThePEG/StandardCKM.la
71     %{relocateConfig}lib/ThePEG/Tau2HadronsDecayer.la
72     %{relocateConfig}lib/ThePEG/TestLHAPDF.la
73     %{relocateConfig}lib/ThePEG/ThePEGStrategy.la
74     %{relocateConfig}lib/ThePEG/V2LeptonsCut.la
75     %{relocateConfig}lib/ThePEG/V2PPDecayer.la
76     %{relocateConfig}lib/ThePEG/WeakToHadronsDecayer.la
77     %{relocateConfig}lib/ThePEG/XSecCheck.la
78