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

Comparing COMP/CMSDIST/gccxml.spec (file contents):
Revision 1.5 by ratnik, Wed Apr 18 23:46:01 2007 UTC vs.
Revision 1.9 by muzaffar, Mon Sep 3 15:28:45 2007 UTC

# Line 1 | Line 1
1 < ### RPM external gccxml 0.6.0
2 < Requires: gcc-wrapper
1 > ### RPM external gccxml 0.6.0-CMS8
2  
3   Requires: cmake
4 < Source: http://www.gccxml.org/files/v0.6/%n-%v.tar.gz
4 > Source: http://www.gccxml.org/files/v0.6/%n-%realversion.tar.gz
5   Patch0: gccxml1
6   Patch1: gccxml2
7   Patch2: gccxml3
8  
9   %prep
10 < %setup -n %{n}-%{v}
10 > %setup -n %{n}-%{realversion}
11   %patch1 -p1
12  
13   %build
15 ## IMPORT gcc-wrapper
14   mkdir gccxml-build
15   cd gccxml-build
16   cmake -DCMAKE_INSTALL_PREFIX:PATH=%i ..
# Line 25 | Line 23 | cd %i
23   patch -p1 <%{_sourcedir}/gccxml1
24   patch -p1 <%{_sourcedir}/gccxml3
25  
26 + # SCRAM ToolBox toolfile
27 + mkdir -p %i/etc/scram.d
28 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
29 + <doc type=BuildSystem::ToolDoc version=1.0>
30 + <Tool name=%n version=%v>
31 + <Client>
32 + <Environment name=GCCXML_BASE default="%i"></Environment>
33 + </Client>
34 + <Runtime name=PATH value="$GCCXML_BASE/bin" type=path>
35 + </Tool>
36 + EOF_TOOLFILE
37 +
38   %post
39   %{relocateConfig}share/gccxml-0.6/gccxml_config
40 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines