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

4.8
Last change on this file since 4cf3275 was 90c85d5b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 29, 2008 at 11:38:26 AM

Sync with CVS-HEAD.

  • Property mode set to 100644
File size: 1.1 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
13BuildRequires:  %{_host_rpmprefix}gcc
14
15%if "%{gdb_version}" >= "6.6"
16# suse
17%if "%{?suse}"
18%if "%{?suse}" >= "10.3"
19BuildRequires: libexpat-devel
20%else
21BuildRequires: expat
22%endif
23%else
24# fedora/redhat/cygwin
25BuildRequires: %{_host_rpmprefix}expat-devel
26%endif
27%endif
28
29%if "%{gdb_version}" < "6.7"
30%if "%{_build}" != "%{_host}"
31BuildRequires:  %{_host_rpmprefix}termcap-devel
32%endif
33%endif
34BuildRequires:  %{_host_rpmprefix}readline-devel
35BuildRequires:  %{_host_rpmprefix}ncurses-devel
36
37%if %build_infos
38# Required for building the infos
39BuildRequires:  /sbin/install-info
40BuildRequires:  texinfo >= 4.2
41%endif
42
43%if %build_infos
44
45Requires:       @rpmprefix@gdb-common
46%endif
47
48@SOURCES@
49
50%description
51GDB for target @tool_target@
Note: See TracBrowser for help on using the repository browser.