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

4.104.114.84.95
Last change on this file since e41b8b7 was 1ac7a00, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 16, 2006 at 4:51:16 AM

Eliminate @osversion. Hard-code 4.7.

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