[b3a8c23b] | 1 | # ============================================================== |
---|
[31ca289a] | 2 | # @rpmprefix@@tool_target@-gcc |
---|
[b3a8c23b] | 3 | # ============================================================== |
---|
[9827ed6f] | 4 | # %package -n @rpmprefix@@tool_target@-gcc |
---|
| 5 | # Summary: GNU cc compiler for @tool_target@ |
---|
| 6 | # Group: Development/Tools |
---|
[740d8240] | 7 | # Version: %{gcc_rpmvers} |
---|
[9827ed6f] | 8 | # Requires: @rpmprefix@@tool_target@-binutils |
---|
[c665ca3] | 9 | # Requires: @rpmprefix@@tool_target@-newlib = %{newlib_version}-%{release} |
---|
[9827ed6f] | 10 | # License: GPL |
---|
[b3a8c23b] | 11 | |
---|
[c10a31b] | 12 | # %if %build_infos |
---|
[5e58aa92] | 13 | # Requires: @rpmprefix@gcc-common |
---|
[c10a31b] | 14 | # %endif |
---|
| 15 | |
---|
[b3a8c23b] | 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) |
---|
[c3af37c] | 21 | %sysdir %{_mandir} |
---|
| 22 | %sysdir %{_mandir}/man1 |
---|
[b3a8c23b] | 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 | |
---|
[c3af37c] | 29 | %sysdir %{_bindir} |
---|
[b3a8c23b] | 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 |
---|
[5e58aa92] | 39 | %if "%{gcc_version}" > "4.0.3" |
---|
[6d7e836] | 40 | %if "@tool_target@" != "bfin-rtems4.7" |
---|
[a52dc937] | 41 | %dir %{gcclib}/@tool_target@/%{gcc_version}/include/ssp |
---|
| 42 | %endif |
---|
[6d7e836] | 43 | %endif |
---|
[b3a8c23b] | 44 | |
---|
| 45 | %dir %{gccexec} |
---|
| 46 | %dir %{gccexec}/@tool_target@ |
---|
| 47 | %dir %{gccexec}/@tool_target@/%{gcc_version} |
---|
| 48 | %{gccexec}/@tool_target@/%{gcc_version}/cc1%{_exeext} |
---|
| 49 | %{gccexec}/@tool_target@/%{gcc_version}/collect2%{_exeext} |
---|
| 50 | |
---|