source:
rtems/contrib/crossrpms/gdb/gdb.add
@
2d9201a
Last change on this file since 2d9201a was ee19567c, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 9, 2007 at 2:53:30 AM | |
---|---|
|
|
File size: 822 bytes |
Rev | Line | |
---|---|---|
[59c3dfe] | 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} | |
[ee19567c] | 8 | Release: @GDB_RPMREL@ |
[59c3dfe] | 9 | License: GPL/LGPL |
10 | URL: http://sources.redhat.com/gdb | |
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
12 | ||
[1ee16e8] | 13 | %if "%{gdb_version}" >= "6.6" |
[ed332c8] | 14 | %if "%{?suse}" |
15 | BuildRequires: expat | |
16 | %else | |
[1ee16e8] | 17 | BuildRequires: expat-devel |
18 | %endif | |
[ed332c8] | 19 | %endif |
[e8a6236] | 20 | %if %build_infos |
[59c3dfe] | 21 | # Required for building the infos |
22 | BuildRequires: /sbin/install-info | |
23 | BuildRequires: texinfo >= 4.2 | |
24 | %endif | |
[5cde0c4] | 25 | %if "@tool_target@" == "sparc-rtems4.8" |
[6933a4c] | 26 | BuildRequires: libtermcap-devel |
27 | %endif | |
[13501927] | 28 | BuildRequires: ncurses-devel |
[c20efa7] | 29 | %if %build_infos |
30 | ||
[385f81c] | 31 | Requires: @rpmprefix@gdb-common |
[c20efa7] | 32 | %endif |
[59c3dfe] | 33 | |
34 | @SOURCES@ | |
35 | ||
36 | %description | |
[385f81c] | 37 | GDB for target @tool_target@ |
Note: See TracBrowser
for help on using the repository browser.