source: rtems/contrib/crossrpms/gcc/base-newlib.add @ 6cd53b2

4.9
Last change on this file since 6cd53b2 was 6cd53b2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/07/09 at 09:26:19

Sync with CVS-HEAD.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1%if %build_infos
2%if %build_newlib
3# ==============================================================
4# @rpmprefix@newlib-common
5# ==============================================================
6%package -n @rpmprefix@newlib-common
7Summary:        Base package for RTEMS newlib C Library
8Group:          Development/Tools
9Version:        %{newlib_version}
10Release:        @NEWLIB_RPMREL@
11License:        Distributable
12
13Requires(post):         /sbin/install-info
14Requires(preun):        /sbin/install-info
15
16%description -n @rpmprefix@newlib-common
17newlib files that are shared by all targets.
18
19%files -n @rpmprefix@newlib-common
20%defattr(-,root,root)
21%sysdir %{_infodir}
22%ghost %{_infodir}/dir
23%{_infodir}/libc.info*
24%{_infodir}/libm.info*
25
26%post -n @rpmprefix@newlib-common
27  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
28  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
29
30%preun -n @rpmprefix@newlib-common
31if [ $1 -eq 0 ]; then
32  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
33  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
34fi
35
36%endif
37%endif
Note: See TracBrowser for help on using the repository browser.