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

Comparing COMP/CMSDIST/gccxml-toolfile.spec (file contents):
Revision 1.1 by eulisse, Tue Jun 27 13:14:22 2006 UTC vs.
Revision 1.3 by muzaffar, Tue Aug 10 14:20:15 2010 UTC

# Line 1 | Line 1
1 < ### RPM configuration gccxml-toolfile 0.6.0_patch3
2 < ## IMPORT scramtoolbox-common
3 <
4 < Source: none
1 > ### RPM external gccxml-toolfile 1.0
2 > Requires: gccxml
3 > %prep
4  
5   %build
7 %install
8 echo %toolConfDir
9 mkdir -p %toolBoxDir/General %toolConfDir
6  
7 < cat << \EOF_gccxml_TOOLCONF_FRAGMENT > %toolConfDir/gccxml.conf
12 < TOOL:gccxml
13 <   +GCCXML_BASE:${GCCXML_ROOT}
14 <   +PATH:${GCCXML_ROOT}/bin
15 <   +LIBDIR:${GCCXML_ROOT}/lib
16 <   +INCLUDE:${GCCXML_ROOT}/include
17 < EOF_gccxml_TOOLCONF_FRAGMENT
7 > %install
8  
9 < cat << \EOF_gccxml_TOOLFILE > %toolBoxDir/General/gccxml
10 < <doc type=BuildSystem::ToolDoc version=1.0>
11 < <tool name=%toolname version=%v>
12 < <client>
13 < <environment name=GCCXML_BASE>
14 < The top of the gccxml distribution.
15 < </environment>
26 < </client>
27 < <architecture name=macosx>
28 < <environment name=PATH value="$GCCXML_BASE/bin" type=Runtime_path></environment>
29 < </architecture>
30 < <architecture name=osx>
31 < <environment name=PATH value="$GCCXML_BASE/bin" type=Runtime_path></environment>
32 < </architecture>
33 < <architecture name=rh>
34 < <environment name=PATH value="$GCCXML_BASE/bin" type=Runtime_path></environment>
35 < </architecture>
36 < <architecture name=cel>
37 < <environment name=PATH value="$GCCXML_BASE/bin" type=Runtime_path></environment>
38 < </architecture>
39 < <architecture name=sl>
40 < <environment name=PATH value="$GCCXML_BASE/bin" type=Runtime_path></environment>
41 < </architecture>
42 < <architecture name=win>
43 < <environment name=PATH value="$GCCXML_BASE/bin" type=Runtime_path></environment>
44 < </architecture>
9 > mkdir -p %i/etc/scram.d
10 > cat << \EOF_TOOLFILE >%i/etc/scram.d/gccxml.xml
11 > <tool name="gccxml" version="@TOOL_VERSION@">
12 >  <client>
13 >    <environment name="GCCXML_BASE" default="@TOOL_ROOT@"/>
14 >  </client>
15 >  <runtime name="PATH" value="$GCCXML_BASE/bin" type="path"/>
16   </tool>
17 < EOF_gccxml_TOOLFILE
17 > EOF_TOOLFILE
18  
19 < %files
49 < %toolBoxDir/General/gccxml
50 < %toolConfDir/gccxml.conf
19 > ## IMPORT scram-tools-post

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines