source: rtems/contrib/crossrpms/gdb/base-gdb.add @ 84f86cb

4.104.114.95
Last change on this file since 84f86cb was 2ef64f2, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 9, 2007 at 2:55:36 AM

Remove references to base packages.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1%if %build_infos
2# ==============================================================
3# @rpmprefix@gdb-common
4# ==============================================================
5%package -n @rpmprefix@gdb-common
6Summary:      Base package for RTEMS gdbs
7Group: Development/Tools
8Requires(post):         /sbin/install-info
9Requires(preun):        /sbin/install-info
10
11%description -n @rpmprefix@gdb-common
12
13GDB files shared by all targets.
14
15%post -n @rpmprefix@gdb-common
16  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
17%if "%{gdb_version}" < "6.3"
18  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/mmalloc.info.gz || :
19%endif
20  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
21  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
22  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
23
24%preun -n @rpmprefix@gdb-common
25if [ $1 -eq 0 ]; then
26  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
27%if "%{gdb_version}" < "6.3"
28  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/mmalloc.info.gz || :
29%endif
30  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
31  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
32  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
33fi
34
35%files -n @rpmprefix@gdb-common
36%defattr(-,root,root)
37%sysdir %{_infodir}
38%ghost %{_infodir}/dir
39%{_infodir}/gdb.info*
40
41# FIXME: When had mmalloc.info been removed?
42%if "%{gdb_version}" < "6.3"
43%{_infodir}/mmalloc.info*
44%endif
45%{_infodir}/gdbint.info*
46%{_infodir}/stabs.info*
47%{_infodir}/annotate.info*
48
49%endif
Note: See TracBrowser for help on using the repository browser.