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

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

Reflect suse-10.3 having expat in libexpat-devel.

  • Property mode set to 100644
File size: 934 bytes
RevLine 
[59c3dfe]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}
[ee19567c]8Release:        @GDB_RPMREL@
[59c3dfe]9License:        GPL/LGPL
10URL:            http://sources.redhat.com/gdb
11BuildRoot:      %{_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"
17BuildRequires: libexpat-devel
18%else
19BuildRequires: expat
20%endif
[ed332c8]21BuildRequires:  expat
[84f86cb]22%else
23# fedora/redhat
[1ee16e8]24BuildRequires:  expat-devel
25%endif
[ed332c8]26%endif
[e8a6236]27%if %build_infos
[59c3dfe]28# Required for building the infos
29BuildRequires:  /sbin/install-info
30BuildRequires:  texinfo >= 4.2
31%endif
[51aac0e]32%if "@tool_target@" == "sparc-rtems4.9"
[6933a4c]33BuildRequires:  libtermcap-devel
34%endif
[13501927]35BuildRequires:  ncurses-devel
[c20efa7]36%if %build_infos
37
[385f81c]38Requires:       @rpmprefix@gdb-common
[c20efa7]39%endif
[59c3dfe]40
41@SOURCES@
42
43%description
[385f81c]44GDB for target @tool_target@
Note: See TracBrowser for help on using the repository browser.