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.2 by dlange, Tue Apr 24 16:15:37 2007 UTC vs.
Revision 1.5 by elmer, Tue May 1 17:56:14 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines