1 | %if %build_gcj |
---|
2 | # ============================================================== |
---|
3 | # @rpmprefix@@tool_target@-gcj |
---|
4 | # ============================================================== |
---|
5 | %package -n @rpmprefix@@tool_target@-gcj |
---|
6 | Summary: Java support (gcj) for @tool_target@-gcc |
---|
7 | Group: Development/Tools |
---|
8 | Version: %{gcc_rpmvers} |
---|
9 | License: GPL |
---|
10 | Provides: @rpmprefix@@tool_target@-gcc-gcj = %{gcc_rpmvers}-%{release} |
---|
11 | |
---|
12 | %if %build_infos |
---|
13 | Requires: @rpmprefix@gcc-gcj-common |
---|
14 | %endif |
---|
15 | Requires: @rpmprefix@@tool_target@-gcc = %{gcc_rpmvers}-%{release} |
---|
16 | |
---|
17 | %description -n @rpmprefix@@tool_target@-gcj |
---|
18 | RTEMS is an open source operating system for embedded systems. |
---|
19 | |
---|
20 | This is the gcc/java compiler for @tool_target@ |
---|
21 | |
---|
22 | %files -n @rpmprefix@@tool_target@-gcj -f build/files.gcj |
---|
23 | %defattr(-,root,root) |
---|
24 | %{_bindir}/@tool_target@-gcj%{_exeext} |
---|
25 | %{_bindir}/@tool_target@-jcf-dump%{_exeext} |
---|
26 | %{_bindir}/@tool_target@-jv-scan%{_exeext} |
---|
27 | %{_bindir}/@tool_target@-gcjh%{_exeext} |
---|
28 | |
---|
29 | %if "%{gcc_version}" >= "3.4" |
---|
30 | %{_bindir}/@tool_target@-*jar%{_exeext} |
---|
31 | |
---|
32 | %{_mandir}/man1/@tool_target@-*jar.1* |
---|
33 | %{_mandir}/man1/@tool_target@-gcj*.1* |
---|
34 | %{_mandir}/man1/@tool_target@-jv-*.1* |
---|
35 | %{_mandir}/man1/@tool_target@-jcf-dump.1* |
---|
36 | %{_mandir}/man1/@tool_target@-gij.1* |
---|
37 | %endif |
---|
38 | |
---|
39 | %if "%{gcc_version}" >= "4.0" |
---|
40 | %{_mandir}/man1/@tool_target@-grmi*.1* |
---|
41 | %else |
---|
42 | %if "%{gcc_version}" >= "3.4" |
---|
43 | %{_mandir}/man1/@tool_target@-rmi*.1* |
---|
44 | %endif |
---|
45 | %endif |
---|
46 | |
---|
47 | %dir %{gccexec} |
---|
48 | %dir %{gccexec}/@tool_target@ |
---|
49 | %dir %{gccexec}/@tool_target@/%{gcc_version} |
---|
50 | %{gccexec}/@tool_target@/%{gcc_version}/jc1%{_exeext} |
---|
51 | %{gccexec}/@tool_target@/%{gcc_version}/jvgenmain%{_exeext} |
---|
52 | |
---|
53 | %endif |
---|
54 | |
---|