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

4.104.114.84.95
Last change on this file since ef99210e was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

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