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.13 by dlange, Wed Oct 31 19:22:09 2007 UTC vs.
Revision 1.24 by elmer, Fri Oct 30 21:07:45 2009 UTC

# Line 1 | Line 1
1 < ### RPM external pythia8 070-CMS12
1 > ### RPM external pythia8 130
2 > ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac
3 >
4   Requires: hepmc
5   Requires: clhep
6   Requires: pythia6
7 + Requires: lhapdf
8 +
9   Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
10   %prep
11   %setup -q -n %{n}/%{realversion}
# Line 12 | Line 16 | export HEPMCLOCATION=${HEPMC_ROOT}
16   export HEPMCVERSION=${HEPMC_VERSION}
17   export CLHEPLOCATION=${CLHEP_ROOT}
18   export CLHEPVERSION=${CLHEP_VERSION}
19 < ./configure
19 > ./configure --enable-shared --with-hepmc=${HEPMC_ROOT}
20  
21   %build
22   make
23  
24   %install
25 < tar -c lib include | tar -x -C %i
25 > tar -c lib include xmldoc | tar -x -C %i
26  
27   # SCRAM ToolBox toolfile
28   mkdir -p %i/etc/scram.d
# Line 30 | Line 34 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
34   <Environment name=LIBDIR default="$PYTHIA8_BASE/lib"></Environment>
35   <Environment name=INCLUDE default="$PYTHIA8_BASE/include"></Environment>
36   </Client>
37 + <runtime name=PYTHIA8DATA value="$PYTHIA8_BASE/xmldoc">
38   <lib name=pythia8>
39 + <lib name=hepmcinterface>
40   <use name=cxxcompiler>
41   <use name=hepmc>
42   <use name=pythia6>
43   <use name=clhep>
44 + <use name=lhapdf>
45   </Tool>
46   EOF_TOOLFILE
47  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines