source: rtems/contrib/crossrpms/gdb/gdb.add @ 84f86cb

4.104.114.95
Last change on this file since 84f86cb was 84f86cb, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 31, 2007 at 12:30:51 PM

Reflect suse-10.3 having expat in libexpat-devel.

  • Property mode set to 100644
File size: 934 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
13%if "%{gdb_version}" >= "6.6"
14# suse
15%if "%{?suse}"
16%if "%{?suse}" >= "10.3"
17BuildRequires: libexpat-devel
18%else
19BuildRequires: expat
20%endif
21BuildRequires:  expat
22%else
23# fedora/redhat
24BuildRequires:  expat-devel
25%endif
26%endif
27%if %build_infos
28# Required for building the infos
29BuildRequires:  /sbin/install-info
30BuildRequires:  texinfo >= 4.2
31%endif
32%if "@tool_target@" == "sparc-rtems4.9"
33BuildRequires:  libtermcap-devel
34%endif
35BuildRequires:  ncurses-devel
36%if %build_infos
37
38Requires:       @rpmprefix@gdb-common
39%endif
40
41@SOURCES@
42
43%description
44GDB for target @tool_target@
Note: See TracBrowser for help on using the repository browser.