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

4.104.114.84.95
Last change on this file since d5dd9b9 was d5dd9b9, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 28, 2003 at 6:17:15 AM

2003-01-28 Ralf Corsepius <corsepiu@…>

  • setup.def: binutils_rpm_release=2.
  • binutils/base-binutils.add: %defattr(-,root,root).
  • binutils/binutils.add: Ditto.
  • binutils/target-binutils.add: Ditto.
  • 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%defattr(-,root,root)
38%dir %{_prefix}/info
39%doc %{_prefix}/info/dir
40%doc %{_prefix}/info/as.info.gz
41%doc %{_prefix}/info/as.info-*.gz
42%doc %{_prefix}/info/bfd.info.gz
43%doc %{_prefix}/info/bfd.info-?.gz
44%doc %{_prefix}/info/binutils.info.gz
45%doc %{_prefix}/info/binutils.info-?.gz
46%doc %{_prefix}/info/ld.info.gz
47%doc %{_prefix}/info/ld.info-?.gz
48# deleted as of 2.13
49# %doc %{_prefix}/info/gasp.info.gz
50%doc %{_prefix}/info/standards.info.gz
51
52%dir %{_prefix}/man
53%dir %{_prefix}/man/man1
54
55# deleted as of 2.13
56# %dir %{_prefix}/include
57# %{_prefix}/include/bfd.h
58# %{_prefix}/include/ansidecl.h
59# %{_prefix}/include/bfdlink.h
60
61%dir %{_prefix}/lib
62# deleted as of 2.13
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.