]> git.pld-linux.org Git - packages/crossmingw64-binutils.git/blobdiff - crossmingw64-binutils.spec
updated to 2.23.51.0.5.
[packages/crossmingw64-binutils.git] / crossmingw64-binutils.spec
index 5ae7b9759592bdfa491df28d6953807acb2a887c..194c2f84adbf26490ef57548b253f6f6ea80aac5 100644 (file)
@@ -5,23 +5,24 @@ Summary(pl.UTF-8):    Skrośne narzędzia programistyczne GNU dla Mingw64 - binutil
 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.19.51.0.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: 2b019d9f3c46a5bb775b42ab55f199cc
+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: bison
 BuildRequires: flex
 BuildRequires: gettext-devel
+BuildRequires: zlib-devel
 # not necessary unless we patch .texi docs; but they are not packaged here anyway
 #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
@@ -55,6 +56,7 @@ CONFIG_SHELL="/bin/bash" \
        --disable-nls \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
+       --libexecdir=%{_libdir} \
        --mandir=%{_mandir} \
        --infodir=%{_infodir} \
        --with-sysroot=%{arch} \
@@ -62,18 +64,13 @@ CONFIG_SHELL="/bin/bash" \
        --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.
This page took 0.102944 seconds and 4 git commands to generate.