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.8 by elmer, Wed Jun 27 12:50:44 2007 UTC vs.
Revision 1.12 by elmer, Mon Oct 22 13:08:26 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines