source: rtems/contrib/crossrpms/gcc/base-gcj.add @ 150fd4ca

4.104.11
Last change on this file since 150fd4ca was 150fd4ca, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 27, 2009 at 2:18:11 AM

Remove outdated conditionals.

  • Property mode set to 100644
File size: 1.6 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%{_infodir}/fastjar.info*
32
33%if "%{gcc_version}" < "4.0"
34%if "%{gcc_version}" >= "3.3"
35%sysdir %{_mandir}
36%sysdir %{_mandir}/man1
37%{_mandir}/man1/gcjh.1*
38%{_mandir}/man1/jv-scan.1*
39%{_mandir}/man1/jcf-dump.1*
40%{_mandir}/man1/gij.1*
41%{_mandir}/man1/jv-convert.1*
42%{_mandir}/man1/rmic.1*
43%{_mandir}/man1/rmiregistry.1*
44%{_mandir}/man1/jar.1*
45%{_mandir}/man1/grepjar.1*
46%endif
47%endif
48
49%post -n @rpmprefix@gcc-gcj-common
50/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcj.info* || :
51/sbin/install-info --info-dir=%{_infodir} %{_infodir}/fastjar.info* || :
52
53%preun -n @rpmprefix@gcc-gcj-common
54if [ $1 -eq 0 ]; then
55  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcj.info* || :
56  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/fastjar.info* || :
57fi
58
59%endif
60%endif
Note: See TracBrowser for help on using the repository browser.