source: rtems/contrib/crossrpms/gdb/base-gdb.add @ 4cf3275

4.8
Last change on this file since 4cf3275 was aa26724, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 1, 2007 at 7:35:16 AM

Sync with trunk

  • Property mode set to 100644
File size: 1.3 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  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
18  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
19  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
20
21%preun -n @rpmprefix@gdb-common
22if [ $1 -eq 0 ]; then
23  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
24  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
25  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
26  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
27fi
28
29%files -n @rpmprefix@gdb-common
30%defattr(-,root,root)
31%sysdir %{_infodir}
32%ghost %{_infodir}/dir
33%{_infodir}/gdb.info*
34
35%{_infodir}/gdbint.info*
36%{_infodir}/stabs.info*
37%{_infodir}/annotate.info*
38
39%endif
Note: See TracBrowser for help on using the repository browser.