ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/pythia8.spec
Revision: 1.3
Committed: Wed Apr 25 13:59:19 2007 UTC (18 years ago) by dlange
Branch: MAIN
Changes since 1.2: +3 -1 lines
Log Message:
another pythia8 iteration

File Contents

# User Rev Content
1 dlange 1.1 ### RPM external pythia8 070
2     Requires: gcc-wrapper
3 dlange 1.2 Requires: hepmc
4     Requires: clhep
5 dlange 1.3 Requires: pythia6
6 dlange 1.1 %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 dlange 1.3 echo "./configure PYTHIA6LOCATION=${PYTHIA6_ROOT} PYTHIA6VERSION=${PYTHIA6_VERSION} HEPMCLOCATION=${HEPMC_ROOT} HEPMCVERSION=${HEPMC_VERSION} CLHEPLOCATION=${CLHEP_ROOT} CLHEPVERSION=${CLHEP_VERSION}"
12     ./configure PYTHIA6LOCATION=${PYTHIA6_ROOT} PYTHIA6VERSION=${PYTHIA6_VERSION} HEPMCLOCATION=${HEPMC_ROOT} HEPMCVERSION=${HEPMC_VERSION} CLHEPLOCATION=${CLHEP_ROOT} CLHEPVERSION=${CLHEP_VERSION}
13 dlange 1.1
14     %build
15     %if "%{cmsplatf}" == "%{gccwrapperarch}"
16     echo "Using gcc wrapper for %cmsplatf"
17     source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh
18     %endif
19     make
20    
21     %install
22     tar -c lib include | tar -x -C %i
23