source: rtems/contrib/crossrpms/gcc/base-gcj.add @ 86a30d0

4.104.114.84.95
Last change on this file since 86a30d0 was 86a30d0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/22/07 at 07:08:30

Various patches from rtems-4-8-testing branch.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1%if %build_infos
2%if %build_gcj
3# ==============================================================
4# @rpmprefix@gcc-gcj-common
5# ==============================================================
6%package -n @rpmprefix@gcc-gcj-common
7Summary:        Base package for rtems gcc/java compiler (gcj)
8Group:          Development/Tools
9Version:        %{gcc_rpmvers}
10License:        GPL
11
12Requires(post):         /sbin/install-info
13Requires(preun):        /sbin/install-info
14
15%description -n @rpmprefix@gcc-gcj-common
16RTEMS is an open source operating system for embedded systems.
17
18This is the files for gcc/java (gcj) that are shared by all targets.
19
20%files -n @rpmprefix@gcc-gcj-common
21%defattr(-,root,root)
22%if "%{gcc_version}" <= "3.4"
23%sysdir %{_bindir}
24%{_bindir}/jar%{_exeext}
25%{_bindir}/grepjar%{_exeext}
26%endif
27
28%sysdir %{_infodir}
29%ghost %{_infodir}/dir
30%{_infodir}/gcj.info*
31%if "%{gcc_version}" >= "3.3"
32%{_infodir}/fastjar.info*
33%endif
34
35%if "%{gcc_version}" < "4.0"
36%if "%{gcc_version}" >= "3.3"
37%sysdir %{_mandir}
38%sysdir %{_mandir}/man1
39%{_mandir}/man1/gcjh.1*
40%{_mandir}/man1/jv-scan.1*
41%{_mandir}/man1/jcf-dump.1*
42%{_mandir}/man1/gij.1*
43%{_mandir}/man1/jv-convert.1*
44%{_mandir}/man1/rmic.1*
45%{_mandir}/man1/rmiregistry.1*
46%{_mandir}/man1/jar.1*
47%{_mandir}/man1/grepjar.1*
48%endif
49%endif
50
51%post -n @rpmprefix@gcc-gcj-common
52/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcj.info* || :
53
54%if "%{gcc_version}" >= "3.3"
55  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/fastjar.info* || :
56%endif
57
58%preun -n @rpmprefix@gcc-gcj-common
59if [ $1 -eq 0 ]; then
60/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcj.info* || :
61
62%if "%{gcc_version}" >= "3.3"
63  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/fastjar.info* || :
64%endif
65fi
66
67%endif
68%endif
Note: See TracBrowser for help on using the repository browser.