source: rtems/contrib/crossrpms/gcc/base-gcj.add @ 793bad2

4.104.114.84.9
Last change on this file since 793bad2 was 793bad2, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 23, 2006 at 2:17:48 PM

Rename *base packages into gcc*-common

  • Property mode set to 100644
File size: 2.0 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
15Provides:       @rpmprefix@rtems4.7-base-gcj = %{gcc_rpmvers}-%{release}
16Obsoletes:      @rpmprefix@rtems4.7-base-gcj < %{gcc_rpmvers}-%{release}
17Provides:       @rpmprefix@rtems-base-gcj = %{gcc_rpmvers}-%{release}
18Obsoletes:      @rpmprefix@rtems-base-gcj < %{gcc_rpmvers}-%{release}
19
20%description -n @rpmprefix@gcc-gcj-common
21RTEMS is an open source operating system for embedded systems.
22
23This is the files for gcc/java (gcj) that are shared by all targets.
24
25%files -n @rpmprefix@gcc-gcj-common
26%defattr(-,root,root)
27%if "%{gcc_version}" <= "3.4"
28%sysdir %{_bindir}
29%{_bindir}/jar%{_exeext}
30%{_bindir}/grepjar%{_exeext}
31%endif
32
33%sysdir %{_infodir}
34%ghost %{_infodir}/dir
35%{_infodir}/gcj.info*
36%if "%{gcc_version}" >= "3.3"
37%{_infodir}/fastjar.info*
38%endif
39
40%if "%{gcc_version}" < "4.0"
41%if "%{gcc_version}" >= "3.3"
42%sysdir %{_mandir}
43%sysdir %{_mandir}/man1
44%{_mandir}/man1/gcjh.1*
45%{_mandir}/man1/jv-scan.1*
46%{_mandir}/man1/jcf-dump.1*
47%{_mandir}/man1/gij.1*
48%{_mandir}/man1/jv-convert.1*
49%{_mandir}/man1/rmic.1*
50%{_mandir}/man1/rmiregistry.1*
51%{_mandir}/man1/jar.1*
52%{_mandir}/man1/grepjar.1*
53%endif
54%endif
55
56%post -n @rpmprefix@gcc-gcj-common
57/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcj.info*
58
59%if "%{gcc_version}" >= "3.3"
60  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/fastjar.info*
61%endif
62
63%preun -n @rpmprefix@gcc-gcj-common
64if [ $1 -eq 0 ]; then
65/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gcj.info*
66
67%if "%{gcc_version}" >= "3.3"
68  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/fastjar.info*
69%endif
70fi
71
72%endif
73%endif
Note: See TracBrowser for help on using the repository browser.