source: rtems/contrib/crossrpms/binutils/binutils.add @ 1ded262b

4.8
Last change on this file since 1ded262b was 1ded262b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 18, 2008 at 6:09:49 AM

BR: @rpmprefix@%{_host}-gcc for CdnX-builds.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1%define binutils_pkgvers @BINUTILS_PKGVERS@
2%define binutils_version @BINUTILS_VERS@
3%define binutils_rpmvers %{expand:%(echo "@BINUTILS_VERS@" | tr - _ )}
4
5Name:           @rpmprefix@@tool_target@-binutils
6Summary:        Binutils for target @tool_target@
7Group:          Development/Tools
8Version:        %{binutils_rpmvers}
9Release:        @BINUTILS_RPMREL@
10License:        GPL/LGPL
11URL:            http://sources.redhat.com/binutils
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14%if "%{_build}" != "%{_host}"
15BuildRequires:  @rpmprefix@%{_host}-gcc
16%endif
17
18%if "%{binutils_version}" >= "2.18"
19# Bug in bfd: Doesn't build without texinfo installed
20BuildRequires:  texinfo >= 4.2
21%else
22%if %build_infos
23# Required for building the infos
24BuildRequires:  /sbin/install-info
25BuildRequires:  texinfo >= 4.2
26%else
27%if "@tool_target@" == "i686-pc-cygwin"
28BuildRequires:  texinfo >= 4.2
29%endif
30%endif
31%endif
32BuildRequires:  flex
33BuildRequires:  bison
34%if %build_infos
35
36Requires:       @rpmprefix@binutils-common
37%endif
38
39@SOURCES@
40
41%description
42Cross binutils for target @tool_target@
Note: See TracBrowser for help on using the repository browser.