source:
rtems/contrib/crossrpms/gdb/gdb.add
@
fa4e67c
Last change on this file since fa4e67c was 84f86cb, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/31/07 at 12:30:51 | |
---|---|
|
|
File size: 934 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" |
[84f86cb] | 14 | # suse |
[ed332c8] | 15 | %if "%{?suse}" |
[84f86cb] | 16 | %if "%{?suse}" >= "10.3" |
17 | BuildRequires: libexpat-devel | |
18 | %else | |
19 | BuildRequires: expat | |
20 | %endif | |
[ed332c8] | 21 | BuildRequires: expat |
[84f86cb] | 22 | %else |
23 | # fedora/redhat | |
[1ee16e8] | 24 | BuildRequires: expat-devel |
25 | %endif | |
[ed332c8] | 26 | %endif |
[e8a6236] | 27 | %if %build_infos |
[59c3dfe] | 28 | # Required for building the infos |
29 | BuildRequires: /sbin/install-info | |
30 | BuildRequires: texinfo >= 4.2 | |
31 | %endif | |
[51aac0e] | 32 | %if "@tool_target@" == "sparc-rtems4.9" |
[6933a4c] | 33 | BuildRequires: libtermcap-devel |
34 | %endif | |
[13501927] | 35 | BuildRequires: ncurses-devel |
[c20efa7] | 36 | %if %build_infos |
37 | ||
[385f81c] | 38 | Requires: @rpmprefix@gdb-common |
[c20efa7] | 39 | %endif |
[59c3dfe] | 40 | |
41 | @SOURCES@ | |
42 | ||
43 | %description | |
[385f81c] | 44 | GDB for target @tool_target@ |
Note: See TracBrowser
for help on using the repository browser.