Revision: | 1.7 |
Committed: | Tue May 22 10:24:07 2007 UTC (17 years, 11 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | ge20070629, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, pe20070607a-ports |
Changes since 1.6: | +3 -3 lines |
Log Message: | o Updates to use %realversion from rpm-preamble o Versions all updated to -XXXX (we can choose the actual rebuild naming convention in a second pass) |
# | Content |
---|---|
1 | ### RPM external gccxml 0.6.0-XXXX |
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 | |
9 | %prep |
10 | %setup -n %{n}-%{realversion} |
11 | %patch1 -p1 |
12 | |
13 | %build |
14 | mkdir gccxml-build |
15 | cd gccxml-build |
16 | cmake -DCMAKE_INSTALL_PREFIX:PATH=%i .. |
17 | make %makeprocesses |
18 | |
19 | %install |
20 | cd gccxml-build |
21 | make install |
22 | cd %i |
23 | patch -p1 <%{_sourcedir}/gccxml1 |
24 | patch -p1 <%{_sourcedir}/gccxml3 |
25 | |
26 | %post |
27 | %{relocateConfig}share/gccxml-0.6/gccxml_config |