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.1 by dlange, Tue Apr 24 15:48:28 2007 UTC vs.
Revision 1.6 by elmer, Tue May 1 17:58:02 2007 UTC

# Line 1 | Line 1
1   ### RPM external pythia8 070
2 < Requires: gcc-wrapper
3 < %define gccwrapperarch slc4_ia32_gcc345
2 > Requires: hepmc
3 > Requires: clhep
4 > Requires: pythia6
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 < ./configure
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
11 %if "%{cmsplatf}" == "%{gccwrapperarch}"
12 echo "Using gcc wrapper for %cmsplatf"
13 source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh
14 %endif
19   make
20  
21   %install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines