source: rtems/scripts/binutils/base-binutils.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.9 KB
Line 
1# ==============================================================
2# rtems-base-binutils
3# ==============================================================
4%package -n %{rpmprefix}rtems@osversion@-base-binutils
5Summary:      base package for rtems binutils
6Group: %{rpmgroup}
7Requires(post):         /sbin/install-info
8Requires(preun):        /sbin/install-info
9
10%description -n %{rpmprefix}rtems@osversion@-base-binutils
11
12RTEMS is an open source operating system for embedded systems.
13
14This is the base for binutils regardless of target CPU.
15
16%post -n %{rpmprefix}rtems@osversion@-base-binutils
17  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz
18  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
19  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
20  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz
21  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz
22%if "%{binutils_version}" < "2.13"
23  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gasp.info.gz
24%endif
25
26%preun -n %{rpmprefix}rtems@osversion@-base-binutils
27if [ $1 -eq 0 ]; then
28  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
29  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
30  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
31  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz
32  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz
33%if "%{binutils_version}" < "2.13"
34  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gasp.info.gz
35%endif
36fi
37
38%files -n %{rpmprefix}rtems@osversion@-base-binutils
39%defattr(-,root,root)
40%dir %{_infodir}
41%ghost %{_infodir}/dir
42%{_infodir}/as.info*
43%{_infodir}/bfd.info*
44%{_infodir}/binutils.info*
45%{_infodir}/ld.info*
46%{_infodir}/standards.info*
47
48%if "%{binutils_version}" < "2.13"
49%{_infodir}/gasp.info*
50%endif
51
52%dir %{_prefix}/share
53%dir %{_prefix}/share/locale
Note: See TracBrowser for help on using the repository browser.