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

4.104.114.84.95
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.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}
10License:        Distributable
11
12Requires(post):         /sbin/install-info
13Requires(preun):        /sbin/install-info
14
15%description -n @rpmprefix@newlib-common
16newlib files that are shared by all targets.
17
18%files -n @rpmprefix@newlib-common
19%defattr(-,root,root)
20%sysdir %{_infodir}
21%ghost %{_infodir}/dir
22%{_infodir}/libc.info*
23%{_infodir}/libm.info*
24
25%post -n @rpmprefix@newlib-common
26  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
27  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
28
29%preun -n @rpmprefix@newlib-common
30if [ $1 -eq 0 ]; then
31  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz || :
32  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/libm.info.gz || :
33fi
34
35%endif
36%endif
Note: See TracBrowser for help on using the repository browser.