1 | # ============================================================== |
---|
2 | # @rpmprefix@@tool_target@-gcc |
---|
3 | # ============================================================== |
---|
4 | # %package -n @rpmprefix@@tool_target@-gcc |
---|
5 | # Summary: GNU cc compiler for @tool_target@ |
---|
6 | # Group: Development/Tools |
---|
7 | # Version: %{gcc_rpmvers} |
---|
8 | # Requires: @rpmprefix@@tool_target@-binutils |
---|
9 | # Requires: @rpmprefix@@tool_target@-newlib = %{newlib_version}-%{release} |
---|
10 | # License: GPL |
---|
11 | |
---|
12 | %description -n @rpmprefix@@tool_target@-gcc |
---|
13 | GNU cc compiler for @tool_target@. |
---|
14 | |
---|
15 | %files -n @rpmprefix@@tool_target@-gcc -f build/files.gcc |
---|
16 | %defattr(-,root,root) |
---|
17 | %if "%{_prefix}" != "/usr" |
---|
18 | %dir %{_mandir} |
---|
19 | %dir %{_mandir}/man1 |
---|
20 | %endif |
---|
21 | %{_mandir}/man1/@tool_target@-gcc.1* |
---|
22 | %if "%{gcc_version}" >= "3.4" |
---|
23 | %{_mandir}/man1/@tool_target@-cpp.1* |
---|
24 | %{_mandir}/man1/@tool_target@-gcov.1* |
---|
25 | %endif |
---|
26 | |
---|
27 | %if "%{_prefix}" != "/usr" |
---|
28 | %dir %{_bindir} |
---|
29 | %endif |
---|
30 | %{_bindir}/@tool_target@-cpp%{_exeext} |
---|
31 | %{_bindir}/@tool_target@-gcc%{_exeext} |
---|
32 | %if "%{gcc_version}" >= "3.3" |
---|
33 | %{_bindir}/@tool_target@-gcc-%{gcc_version}%{_exeext} |
---|
34 | %endif |
---|
35 | %{_bindir}/@tool_target@-gcov%{_exeext} |
---|
36 | %{_bindir}/@tool_target@-gccbug |
---|
37 | |
---|
38 | %dir %{gcclib}/@tool_target@/%{gcc_version}/include |
---|
39 | |
---|
40 | %dir %{gccexec} |
---|
41 | %dir %{gccexec}/@tool_target@ |
---|
42 | %dir %{gccexec}/@tool_target@/%{gcc_version} |
---|
43 | %{gccexec}/@tool_target@/%{gcc_version}/cc1%{_exeext} |
---|
44 | %{gccexec}/@tool_target@/%{gcc_version}/collect2%{_exeext} |
---|
45 | |
---|