source: rtems/contrib/crossrpms/gdb/gdb.add @ f86abfa

4.104.114.95
Last change on this file since f86abfa was f86abfa, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/31/08 at 04:40:59

BR: %{_host_rpmprefix}expat-devel.

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