ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/jimmy.spec
(Generate patch)

Comparing COMP/CMSDIST/jimmy.spec (file contents):
Revision 1.2 by dlange, Tue Apr 24 16:15:37 2007 UTC vs.
Revision 1.8 by elmer, Thu Dec 27 20:28:33 2007 UTC

# Line 1 | Line 1
1 < ### RPM external jimmy 4.2
2 < Requires: gcc-wrapper
1 > ### RPM external jimmy 4.2-CMS19
2   Requires: herwig
4 %define gccwrapperarch slc4_ia32_gcc345
5 %define realversion %(echo %v | cut -d- -f1 )
3   Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
4 + Patch: jimmy-4.2-gfortran
5 +
6   %prep
7 < %setup -q -n %{n}
7 > %setup -q -n %{n}/%{realversion}
8 > %if "%cmsplatf" == "slc4_ia32_gcc412"
9 > %patch -p0
10 > %endif
11   ./configure --with-herwig=$HERWIG_ROOT
12  
13   %build
12 %if "%{cmsplatf}" == "%{gccwrapperarch}"
13 echo "Using gcc wrapper for %cmsplatf"
14 source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh
15 %endif
14   make
15  
16   %install
17   tar -c lib include | tar -x -C %i
18 + # SCRAM ToolBox toolfile
19 + mkdir -p %i/etc/scram.d
20 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
21 +
22 + <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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines