ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gccxml.spec
Revision: 1.10
Committed: Sun Oct 21 08:09:38 2007 UTC (17 years, 6 months ago) by elmer
Branch: MAIN
CVS Tags: pe20071021a-ports
Changes since 1.9: +5 -3 lines
Log Message:
Use LCG patch instead of our three patches (which are still there, but
commented, still need to go through them to see if we still need any
of them)

File Contents

# User Rev Content
1 muzaffar 1.9 ### RPM external gccxml 0.6.0-CMS8
2 eulisse 1.1
3     Requires: cmake
4 elmer 1.7 Source: http://www.gccxml.org/files/v0.6/%n-%realversion.tar.gz
5 eulisse 1.1 Patch0: gccxml1
6     Patch1: gccxml2
7     Patch2: gccxml3
8 elmer 1.10 Patch3: gccxml4
9 eulisse 1.1
10     %prep
11 elmer 1.7 %setup -n %{n}-%{realversion}
12 elmer 1.10 #%patch1 -p1
13     %patch4 -p1
14 eulisse 1.1
15     %build
16     mkdir gccxml-build
17     cd gccxml-build
18     cmake -DCMAKE_INSTALL_PREFIX:PATH=%i ..
19 eulisse 1.2 make %makeprocesses
20 eulisse 1.1
21     %install
22     cd gccxml-build
23     make install
24     cd %i
25 elmer 1.10 #patch -p1 <%{_sourcedir}/gccxml1
26     #patch -p1 <%{_sourcedir}/gccxml3
27 eulisse 1.1
28 muzaffar 1.9 # 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 eulisse 1.4 %post
41     %{relocateConfig}share/gccxml-0.6/gccxml_config
42 muzaffar 1.9 %{relocateConfig}etc/scram.d/%n