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

4.104.114.84.9
Last change on this file since 86a30d0 was 86a30d0, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 22, 2007 at 7:08:30 AM

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

  • Property mode set to 100644
File size: 1.3 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
14%description -n @rpmprefix@gcc-gnat-common
15RTEMS is an open source operating system for embedded systems.
16
17This is the gcc/gnat tools for the gcc/gnat compiler
18
19%files -n @rpmprefix@gcc-gnat-common
20%defattr(-,root,root)
21%sysdir %{_bindir}
22%{_bindir}/vxaddr2line%{_exeext}
23
24%sysdir %{_infodir}
25%ghost %{_infodir}/dir
26%{_infodir}/gnat*
27
28%post -n @rpmprefix@gcc-gnat-common
29  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
30  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
31  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz || :
32
33%preun -n @rpmprefix@gcc-gnat-common
34if [ $1 -eq 0 ]; then
35  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
36  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
37  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gnat_ugn_unw.info.gz || :
38fi
39%endif
40%endif
Note: See TracBrowser for help on using the repository browser.