source: rtems/scripts/binutils/base-binutils.add @ e4eb1be

4.104.114.84.95
Last change on this file since e4eb1be was e4eb1be, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 22, 2002 at 6:15:43 PM

2002-11-22 Ralf Corsepius <corsepiu@…>

  • binutils/binutils.add: Add BuildPreReq?: /sbin/install-info. Disable nls. Apply gzip -9qf to compress *infos and *mans. Apply /sbin/install-info. Remove *c++-filt.
  • binutils/base-binutils.add: Add PreReq?: /sbin/install-info. Apply /sbin/install-info. Package as.info-*.gz.
  • binutils/target-binutils.add: Package man1/*.1*.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1# ==============================================================
2# rtems-base-binutils
3# ==============================================================
4%package -n rtems-base-binutils
5Provides:       rtems-base-binutils
6Summary:      base package for rtems binutils
7Group: rtems
8PreReq:         /sbin/install-info
9
10%description -n rtems-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 rtems-base-binutils
17  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
18  then
19    rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
20    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
21    test x"$f" != x"" && for i in $f; do
22      /sbin/install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
23    done
24  fi
25
26%postun -n rtems-base-binutils
27  if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
28  then
29    rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
30    f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
31    test x"$f" != x"" && for i in $f; do
32      /sbin/install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
33    done
34  fi
35
36%files -n rtems-base-binutils -f files
37%dir %{_prefix}/info
38%doc %{_prefix}/info/dir
39%doc %{_prefix}/info/as.info.gz
40%doc %{_prefix}/info/as.info-*.gz
41%doc %{_prefix}/info/bfd.info.gz
42%doc %{_prefix}/info/bfd.info-?.gz
43%doc %{_prefix}/info/binutils.info.gz
44%doc %{_prefix}/info/binutils.info-?.gz
45%doc %{_prefix}/info/ld.info.gz
46%doc %{_prefix}/info/ld.info-?.gz
47# deleted as of 2.13
48# %doc %{_prefix}/info/gasp.info.gz
49%doc %{_prefix}/info/standards.info.gz
50
51%dir %{_prefix}/man
52%dir %{_prefix}/man/man1
53
54# deleted as of 2.13
55# %dir %{_prefix}/include
56# %{_prefix}/include/bfd.h
57# %{_prefix}/include/ansidecl.h
58# %{_prefix}/include/bfdlink.h
59
60%dir %{_prefix}/lib
61# deleted as of 2.13
62%{_prefix}/lib/libiberty*
63# deleted as of 2.13
64# %{_prefix}/lib/libbfd*
65# %{_prefix}/lib/libopcodes*
66
67%dir %{_prefix}/share
68%dir %{_prefix}/share/locale
69
Note: See TracBrowser for help on using the repository browser.