source: rtems/scripts/gdb/base-gdb.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: 1.8 KB
Line 
1# =====================================================================
2# rtems-base-gdb
3# =====================================================================
4
5%package -n %{rpmprefix}rtems@osversion@-base-gdb
6Summary:      base package for rtems gdb
7Group: %{rpmgroup}
8
9%description -n %{rpmprefix}rtems@osversion@-base-gdb
10
11RTEMS is an open source operating system for embedded systems.
12
13This is the base for gdb regardless of target CPU.
14
15%files -n %{rpmprefix}rtems@osversion@-base-gdb
16%defattr(-,root,root)
17
18%dir %{_prefix}/info
19%doc %{_prefix}/info/gdb.info*
20%doc %{_prefix}/info/mmalloc.info*
21# FIXME: When had gdbint and stabs been introduced?
22%if "%{gdb_version}" >= "5.0"
23%doc %{_prefix}/info/gdbint.info*
24%doc %{_prefix}/info/stabs.info*
25%endif
26# gdb 4.18 installed this, gdb 5.0 does not
27%if "%{gdb_version}" < "5.0"
28%doc %{_prefix}/info/readline.info*
29%endif
30
31%dir %{_prefix}/man
32%dir %{_prefix}/man/man1
33
34%dir %{_prefix}/include
35# We install libbfd from binutils
36# %{_prefix}/include/bfd.h
37# %{_prefix}/include/bfdlink.h
38
39%dir %{_prefix}/lib
40# We install libbfd from binutils
41# %{_prefix}/lib/libbfd*
42# We use libiberty from gcc
43# %{_prefix}/lib/libiberty*
44
45%post -n %{rpmprefix}rtems@osversion@-base-gdb
46  if test -d $RPM_INSTALL_PREFIX/rtems/info;
47  then
48    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
49    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
50    test -n "$f" && for i in $f; do
51      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
52    done
53  fi
54
55%postun -n %{rpmprefix}rtems@osversion@-base-gdb
56  if test -d $RPM_INSTALL_PREFIX/rtems/info;
57  then
58    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
59    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
60    test -n "$f" && for i in $f; do
61      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
62    done
63  fi
Note: See TracBrowser for help on using the repository browser.