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.1 by eulisse, Fri Feb 17 13:03:16 2006 UTC vs.
Revision 1.13 by elmer, Fri Nov 2 20:32:29 2007 UTC

# Line 1 | Line 1
1 < ### RPM external gccxml 0.6.0
1 > ### RPM external gccxml 0.6.0-CMS18
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 + Patch3: gccxml4
9  
10   %prep
11 < %setup -n %{n}-%{v}
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 ..
23 < make
23 > make %makeprocesses
24  
25   %install
26   cd gccxml-build
27   make install
28   cd %i
23 patch -p1 <%{_sourcedir}/gccxml1
24 patch -p1 <%{_sourcedir}/gccxml3
29  
30 < #%patch0 -p1
31 < #%patch2 -p1
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