4.104.114.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@ |
---|
9 | License: GPL/LGPL |
---|
10 | URL: http://sources.redhat.com/gdb |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
12 | |
---|
13 | BuildRequires: %{_host_rpmprefix}gcc |
---|
14 | |
---|
15 | %if "%{gdb_version}" >= "6.6" |
---|
16 | # suse |
---|
17 | %if "%{?suse}" |
---|
18 | %if "%{?suse}" >= "10.3" |
---|
19 | BuildRequires: libexpat-devel |
---|
20 | %else |
---|
21 | BuildRequires: expat |
---|
22 | %endif |
---|
23 | %else |
---|
24 | # fedora/redhat/cygwin |
---|
25 | BuildRequires: %{_host_rpmprefix}expat-devel |
---|
26 | %endif |
---|
27 | %endif |
---|
28 | |
---|
29 | %if "%{gdb_version}" < "6.6" |
---|
30 | %if "%{_build}" != "%{_host}" |
---|
31 | BuildRequires: %{_host_rpmprefix}termcap-devel |
---|
32 | %endif |
---|
33 | %endif |
---|
34 | BuildRequires: %{_host_rpmprefix}readline-devel |
---|
35 | BuildRequires: %{_host_rpmprefix}ncurses-devel |
---|
36 | |
---|
37 | %if %build_infos |
---|
38 | # Required for building the infos |
---|
39 | BuildRequires: /sbin/install-info |
---|
40 | BuildRequires: texinfo >= 4.2 |
---|
41 | %endif |
---|
42 | %if "@tool_target@" == "sparc-rtems@rtems_api@" |
---|
43 | BuildConflicts: libtermcap-devel termcap-devel |
---|
44 | %endif |
---|
45 | |
---|
46 | %if %build_infos |
---|
47 | |
---|
48 | Requires: @rpmprefix@gdb-common |
---|
49 | %endif |
---|
50 | |
---|
51 | @SOURCES@ |
---|
52 | |
---|
53 | %description |
---|
54 | GDB for target @tool_target@ |
---|
Note: See
TracBrowser
for help on using the repository browser.