source: rtems/scripts/gdb/base-gdb.add @ c86d8e7f

4.104.114.84.95
Last change on this file since c86d8e7f was c86d8e7f, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 29, 2003 at 2:06:02 PM

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

  • ChangeLog?: Fix yesterday's entry.
  • gdb/target-gdb.add: %defattr(-,root,root). Use %{_prefix} instead of /opt/rtems. Misc. minor changes.
  • gdb/gdb.add: Use %{_prefix} instead of /opt/rtems. Remove stray unpackaged files. Use %{_defaultbuildroot} instead of hard-coded values. configure --disable-nls. Misc. minor changes. Add BuildPreReq?: ncurses-devel.
  • gdb/base-gdb.add: %defattr(-,root,root). Use %{_prefix} instead of /opt/rtems. Misc. minor changes.
  • gdb/mkspec.in: New.
  • gdb/Makefile.am: Reflect addition of gdb/mkspec.in.
  • gcc3newlib/mkspec.in: Fix usage.
  • gcc3newlib/gccnewlib.add: Use %{_defaultbuildroot} instead of hard-coded values. Update copyright notice.
  • mkgdbspec.in: Removed.
  • Makefile.am: Remove mkgdbspec.
  • configure.ac: Remove mkgdbspec. Add gdb/mkspec.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1# =====================================================================
2# rtems-base-gdb
3# =====================================================================
4
5%package -n rtems-base-gdb
6Provides:       rtems-base-gdb
7Summary:      base package for rtems gdb
8Group: rtems
9
10%description -n rtems-base-gdb
11
12RTEMS is an open source operating system for embedded systems.
13
14This is the base for gdb regardless of target CPU.
15
16%files -n rtems-base-gdb
17%defattr(-,root,root)
18
19%dir %{_prefix}/info
20%doc %{_prefix}/info/gdb.info*
21%doc %{_prefix}/info/mmalloc.info*
22# FIXME: When had gdbint and stabs been introduced?
23%if "@gdb_version@" >= "5.0"
24%doc %{_prefix}/info/gdbint.info*
25%doc %{_prefix}/info/stabs.info*
26%endif
27# gdb 4.18 installed this, gdb 5.0 does not
28%if "@gdb_version@" < "5.0"
29%doc %{_prefix}/info/readline.info*
30%endif
31
32%dir %{_prefix}/man
33%dir %{_prefix}/man/man1
34
35%dir %{_prefix}/include
36# We install libbfd from binutils
37# %{_prefix}/include/bfd.h
38# %{_prefix}/include/bfdlink.h
39
40%dir %{_prefix}/lib
41# We install libbfd from binutils
42# %{_prefix}/lib/libbfd*
43# We use libiberty from gcc
44# %{_prefix}/lib/libiberty*
45
46%post -n rtems-base-gdb
47  if test -d $RPM_INSTALL_PREFIX/rtems/info;
48  then
49    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
50    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
51    test -n "$f" && for i in $f; do
52      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
53    done
54  fi
55
56%postun -n rtems-base-gdb
57  if test -d $RPM_INSTALL_PREFIX/rtems/info;
58  then
59    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
60    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
61    test -n "$f" && for i in $f; do
62      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
63    done
64  fi
Note: See TracBrowser for help on using the repository browser.