ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/jimmy.spec
Revision: 1.6
Committed: Tue Oct 23 18:10:38 2007 UTC (17 years, 6 months ago) by elmer
Branch: MAIN
Changes since 1.5: +5 -0 lines
Log Message:
Various gfortran patches for the crappy generators, conditional on
an slc4_ia32_gcc412 build for the moment. Nothing is guaranteed
for them at this point, except that they build. (Actually tauola
doesn't even do that yet.)

File Contents

# User Rev Content
1 muzaffar 1.5 ### RPM external jimmy 4.2-CMS8
2 dlange 1.2 Requires: herwig
3 dlange 1.1 Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
4 elmer 1.6 Patch: jimmy-4.2-gfortran
5    
6 dlange 1.1 %prep
7 muzaffar 1.5 %setup -q -n %{n}/%{realversion}
8 elmer 1.6 %if "%cmsplatf" == "slc4_ia32_gcc412"
9     %patch -p0
10     %endif
11 dlange 1.2 ./configure --with-herwig=$HERWIG_ROOT
12 dlange 1.1
13     %build
14     make
15    
16     %install
17     tar -c lib include | tar -x -C %i
18 muzaffar 1.5 # SCRAM ToolBox toolfile
19     mkdir -p %i/etc/scram.d
20     cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
21 dlange 1.1
22 muzaffar 1.5 <doc type=BuildSystem::ToolDoc version=1.0>
23     <Tool name=jimmy version=%v>
24     <lib name=jimmy>
25     <Client>
26     <Environment name=JIMMY_BASE default="%i"></Environment>
27     <Environment name=LIBDIR default="$JIMMY_BASE/lib"></Environment>
28     <Environment name=INCLUDE default="$JIMMY_BASE/include"></Environment>
29     </Client>
30     <use name=f77compiler>
31     <use name=herwig>
32     </Tool>
33     EOF_TOOLFILE
34    
35     %post
36     %{relocateConfig}etc/scram.d/%n