4.104.114.84.95
Line | |
---|
1 | %define gdb_version @GDB_VERS@ |
---|
2 | %define gdb_rpmvers %{expand:%(echo @GDB_VERS@ | tr - _)} |
---|
3 | |
---|
4 | Name: @rpmprefix@@tool_target@-gdb |
---|
5 | Summary: Gdb for target @tool_target@ |
---|
6 | Group: Development/Tools |
---|
7 | Version: %{gdb_rpmvers} |
---|
8 | Release: @GDB_RPMREL@%{?dist} |
---|
9 | License: GPL/LGPL |
---|
10 | URL: http://sources.redhat.com/gdb |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
12 | |
---|
13 | %if "%{gdb_version}" >= "6.6" |
---|
14 | %if "%{?suse}" |
---|
15 | BuildRequires: expat |
---|
16 | %else |
---|
17 | BuildRequires: expat-devel |
---|
18 | %endif |
---|
19 | %endif |
---|
20 | %if %build_infos |
---|
21 | # Required for building the infos |
---|
22 | BuildRequires: /sbin/install-info |
---|
23 | BuildRequires: texinfo >= 4.2 |
---|
24 | %endif |
---|
25 | %if "@tool_target@" == "sparc-rtems4.8" |
---|
26 | BuildRequires: libtermcap-devel |
---|
27 | %endif |
---|
28 | BuildRequires: ncurses-devel |
---|
29 | %if %build_infos |
---|
30 | |
---|
31 | Requires: @rpmprefix@gdb-common |
---|
32 | %endif |
---|
33 | |
---|
34 | @SOURCES@ |
---|
35 | |
---|
36 | %description |
---|
37 | GDB for target @tool_target@ |
---|
Note: See
TracBrowser
for help on using the repository browser.