Changeset 84019c5 in rtems for contrib/crossrpms/gdb/gdb.add


Ignore:
Timestamp:
09/19/11 22:42:33 (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10
Children:
224463d
Parents:
a1bfb33
Message:

Sync with CVS-HEAD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gdb/gdb.add

    ra1bfb33 r84019c5  
    1313BuildRequires:  %{_host_rpmprefix}gcc
    1414
    15 %define build_sim --enable-sim
     15%global build_sim --enable-sim
     16
     17# Whether to build against system readline
     18# Default: yes
     19%bcond_without system_readline
     20
     21# Whether to build python support
     22%if "%{_build}" != "%{_host}"
     23# Can't build python Cdn-X
     24%bcond_with python
     25%else
     26%bcond_without python
     27%endif
     28%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
    1629
    1730%if "@tool_target@" == "powerpc-rtems@rtems_api@"
    1831%if "%{_build}" != "%{_host}"
    1932# psim doesn't support Cdn-X
    20 %define build_sim --disable-sim
     33%global build_sim --disable-sim
    2134%else
    22 %define build_sim --enable-sim --enable-sim-trace
     35%global build_sim --enable-sim --enable-sim-trace
    2336%endif
    2437%endif
     
    5467%endif
    5568
    56 %if "%{gdb_version}" >= "6.6"
    5769# suse
    5870%if "%{?suse}" >= "10.3"
     
    6274BuildRequires: %{_host_rpmprefix}expat-devel
    6375%endif
    64 %endif
    6576
    66 %if "%{gdb_version}" < "6.7"
    67 %if "%{_build}" != "%{_host}"
    68 BuildRequires:  %{_host_rpmprefix}termcap-devel
    69 %endif
    70 %bcond_with system_readline
    71 %else
    72 %bcond_without system_readline
    73 %endif
    7477%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
    7578BuildRequires:  %{_host_rpmprefix}ncurses-devel
    76 
    77 %if "%{gdb_version}" >= "6.8.50"
    78 %if "%{_build}" != "%{_host}"
    79 # Can't build python Cdn-X
    80 %bcond_with python
    81 %else
    82 %bcond_without python
    83 %endif
    84 %endif
    85 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
    8679
    8780%if %build_infos
     
    8982BuildRequires:  /sbin/install-info
    9083BuildRequires:  texinfo >= 4.2
     84Requires:       @rpmprefix@gdb-common
     85
    9186%endif
    92 
    93 %if %build_infos
    94 
    95 Requires:       @rpmprefix@gdb-common
    96 %endif
    97 
    9887@SOURCES@
    9988
Note: See TracChangeset for help on using the changeset viewer.