summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/binutils/binutils.add
blob: 30177471b7f87706f3ef7ddd32e8339b1463636c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%define binutils_pkgvers @BINUTILS_PKGVERS@
%define binutils_version @BINUTILS_VERS@
%define binutils_rpmvers %{expand:%(echo "@BINUTILS_VERS@" | tr - _ )}

Name:		@rpmprefix@@tool_target@-binutils
Summary:	Binutils for target @tool_target@
Group:		Development/Tools
Version:	%{binutils_rpmvers}
Release:	@BINUTILS_RPMREL@
License:	GPL/LGPL
URL: 		http://sources.redhat.com/binutils
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%if %build_infos
# Required for building the infos
BuildRequires:	/sbin/install-info
BuildRequires:	texinfo >= 4.2
%else
%if "@tool_target@" == "i686-pc-cygwin"
BuildRequires:	texinfo >= 4.2
%endif
%endif
BuildRequires:	flex
BuildRequires:	bison
%if %build_infos

Requires:	@rpmprefix@binutils-common
%endif

@SOURCES@

%description
Cross binutils for target @tool_target@