source: rtems/scripts/binutils/base-binutils.add @ 1dec74de

4.104.114.84.95
Last change on this file since 1dec74de was 1dec74de, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 27, 2004 at 2:51:19 AM

2004-03-26 Ralf Corsepius <corsepiu@…>

  • binutils/base-binutils.add: Apply _infodir. Don't install libiberty. Misc. cleanups.
  • binutils/binutils.add: Apply _infodir, _mandir. Don't install libiberty. Gzip man pages. Misc. cleanups.
  • binutils/target-binutils.add: Apply _mandir.
  • 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}
7PreReq:         /sbin/install-info
8
9%description -n %{rpmprefix}rtems@osversion@-base-binutils
10
11RTEMS is an open source operating system for embedded systems.
12
13This is the base for binutils regardless of target CPU.
14
15%post -n %{rpmprefix}rtems@osversion@-base-binutils
16  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
17  then
18    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
19    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
20    test x"$f" != x"" && for i in $f; do
21      /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
22    done
23  fi
24
25%postun -n %{rpmprefix}rtems@osversion@-base-binutils
26  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
27  then
28    rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
29    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
30    test x"$f" != x"" && for i in $f; do
31      /sbin/install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
32    done
33  fi
34
35%files -n %{rpmprefix}rtems@osversion@-base-binutils
36%defattr(-,root,root)
37%dir %{_prefix}/info
38%doc %{_infodir}/dir
39%doc %{_infodir}/as.info*
40%doc %{_infodir}/bfd.info*
41%doc %{_infodir}/binutils.info*
42%doc %{_infodir}/ld.info*
43
44%if "%{binutils_version}" < "2.13"
45%doc %{_infodir}/gasp.info*
46%endif
47%doc %{_infodir}/standards.info*
48
49%if "%{binutils_version}" < "2.9.5"
50%doc %{_infodir}/configure.info*
51%endif
52
53# %dir %{_mandir}
54# %dir %{_mandir}/man1
55
56# deleted as of 2.13
57# %dir %{_prefix}/include
58# %{_prefix}/include/bfd.h
59# %{_prefix}/include/ansidecl.h
60# %{_prefix}/include/bfdlink.h
61
62# %dir %{_prefix}/lib
63# %{_prefix}/lib/libiberty*
64# deleted as of 2.13
65# %{_prefix}/lib/libbfd*
66# %{_prefix}/lib/libopcodes*
67
68%dir %{_prefix}/share
69%dir %{_prefix}/share/locale
70
Note: See TracBrowser for help on using the repository browser.