]> git.pld-linux.org Git - packages/crossmingw64-binutils.git/blobdiff - crossmingw64-binutils.spec
- updated to 2.22.52.0.3.
[packages/crossmingw64-binutils.git] / crossmingw64-binutils.spec
index 600ac232361f40c00af40af53b36c0cf13078340..a4b5147223424038016826c1af094c1134bd70ef 100644 (file)
@@ -5,30 +5,31 @@ 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
 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.18.50.0.9
+Version:       2.22.52.0.3
 Release:       1
 Release:       1
-License:       GPL
+License:       GPL v3+
 Group:         Development/Tools
 Group:         Development/Tools
-Source0:       ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
-# Source0-md5: 68e3510d9c790b134450c0a243c251cd
+Source0:       http://www.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
+# Source0-md5: 43889c2e4f3422fafb67236ee5e262ba
 URL:           http://sources.redhat.com/binutils/
 BuildRequires: automake
 BuildRequires: bash
 BuildRequires: bison
 BuildRequires: flex
 BuildRequires: gettext-devel
 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)
 
 # 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
 crossmingw64 is a complete cross-compiling development system for
 building stand-alone Microsoft Windows applications under Linux using
 the Mingw64 build libraries. This includes a binutils, gcc with g++
 %define                arch            %{_prefix}/%{target}
 
 %description
 crossmingw64 is a complete cross-compiling development system for
 building stand-alone Microsoft Windows applications under Linux using
 the Mingw64 build libraries. This includes a binutils, gcc with g++
-and objc, and libstdc++, all cross targeted to x86_64-mingw64, along
+and objc, and libstdc++, all cross targeted to x86_64-mingw32, along
 with supporting Win64 libraries in 'coff' format from free sources.
 
 This package contains cross targeted binutils.
 with supporting Win64 libraries in 'coff' format from free sources.
 
 This package contains cross targeted binutils.
@@ -37,7 +38,7 @@ This package contains cross targeted binutils.
 crossmingw64 jest kompletnym systemem do kroskompilacji, pozwalającym
 budować aplikacje MS Windows pod Linuksem używając bibliotek mingw64.
 System składa się z binutils, gcc z g++ i objc, libstdc++ - wszystkie
 crossmingw64 jest kompletnym systemem do kroskompilacji, pozwalającym
 budować aplikacje MS Windows pod Linuksem używając bibliotek mingw64.
 System składa się z binutils, gcc z g++ i objc, libstdc++ - wszystkie
-generujące kod dla platformy x86_64-mingw64, oraz z bibliotek w formacie
+generujące kod dla platformy x86_64-mingw32, oraz z bibliotek w formacie
 COFF.
 
 Ten pakiet zawiera binutils generujące skrośnie binaria dla Win64.
 COFF.
 
 Ten pakiet zawiera binutils generujące skrośnie binaria dla Win64.
@@ -46,11 +47,6 @@ Ten pakiet zawiera binutils generujące skrośnie binaria dla Win64.
 %setup -q -n binutils-%{version}
 
 %build
 %setup -q -n binutils-%{version}
 
 %build
-# Because of a bug in binutils-2.9.1, a cross libbfd.so* is not named
-# lib<target>bfd.so*. To prevent confusion with native binutils, we
-# forget about shared libraries right now, and do not install libbfd.a
-# [the same applies to binutils 2.10.1.0.4]
-
 # ldscripts won't be generated properly if SHELL is not bash...
 CFLAGS="%{rpmcflags}" \
 LDFLAGS="%{rpmldflags}" \
 # ldscripts won't be generated properly if SHELL is not bash...
 CFLAGS="%{rpmcflags}" \
 LDFLAGS="%{rpmldflags}" \
@@ -60,6 +56,7 @@ CONFIG_SHELL="/bin/bash" \
        --disable-nls \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
        --disable-nls \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
+       --libexecdir=%{_libdir} \
        --mandir=%{_mandir} \
        --infodir=%{_infodir} \
        --with-sysroot=%{arch} \
        --mandir=%{_mandir} \
        --infodir=%{_infodir} \
        --with-sysroot=%{arch} \
@@ -67,18 +64,13 @@ CONFIG_SHELL="/bin/bash" \
        --build=%{_target_platform} \
        --target=%{target}
 
        --build=%{_target_platform} \
        --target=%{target}
 
-%{__make} all \
-       tooldir=%{_prefix}
+%{__make} all
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 
 %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.
 
 # remove this man page unless we cross-build for netware platform.
 # however, this should be done in Makefiles.
This page took 0.057758 seconds and 4 git commands to generate.