source: rtems/contrib/crossrpms/gcc/base-gnat.add @ 64ccc152

4.104.114.84.9
Last change on this file since 64ccc152 was 64ccc152, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 16, 2007 at 8:31:33 AM

Ignore errors on install-info.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1%if %build_infos
2%if %build_gnat
3# ==============================================================
4# @rpmprefix@gcc-gnat-common
5# ==============================================================
6%package -n @rpmprefix@gcc-gnat-common
7Summary:        Base package for RTEMS gcc/gnat compiler
8Group:          Development/Tools
9License:        GPL
10
11Requires(post):         /sbin/install-info
12Requires(preun):        /sbin/install-info
13
14Provides:       @rpmprefix@rtems4.7-base-gnat = %{gcc_rpmvers}-%{release}
15Obsoletes:      @rpmprefix@rtems4.7-base-gnat < %{gcc_rpmvers}-%{release}
16Provides:       @rpmprefix@rtems-base-gnat = %{gcc_rpmvers}-%{release}
17Obsoletes:      @rpmprefix@rtems-base-gnat < %{gcc_rpmvers}-%{release}
18
19%description -n @rpmprefix@gcc-gnat-common
20RTEMS is an open source operating system for embedded systems.
21
22This is the gcc/gnat tools for the gcc/gnat compiler
23
24%files -n @rpmprefix@gcc-gnat-common
25%defattr(-,root,root)
26%sysdir %{_bindir}
27%{_bindir}/vxaddr2line%{_exeext}
28
29%sysdir %{_infodir}
30%ghost %{_infodir}/dir
31%{_infodir}/gnat*
32
33%post -n @rpmprefix@gcc-gnat-common
34  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
35  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
36  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz || :
37
38%preun -n @rpmprefix@gcc-gnat-common
39if [ $1 -eq 0 ]; then
40  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
41  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
42  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz || :
43fi
44%endif
45%endif
Note: See TracBrowser for help on using the repository browser.