ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/pythia8.spec
Revision: 1.4
Committed: Wed Apr 25 15:30:15 2007 UTC (18 years ago) by dlange
Branch: MAIN
CVS Tags: apFor1412, apFor1411, CMSSW_1_4_10, apForCMSSW1410, CMSSW_1_4_9, apForCMSSW149, apForCMSSW148, CMSSW_1_4_8-slc3ap, CMSSW_1_4_8-slc3, CMSSW_1_4_7-slc3, ap-20071013, ap20071012b, ap20071012a, CMSSW_1_4_6-slc3, dl070719, CMSSW_1_4_5-slc4, CMSSW_1_4_5-slc3, CMSSW_1_4_4-slc3, CMSSW_1_4_4-slc4, ap-144-slc3, ap-144-slc4, ap-143g483-slc3, ap-143g483-slc4, CMSSW_1_4_3-slc4, CMSSW_1_4_3-slc3, CMSSW_1_4_2-slc4, CMSSW_1_4_2-slc3, CMSSW_1_4_1-slc4, CMSSW_1_4_1-slc3, CMSSW_1_4_0_DAQ1-slc3, CMSSW_1_4_0_DAQ1-slc4, ap-140daq1-1-slc3, ap-140daq1-1-slc4, ap-140-1-slc3, ap-140-1-slc4, CMSSW_1_4_0_pre7-slc3, CMSSW_1_4_0_pre7, ap-140p7-1-slc4, ap-140p7-1-slc3, ap-140p6-1-slc4, ap-140p5-1-slc3, ap-140p5-1-slc4, dl070501, dl070428_for140pre5_slc3, dl070428_for140pre5slc4t2, dl070428_for140pre5slc4
Changes since 1.3: +8 -2 lines
Log Message:
another attempt

File Contents

# Content
1 ### RPM external pythia8 070
2 Requires: gcc-wrapper
3 Requires: hepmc
4 Requires: clhep
5 Requires: pythia6
6 %define gccwrapperarch slc4_ia32_gcc345
7 %define realversion %(echo %v | cut -d- -f1 )
8 Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
9 %prep
10 %setup -q -n %{n}/%{realversion}
11
12 export PYTHIA6LOCATION=${PYTHIA6_ROOT}
13 export PYTHIA6VERSION=${PYTHIA6_VERSION}
14 export HEPMCLOCATION=${HEPMC_ROOT}
15 export HEPMCVERSION=${HEPMC_VERSION}
16 export CLHEPLOCATION=${CLHEP_ROOT}
17 export CLHEPVERSION=${CLHEP_VERSION}
18 ./configure
19
20 %build
21 %if "%{cmsplatf}" == "%{gccwrapperarch}"
22 echo "Using gcc wrapper for %cmsplatf"
23 source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh
24 %endif
25 make
26
27 %install
28 tar -c lib include | tar -x -C %i
29