source: rtems/scripts/gccnewlib/base-gnat.add @ b3fded0f

4.104.114.84.95
Last change on this file since b3fded0f was b3fded0f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/20/05 at 05:40:30

install-info --info-dir=

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