source: rtems/scripts/gdb/base-gdb.add @ 8b2642c2

4.104.114.84.95
Last change on this file since 8b2642c2 was 8b2642c2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/23/04 at 06:04:23

2004-02-23 Ralf Corsepius <corsepiu@…>

  • gdb/base-gdb.add: Add annotate.info.
  • gdb/gdb.add: Remove info/dir.
  • 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%if "{gdb_version}" >= "6.0"
32%doc %{_prefix}/info/annotate.info*
33%endif
34
35%dir %{_prefix}/man
36%dir %{_prefix}/man/man1
37
38# %dir %{_prefix}/include
39# We install libbfd from binutils
40# %{_prefix}/include/bfd.h
41# %{_prefix}/include/bfdlink.h
42
43%dir %{_prefix}/lib
44# We install libbfd from binutils
45# %{_prefix}/lib/libbfd*
46# We use libiberty from gcc
47# %{_prefix}/lib/libiberty*
48
49%post -n %{rpmprefix}rtems@osversion@-base-gdb
50  if test -d $RPM_INSTALL_PREFIX/rtems/info;
51  then
52    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
53    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
54    test -n "$f" && for i in $f; do
55      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
56    done
57  fi
58
59%postun -n %{rpmprefix}rtems@osversion@-base-gdb
60  if test -d $RPM_INSTALL_PREFIX/rtems/info;
61  then
62    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
63    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
64    test -n "$f" && for i in $f; do
65      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
66    done
67  fi
Note: See TracBrowser for help on using the repository browser.