source: rtems/scripts/gdb/base-gdb.add @ 5b43316

4.104.114.84.95
Last change on this file since 5b43316 was 847ed4bd, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 29, 2000 at 4:28:27 PM

gdb 5.0 does not install readline so don't try to grab the info files.

  • Property mode set to 100644
File size: 1.5 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
18%dir /opt/rtems/info
19%doc /opt/rtems/info/gdb.info*
20%doc /opt/rtems/info/mmalloc.info*
21# gdb 4.18 installed this, gdb 5.0 does not
22# %doc /opt/rtems/info/readline.info*
23
24%dir /opt/rtems/man
25%dir /opt/rtems/man/man1
26
27%dir /opt/rtems/include
28# We install libbfd from binutils
29# /opt/rtems/include/bfd.h
30# /opt/rtems/include/bfdlink.h
31
32%dir /opt/rtems/lib
33# We install libbfd from binutils
34# /opt/rtems/lib/libbfd*
35# We use libiberty from gcc
36# /opt/rtems/lib/libiberty*
37
38%post -n rtems-base-gdb
39  if test -d $RPM_INSTALL_PREFIX/rtems/info;
40  then
41    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
42    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
43    test -n "$f" && for i in $f; do
44      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
45    done
46  fi
47
48%postun -n rtems-base-gdb
49  if test -d $RPM_INSTALL_PREFIX/rtems/info;
50  then
51    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
52    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
53    test -n "$f" && for i in $f; do
54      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
55    done
56  fi
Note: See TracBrowser for help on using the repository browser.