ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/pythia8.spec
(Generate patch)

Comparing COMP/CMSDIST/pythia8.spec (file contents):
Revision 1.3 by dlange, Wed Apr 25 13:59:19 2007 UTC vs.
Revision 1.8 by dlange, Fri Aug 24 20:37:43 2007 UTC

# Line 1 | Line 1
1 < ### RPM external pythia8 070
2 < Requires: gcc-wrapper
1 > ### RPM external pythia8 070-CMS4
2   Requires: hepmc
3   Requires: clhep
4   Requires: pythia6
6 %define gccwrapperarch slc4_ia32_gcc345
5   %define realversion %(echo %v | cut -d- -f1 )
6   Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
7   %prep
8   %setup -q -n %{n}/%{realversion}
9 < echo "./configure PYTHIA6LOCATION=${PYTHIA6_ROOT} PYTHIA6VERSION=${PYTHIA6_VERSION} HEPMCLOCATION=${HEPMC_ROOT} HEPMCVERSION=${HEPMC_VERSION} CLHEPLOCATION=${CLHEP_ROOT} CLHEPVERSION=${CLHEP_VERSION}"
10 < ./configure PYTHIA6LOCATION=${PYTHIA6_ROOT} PYTHIA6VERSION=${PYTHIA6_VERSION} HEPMCLOCATION=${HEPMC_ROOT} HEPMCVERSION=${HEPMC_VERSION} CLHEPLOCATION=${CLHEP_ROOT} CLHEPVERSION=${CLHEP_VERSION}
9 >
10 > export PYTHIA6LOCATION=${PYTHIA6_ROOT}
11 > export PYTHIA6VERSION=${PYTHIA6_VERSION}
12 > export HEPMCLOCATION=${HEPMC_ROOT}
13 > export HEPMCVERSION=${HEPMC_VERSION}
14 > export CLHEPLOCATION=${CLHEP_ROOT}
15 > export CLHEPVERSION=${CLHEP_VERSION}
16 > ./configure
17  
18   %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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines