ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gccxml.spec
Revision: 1.11
Committed: Sun Oct 21 08:30:52 2007 UTC (17 years, 6 months ago) by elmer
Branch: MAIN
CVS Tags: forTony_001
Changes since 1.10: +1 -1 lines
Log Message:
Fix typo in applying gccxml4.patch

File Contents

# Content
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 %patch3 -p1
14
15 %build
16 mkdir gccxml-build
17 cd gccxml-build
18 cmake -DCMAKE_INSTALL_PREFIX:PATH=%i ..
19 make %makeprocesses
20
21 %install
22 cd gccxml-build
23 make install
24 cd %i
25 #patch -p1 <%{_sourcedir}/gccxml1
26 #patch -p1 <%{_sourcedir}/gccxml3
27
28 # SCRAM ToolBox toolfile
29 mkdir -p %i/etc/scram.d
30 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
31 <doc type=BuildSystem::ToolDoc version=1.0>
32 <Tool name=%n version=%v>
33 <Client>
34 <Environment name=GCCXML_BASE default="%i"></Environment>
35 </Client>
36 <Runtime name=PATH value="$GCCXML_BASE/bin" type=path>
37 </Tool>
38 EOF_TOOLFILE
39
40 %post
41 %{relocateConfig}share/gccxml-0.6/gccxml_config
42 %{relocateConfig}etc/scram.d/%n