source:
rtems/contrib/crossrpms/binutils/binutils.add
@
1ded262b
Last change on this file since 1ded262b was 1ded262b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/18/08 at 06:09:49 | |
---|---|
|
|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[8d182ca] | 1 | %define binutils_pkgvers @BINUTILS_PKGVERS@ |
[2b6eb18] | 2 | %define binutils_version @BINUTILS_VERS@ |
[8d182ca] | 3 | %define binutils_rpmvers %{expand:%(echo "@BINUTILS_VERS@" | tr - _ )} |
[2b6eb18] | 4 | |
5 | Name: @rpmprefix@@tool_target@-binutils | |
6 | Summary: Binutils for target @tool_target@ | |
[4fa25687] | 7 | Group: Development/Tools |
[2b6eb18] | 8 | Version: %{binutils_rpmvers} |
[e0d85b74] | 9 | Release: @BINUTILS_RPMREL@ |
[2b6eb18] | 10 | License: GPL/LGPL |
11 | URL: http://sources.redhat.com/binutils | |
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
13 | ||
[1ded262b] | 14 | %if "%{_build}" != "%{_host}" |
15 | BuildRequires: @rpmprefix@%{_host}-gcc | |
16 | %endif | |
17 | ||
[e945d6b9] | 18 | %if "%{binutils_version}" >= "2.18" |
19 | # Bug in bfd: Doesn't build without texinfo installed | |
20 | BuildRequires: texinfo >= 4.2 | |
21 | %else | |
[e8a6236] | 22 | %if %build_infos |
[2b6eb18] | 23 | # Required for building the infos |
24 | BuildRequires: /sbin/install-info | |
25 | BuildRequires: texinfo >= 4.2 | |
[ee4740b] | 26 | %else |
27 | %if "@tool_target@" == "i686-pc-cygwin" | |
28 | BuildRequires: texinfo >= 4.2 | |
29 | %endif | |
[2b6eb18] | 30 | %endif |
[e945d6b9] | 31 | %endif |
[2b6eb18] | 32 | BuildRequires: flex |
33 | BuildRequires: bison | |
[c20efa7] | 34 | %if %build_infos |
35 | ||
[65f75598] | 36 | Requires: @rpmprefix@binutils-common |
[c20efa7] | 37 | %endif |
[2b6eb18] | 38 | |
39 | @SOURCES@ | |
40 | ||
41 | %description | |
42 | Cross binutils for target @tool_target@ |
Note: See TracBrowser
for help on using the repository browser.