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.1 by dlange, Tue Apr 24 15:48:28 2007 UTC vs.
Revision 1.5 by muzaffar, Mon Sep 3 15:28:45 2007 UTC

# Line 1 | Line 1
1 < ### RPM external jimmy 4.2
2 < Requires: gcc-wrapper
3 < %define gccwrapperarch slc4_ia32_gcc345
4 < %define realversion %(echo %v | cut -d- -f1 )
1 > ### RPM external jimmy 4.2-CMS8
2 > Requires: herwig
3   Source: http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
4   %prep
5 < %setup -q -n %{n}
6 < ./configure
5 > %setup -q -n %{n}/%{realversion}
6 > ./configure --with-herwig=$HERWIG_ROOT
7  
8   %build
11 %if "%{cmsplatf}" == "%{gccwrapperarch}"
12 echo "Using gcc wrapper for %cmsplatf"
13 source $GCC_WRAPPER_ROOT/etc/profile.d/init.sh
14 %endif
9   make
10  
11   %install
12   tar -c lib include | tar -x -C %i
13 + # SCRAM ToolBox toolfile
14 + mkdir -p %i/etc/scram.d
15 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
16  
17 + <doc type=BuildSystem::ToolDoc version=1.0>
18 + <Tool name=jimmy version=%v>
19 + <lib name=jimmy>
20 + <Client>
21 + <Environment name=JIMMY_BASE default="%i"></Environment>
22 + <Environment name=LIBDIR default="$JIMMY_BASE/lib"></Environment>
23 + <Environment name=INCLUDE default="$JIMMY_BASE/include"></Environment>
24 + </Client>
25 + <use name=f77compiler>
26 + <use name=herwig>
27 + </Tool>
28 + EOF_TOOLFILE
29 +
30 + %post
31 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines