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

4.104.114.84.95
Last change on this file since d8fa12c was d8fa12c, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 20, 2005 at 7:24:58 AM

2005-04-20 Ralf Corsepius <ralf.corsepius@…>

  • gdb/base-gdb.add, gdb/gdb.add, gdb/target-gdb.add: Use mkdir -p. Introduce %{_includedir}, %{_libdir}. Remove superfluous %doc.
  • Property mode set to 100644
File size: 1.3 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 %{_infodir}
19%{_infodir}/gdb.info*
20
21# FIXME: When had mmalloc.info been removed?
22%if "%{gdb_version}" < "6.3"
23%{_infodir}/mmalloc.info*
24%endif
25# FIXME: When had gdbint and stabs been introduced?
26%if "%{gdb_version}" >= "5.0"
27%{_infodir}/gdbint.info*
28%{_infodir}/stabs.info*
29%endif
30
31%if "{gdb_version}" >= "6.0"
32%{_infodir}/annotate.info*
33%endif
34
35%dir %{_mandir}
36%dir %{_mandir}/man1
37
38%post -n %{rpmprefix}rtems@osversion@-base-gdb
39  if test -d %{_infodir};
40  then
41    rm -f %{_infodir}/dir
42    f=`find %{_infodir} -name '*.info.gz'`
43    test -n "$f" && for i in $f; do
44      install-info $i %{_infodir}/dir
45    done
46  fi
47
48%postun -n %{rpmprefix}rtems@osversion@-base-gdb
49  if test -d %{_infodir};
50  then
51    rm -f %{_infodir}/dir
52    f=`find %{_infodir} -name '*.info.gz'`
53    test -n "$f" && for i in $f; do
54      install-info $i %{_infodir}/dir
55    done
56  fi
Note: See TracBrowser for help on using the repository browser.