Revision: | 1.9 |
Committed: | Sun Jan 25 20:37:38 2009 UTC (16 years, 3 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | DBS-APP_20100122_slc4, DBS-APP_20100121_slc4, DBS-WEB_20100120_slc4, DBS-APP_20100120_slc4, DBS-APP_20100118_slc4, DBS-WEB_20100118_slc4, DBS-APP_20100114_slc4, DBS-WEB_20100113_slc4, DAS_20091202, FILEMOVER_20091118, DBS-APPS_20090929, pe20091117a-fromDAS_20090709, pe20091116b-fromDAS_20090709, pe20091116a-fromDAS_20090709, DAS_20091104, DBS-WEB_20091021, DAS_20091016, DAS_20091014, DBS-WEB_20091012, DBS-WEB_20090921, pe20090910-fromDAS_20090709, FILEMOVER_20090910, DBS-WEB_20090817, FILEMOVER_20090828, DBS-APPS_20090706, WEBTOOLS_APPS_20090817, DBS-APPS_20090804, DBS-APPS_20090730, DAS_20090709, DAS_20090607, DBS-WEB_20090618, DBS-APPS_20090619, DBS-APPS_20090608, DBS-APPS_20090604_1, DAS_20090604, DBS-APPS_20090604, DAS_20090603, DBS-APPS_20090603, DBS-APPS_20090528, DBS_APPS_20090518, DAS_20090514_3, DAS_20090514_2, DAS_20090514_1, DAS_20090514, DBS-WEB_20090512, pe20090512a-31Xports-432, pe20090511a-31Xports-432, dl090509, DBS-WEB_20090507, dl090504gcc41, pe20090505b-31Xports-432, pe20090505a-31Xports-432, dl090504, pe20090504a-31Xports-432, DBS_APPS_20090504, CMSSW_3_1_0_pre6, DBS_APPS_20090501, DBS-APPS_20090429_2, DBS-WEB_20090429, DBS-APPS_20090429, DBS-WEB_20090428, dl090425, DBS-WEB_20090422, dl090421, DBS-WEB_20090420, DBS-APPS_20090417, CMSSW_3_1_0_pre5, dl090416, DBS-APPS_20090415, pe20090414a-31Xports-432, dl090410, DBS-APPS_20090410, dl090409t2, dl090409, DAS_20090408, pe20090407a-31Xports-432, dl090406t2, dl090406, DBS-APPS_20090406, pe20090406b-31Xports-432, pe20090406a-31Xports-432, dl090403, pe20090403a-31Xports-432, dl090401t2, DAS_20090330, dl090401, dl090330, dl090329, dl0903029, CMSSW_3_1_0_pre4, DBS-APPS_20090326, DAS_20090319_1, DAS_20090319, pe20090318b-for31X-412, pe20090318b-for31X, DBS-APPS_20090318, pe20090318-for31X, dl090317t2, dl090317, DBS-APPS_20090316, DAS_20090316, DAS_20090313, COUCHDB_20090313, DBS-APPS_20090310, WEBTOOLS-APPS_20090310_1, WEBTOOLS-APPS_20090310, WEBTOOLS-APPS_20090309, CMSSW_3_1_0_pre3, DBS-APPS_20090306, DBS-APPS_20090304_1, DBS-APPS_20090304, pe20090304-for31X-412, pe20090304-for31X, pe20090304b-30Xports-432, pe20090304a-30Xports-432, dl090304_cmsswtoolconf9cms_gcc412, dl090304_cmsswtoolconf9cms, DBS-APPS_20090303_1, DBS-APPS_20090303, DBS-APPS_20090302, dl090302_cmsswtoolconf9gcc412, dl090302_cmsswtoolconf9, dl090301, pe20090226b-30Xports-432, pe20090226a-30Xports-432, pe20090225d-for30XIB-412, pe20090225d-for30XIB, pe20090225c-for30XIB, pe20090225b-for30XIB-412, pe20090225b-for30XIB, pe20090225a-for30XIB, pe20090224b-30Xports-432, pe20090224a-30Xports-432, pe20090224c-for30XIB-412, pe20090224c-for30XIB, pe20090224b-for30XIB-412, pe20090224b-for30XIB, DBS-APPS_20090220_1, DBS-APPS_20090220, T0M_0_0_5, MEMCACHED_20090219_1, MEMCACHED_20090219, pe20090218a-30Xports-432, WEBTOOLS-APPS_20090217_1, WEBTOOLS-APPS_20090217, WEBTOOLS-APPS_20090216, pe20090216b-30Xports-432, pe20090216a-30Xports-432, WEBTOOLS-APPS_20090212, WEBTOOLS-APPS_20090209_64bit, zx20090209, WEBTOOLS-APPS_20090206, T0M_0_0_4, T0M_0_0_3, WEBTOOLS-APPS_20090203_1, WEBTOOLS-APPS_20090203, T0M_0_0_2, zx20090201, PRODAGENT_0_12_10_pre3, pe20090127c-30Xports-432, pe20090127b-30Xports-432, PRODAGENT_0_12_10_pre2_20090127_V2, pe20090127a-30Xports-432, pe20090125a-30Xports-432 |
Changes since 1.8: | +0 -2 lines |
Log Message: | Remove LHAPDF uppercase/lowercase library name workaround. This is apparently not needed for LHAPDF 5.6.0. |
# | Content |
---|---|
1 | ### RPM external thepeg 1.3.0 |
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 | Patch0: thepeg-1.3.0-LHAPDF |
5 | Requires: lhapdf |
6 | Requires: gsl |
7 | |
8 | %prep |
9 | %setup -q -n ThePEG-%{realversion} |
10 | %patch0 -p1 |
11 | ./configure --with-LHAPDF=$LHAPDF_ROOT/lib --without-javagui --prefix=%i --with-gsl=$GSL_ROOT |
12 | |
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 | <Tool name=thepeg version=%v> |
26 | <Client> |
27 | <Environment name=THEPEG_BASE default="%i"></Environment> |
28 | <Environment name=LIBDIR default="$THEPEG_BASE/lib/ThePEG"></Environment> |
29 | <Environment name=INCLUDE default="$THEPEG_BASE/include"></Environment> |
30 | </Client> |
31 | <lib name=ThePEG> |
32 | <use name=lhapdf> |
33 | <use name=gsl> |
34 | </Tool> |
35 | EOF_TOOLFILE |
36 | |
37 | %post |
38 | %{relocateConfig}etc/scram.d/%n |
39 | %{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 |