summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gdb/gdb.add
blob: 4dfc69f7a58e1b77b8cdc158b3b59d0088f90669 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%define gdb_version @GDB_VERS@
%define gdb_rpmvers %{expand:%(echo @GDB_VERS@ | tr - _)} 

Name:		@rpmprefix@@tool_target@-gdb
Summary:	Gdb for target @tool_target@
Group:		Development/Tools
Version:	%{gdb_rpmvers}
Release:	@GDB_RPMREL@%{?dist}
License:	GPL/LGPL
URL: 		http://sources.redhat.com/gdb
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%if "%{gdb_version}" >= "6.6"
BuildRequires:	expat-devel
%endif
%if %build_infos
# Required for building the infos
BuildRequires:	/sbin/install-info
BuildRequires:	texinfo >= 4.2
%endif
%if "@tool_target@" == "sparc-rtems4.7"
BuildRequires:	libtermcap-devel
%endif
BuildRequires:	ncurses-devel
%if %build_infos

Requires:	@rpmprefix@gdb-common
%endif

@SOURCES@

%description
GDB for target @tool_target@