summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gcc/target-gcc.add
blob: fda95f34643a15f7c058acce1302a37b9de91519 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ==============================================================
# @rpmprefix@@tool_target@-gcc
# ==============================================================
# %package -n @rpmprefix@@tool_target@-gcc
# Summary:        GNU cc compiler for @tool_target@
# Group:          Development/Tools
# Version:        %{gcc_rpmvers}
# Requires:       @rpmprefix@@tool_target@-binutils
# Requires:       @rpmprefix@@tool_target@-newlib = %{newlib_version}-%{release}
# License:	GPL

# %if %build_infos
# Requires:      @rpmprefix@gcc-common
# %endif

%description -n @rpmprefix@@tool_target@-gcc
GNU cc compiler for @tool_target@.

%files -n @rpmprefix@@tool_target@-gcc -f build/files.gcc
%defattr(-,root,root)
%sysdir %{_mandir}
%sysdir %{_mandir}/man1
%{_mandir}/man1/@tool_target@-gcc.1*
%if "%{gcc_version}" >= "3.4"
%{_mandir}/man1/@tool_target@-cpp.1*
%{_mandir}/man1/@tool_target@-gcov.1*
%endif

%sysdir %{_bindir}
%{_bindir}/@tool_target@-cpp%{_exeext}
%{_bindir}/@tool_target@-gcc%{_exeext}
%if "%{gcc_version}" >= "3.3"
%{_bindir}/@tool_target@-gcc-%{gcc_version}%{_exeext}
%endif
%{_bindir}/@tool_target@-gcov%{_exeext}
%{_bindir}/@tool_target@-gccbug

%dir %{gcclib}/@tool_target@/%{gcc_version}/include
%if "%{gcc_version}" > "4.0.3"
%if "@tool_target@" != "bfin-rtems4.7"
%dir %{gcclib}/@tool_target@/%{gcc_version}/include/ssp
%endif
%endif

%dir %{gccexec}
%dir %{gccexec}/@tool_target@
%dir %{gccexec}/@tool_target@/%{gcc_version}
%{gccexec}/@tool_target@/%{gcc_version}/cc1%{_exeext}
%{gccexec}/@tool_target@/%{gcc_version}/collect2%{_exeext}