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}-%{newlib_release} |
---|
10 | # License: GPL |
---|
11 | |
---|
12 | # %if %build_infos |
---|
13 | # Requires: @rpmprefix@gcc-common |
---|
14 | # %endif |
---|
15 | |
---|
16 | %description -n @rpmprefix@@tool_target@-gcc |
---|
17 | GNU cc compiler for @tool_target@. |
---|
18 | |
---|
19 | %files -n @rpmprefix@@tool_target@-gcc -f build/files.gcc |
---|
20 | %defattr(-,root,root) |
---|
21 | %sysdir %{_mandir} |
---|
22 | %sysdir %{_mandir}/man1 |
---|
23 | %{_mandir}/man1/@tool_target@-gcc.1* |
---|
24 | %if "%{gcc_version}" >= "3.4" |
---|
25 | %{_mandir}/man1/@tool_target@-cpp.1* |
---|
26 | %{_mandir}/man1/@tool_target@-gcov.1* |
---|
27 | %endif |
---|
28 | |
---|
29 | %sysdir %{_bindir} |
---|
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 | %if "%{gcc_version}" > "4.0.3" |
---|
40 | %if "@tool_target@" != "bfin-rtems@rtems_api@" |
---|
41 | %if "@tool_target@" != "avr-rtems@rtems_api@" |
---|
42 | %dir %{gcclib}/@tool_target@/%{gcc_version}/include/ssp |
---|
43 | %endif |
---|
44 | %endif |
---|
45 | %endif |
---|
46 | |
---|
47 | %if "%{gcc_version}" >= "4.3.0" |
---|
48 | %dir %{gcclib}/@tool_target@/%{gcc_version}/include-fixed |
---|
49 | %endif |
---|
50 | |
---|
51 | %dir %{gccexec} |
---|
52 | %dir %{gccexec}/@tool_target@ |
---|
53 | %dir %{gccexec}/@tool_target@/%{gcc_version} |
---|
54 | %{gccexec}/@tool_target@/%{gcc_version}/cc1%{_exeext} |
---|
55 | %{gccexec}/@tool_target@/%{gcc_version}/collect2%{_exeext} |
---|
56 | |
---|