ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/herwig.spec
Revision: 1.7
Committed: Wed Apr 25 21:31:47 2007 UTC (18 years ago) by dlange
Branch: MAIN
Changes since 1.6: +5 -2 lines
Log Message:
fix herwig spec file so that it declares and then uses its dependencies (clhep,hepmc,lhcapdf)

File Contents

# User Rev Content
1 dlange 1.7 ### RPM external herwig 6.510-cms2
2 ratnik 1.4 Requires: gcc-wrapper
3 dlange 1.7 Requires: clhep
4     Requires: hepmc
5     Requires: lhapdf
6 ratnik 1.4 %define gccwrapperarch slc4_ia32_gcc345
7 ratnik 1.3 %define realversion %(echo %v | cut -d- -f1)
8     Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
9 ratnik 1.1 %prep
10     %setup -q -n %n
11 dlange 1.7 ./configure --with-hepmc=$HEPMC_BASE --with-clhep=$CLHEP_BASE --with-lhapdf=$LHAPDF_BASE
12 ratnik 1.1
13     %build
14 ratnik 1.5 ## IMPORT gcc-wrapper
15 ratnik 1.1 make
16    
17     %install
18 ratnik 1.3 tar -c lib include | tar -x -C %i
19 ratnik 1.1