Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - Mingw64 binutils
Summary(tr.UTF-8): GNU geliştirme araçları - Mingw64 binutils
Name: crossmingw64-binutils
-Version: 2.20.51.0.11
-Release: 2
+Version: 2.23.51.0.5
+Release: 1
License: GPL v3+
Group: Development/Tools
-Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
-# Source0-md5: d2306466e669700abbb3d1a64b10d5d2
-Patch0: %{name}-zlib.patch
+Source0: http://www.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
+# Source0-md5: a08000d6c18b4667095e416816550a33
URL: http://sources.redhat.com/binutils/
BuildRequires: automake
BuildRequires: bash
#BuildRequires: texinfo >= 4.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define target x86_64-mingw32
+%define target x86_64-w64-mingw32
%define arch %{_prefix}/%{target}
%description
%prep
%setup -q -n binutils-%{version}
-%patch0 -p1
%build
# ldscripts won't be generated properly if SHELL is not bash...
--disable-nls \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--with-sysroot=%{arch} \
--build=%{_target_platform} \
--target=%{target}
-%{__make} all \
- tooldir=%{_prefix}
+%{__make} all
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- INSTALL='$$s/install-sh -c' \
- prefix=$RPM_BUILD_ROOT%{_prefix} \
- mandir=$RPM_BUILD_ROOT%{_mandir} \
- infodir=$RPM_BUILD_ROOT%{_infodir} \
- libdir=$RPM_BUILD_ROOT%{_libdir}
+ DESTDIR=$RPM_BUILD_ROOT
# remove this man page unless we cross-build for netware platform.
# however, this should be done in Makefiles.