source: rtems/contrib/crossrpms/gdb/gdb.add @ b0f67b53

4.8
Last change on this file since b0f67b53 was b0f67b53, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/26/08 at 05:46:39

Use rtems_api.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1%define gdb_version @GDB_VERS@
2%define gdb_rpmvers %{expand:%(echo @GDB_VERS@ | tr - _)}
3
4Name:           @rpmprefix@@tool_target@-gdb
5Summary:        Gdb for target @tool_target@
6Group:          Development/Tools
7Version:        %{gdb_rpmvers}
8Release:        @GDB_RPMREL@
9License:        GPL/LGPL
10URL:            http://sources.redhat.com/gdb
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13%if "%{_build}" != "%{_host}"
14BuildRequires:  @rpmprefix@%{_host}-gcc
15%endif
16
17%if "%{gdb_version}" >= "6.6"
18# suse
19%if "%{?suse}"
20%if "%{?suse}" >= "10.3"
21BuildRequires: libexpat-devel
22%else
23BuildRequires: expat
24%endif
25%else
26# fedora/redhat
27BuildRequires:  expat-devel
28%endif
29%endif
30%if %build_infos
31# Required for building the infos
32BuildRequires:  /sbin/install-info
33BuildRequires:  texinfo >= 4.2
34%endif
35%if "@tool_target@" == "sparc-rtems@rtems_api@"
36BuildConflicts: libtermcap-devel termcap-devel
37%endif
38BuildRequires:  readline-devel
39BuildRequires:  ncurses-devel
40%if %build_infos
41
42Requires:       @rpmprefix@gdb-common
43%endif
44
45@SOURCES@
46
47%description
48GDB for target @tool_target@
Note: See TracBrowser for help on using the repository browser.