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

4.104.114.84.95
Last change on this file since cdf5ff65 was cdf5ff65, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 4, 2003 at 2:39:05 PM

2003-09-04 Ralf Corsepius <corsepiu@…>

  • binutils/base-binutils.add: Add osversion support.
  • binutils/binutils.add: Add osversion support. %setup -n %{name}-%{version}. Don't remove c++filt.
  • binutils/target-binutils.add: Add osversion support. Pickup c++filt.
  • gcc3newlib/base-g77.add: Add osversion support.
  • gcc3newlib/base-gcc.add: Add osversion support.
  • gcc3newlib/base-gcj.add: Add osversion support.
  • gcc3newlib/base-gnat.add: Add osversion support.
  • gcc3newlib/gccnewlib.add: Add osversion support. Remove c++filt, %setup -n -n %{name}-%{version}.
  • gcc3newlib/target-c++.add: Add osversion support. Don't pickup c++filt.
  • gcc3newlib/target-g77.add: Add osversion support.
  • gcc3newlib/target-gcc.add: Add osversion support.
  • gcc3newlib/target-gcj.add: Add osversion support.
  • gcc3newlib/target-gnat.add: Add osversion support.
  • gccnewlib/gccnewlib.add: %setup -n %{name}-%{version}.
  • gdb/base-gdb.add: Add osversion support, rpmgroup, rpmprefix, gdb_version, gdb_target.
  • gdb/target-gdb.add: Ditto.
  • gdb/gdb.add: Ditto. %setup -n -n %{name}-%{version}.
  • Property mode set to 100644
File size: 2.1 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%{_prefix}/info/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%{_prefix}/info/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%{_prefix}/info/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%{_prefix}/info/dir
32    done
33  fi
34
35%files -n %{rpmprefix}rtems@osversion@-base-binutils -f files
36%defattr(-,root,root)
37%dir %{_prefix}/info
38%doc %{_prefix}/info/dir
39%doc %{_prefix}/info/as.info.gz
40%doc %{_prefix}/info/bfd.info.gz
41%doc %{_prefix}/info/binutils.info.gz
42%doc %{_prefix}/info/ld.info.gz
43%if "%{binutils_version}" < "2.14"
44%doc %{_prefix}/info/as.info-*.gz
45%doc %{_prefix}/info/bfd.info-?.gz
46%doc %{_prefix}/info/binutils.info-?.gz
47%doc %{_prefix}/info/ld.info-?.gz
48%endif
49# deleted as of 2.13
50# %doc %{_prefix}/info/gasp.info.gz
51%doc %{_prefix}/info/standards.info.gz
52
53%dir %{_prefix}/man
54%dir %{_prefix}/man/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# deleted as of 2.13
64%{_prefix}/lib/libiberty*
65# deleted as of 2.13
66# %{_prefix}/lib/libbfd*
67# %{_prefix}/lib/libopcodes*
68
69%dir %{_prefix}/share
70%dir %{_prefix}/share/locale
71
Note: See TracBrowser for help on using the repository browser.