1 |
### RPM external gccxml 0.6.0
|
2 |
Requires: gcc-wrapper
|
3 |
|
4 |
Requires: cmake
|
5 |
Source: http://www.gccxml.org/files/v0.6/%n-%v.tar.gz
|
6 |
Patch0: gccxml1
|
7 |
Patch1: gccxml2
|
8 |
Patch2: gccxml3
|
9 |
|
10 |
%prep
|
11 |
%setup -n %{n}-%{v}
|
12 |
%patch1 -p1
|
13 |
|
14 |
%build
|
15 |
## IMPORT gcc-wrapper
|
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 |
%post
|
29 |
%{relocateConfig}share/gccxml-0.6/gccxml_config
|