Revision: | 1.14 |
Committed: | Sun Nov 4 05:41:52 2007 UTC (17 years, 5 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | ge20071224, ge20071223, ge20071221, ge20071220, ge20071217, ge20071216, ge20071213, ge20071212, ge20071211, ge20071210a, ge20071210, ge20071207, CMSSW_1_8_0_pre4-412, pe20071205b-for180p4-412, ge20071205, CMSSW_1_8_0_pre3a-412, ge20071203, pe20071202-for180p3a-gcc412, V00-06-08, ge20071128, ge20071127a-leopard, ge20071127-leopard, pe20071127a-ports-412, ge20071126-new-bootstrap, pe20071123e-ports-412, pe20071123d-ports-412, pe20071123c-ports-422, pe20071123c-ports-412, pe20071123b-ports-422, pe20071123b-ports-412, pe20071123a-ports-422, pe20071123a-ports-412, ge20071122-new-bootstrap, pe20071121a-ports-422, pe20071121a-ports-412, pe20071112c-ports-422, pe20071112c-ports-412, pe20071112b-ports-412 |
Changes since 1.13: | +19 -12 lines |
Log Message: | Update to version 0.7.0_20070615-CMS18 |
# | Content |
---|---|
1 | ### RPM external gccxml 0.7.0_20070615-CMS18 |
2 | %define gccxmlmajorver %(echo %realversion | cut -f1,2 -d.) |
3 | Requires: cmake |
4 | # The following are needed for 0.6.0 |
5 | #Source: http://www.gccxml.org/files/v0.6/%n-%realversion.tar.gz |
6 | #Patch1: gccxml1 |
7 | #Patch2: gccxml2 |
8 | #Patch3: gccxml3 |
9 | #Patch4: gccxml4 |
10 | # The following are needed for 0.7.0_20070615 |
11 | Source: http://www.gccxml.org/files/v0.6/%n-%realversion.tar.gz |
12 | Patch5: gccxml-0.7.0-version |
13 | |
14 | %prep |
15 | #%setup -n %{n}-%{realversion} # for 0.6.0 |
16 | %setup -n %{n} |
17 | #%patch2 -p1 |
18 | %patch5 -p1 |
19 | |
20 | %build |
21 | cd GCC_XML/Support |
22 | # The following are needed for 0.6.0 |
23 | #patch -p3 <%{_sourcedir}/gccxml1 |
24 | #patch -p3 <%{_sourcedir}/gccxml3 |
25 | #patch -p3 <%{_sourcedir}/gccxml4 |
26 | cd ../../ |
27 | mkdir gccxml-build |
28 | cd gccxml-build |
29 | cmake -DCMAKE_INSTALL_PREFIX:PATH=%i .. |
30 | make %makeprocesses |
31 | |
32 | %install |
33 | cd gccxml-build |
34 | make install |
35 | cd %i |
36 | |
37 | # SCRAM ToolBox toolfile |
38 | mkdir -p %i/etc/scram.d |
39 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
40 | <doc type=BuildSystem::ToolDoc version=1.0> |
41 | <Tool name=%n version=%v> |
42 | <Client> |
43 | <Environment name=GCCXML_BASE default="%i"></Environment> |
44 | </Client> |
45 | <Runtime name=PATH value="$GCCXML_BASE/bin" type=path> |
46 | </Tool> |
47 | EOF_TOOLFILE |
48 | |
49 | %post |
50 | %{relocateConfig}share/gccxml-%{gccxmlmajorver}/gccxml_config |
51 | %{relocateConfig}etc/scram.d/%n |