4 Summary: MinGW Windows binutils
6 License: GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+
7 Group: Development/Libraries
9 URL: http://www.gnu.org/software/binutils/
10 Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
12 # Possible patch added after 2.19.1:
13 # http://sourceware.org/ml/binutils/2009-02/msg00090.html
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19 BuildRequires: texinfo
20 BuildRequires: mingw64-filesystem >= 6
22 # NB: This must be left in.
23 Requires: mingw64-filesystem >= 6
27 MinGW Windows binutils (utilities like 'strip', 'as', 'ld') which
28 understand Windows executables and DLLs.
32 %setup -q -n binutils-%{version}
38 CFLAGS="$RPM_OPT_FLAGS" \
40 --build=%_build --host=%_host \
41 --target=%{_mingw64_target} \
42 --verbose --disable-nls \
43 --without-included-gettext \
44 --disable-win32-registry \
46 --with-sysroot=%{_mingw64_sysroot} \
47 --prefix=%{_prefix} --bindir=%{_bindir} \
48 --includedir=%{_includedir} --libdir=%{_libdir} \
49 --mandir=%{_mandir} --infodir=%{_infodir}
51 make %{?_smp_mflags} all
55 rm -rf $RPM_BUILD_ROOT
58 make DESTDIR=$RPM_BUILD_ROOT install
60 # These files conflict with ordinary binutils.
61 rm -rf $RPM_BUILD_ROOT%{_infodir}
62 rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
66 rm -rf $RPM_BUILD_ROOT
72 %{_bindir}/x86_64-pc-mingw32-*
73 %{_prefix}/x86_64-pc-mingw32/bin
74 %{_prefix}/x86_64-pc-mingw32/lib/ldscripts
78 * Wed Feb 11 2009 Richard W.M. Jones <rjones@redhat.com> - 2.19.1-4
79 - Started mingw64 development.
81 * Tue Feb 10 2009 Richard W.M. Jones <rjones@redhat.com> - 2.19.1-1
82 - New upstream version 2.19.1.
84 * Mon Dec 15 2008 Richard W.M. Jones <rjones@redhat.com> - 2.19-1
85 - New upstream version 2.19.
87 * Sat Nov 29 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.50_20080109_2-10
88 - Must runtime-require mingw32-filesystem.
90 * Fri Nov 21 2008 Levente Farkas <lfarkas@lfarkas.org> - 2.18.50_20080109_2-9
91 - BR mingw32-filesystem >= 38
93 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.50_20080109_2-8
94 - Rename mingw -> mingw32.
95 - BR mingw32-filesystem >= 26.
97 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.50_20080109_2-7
98 - Use mingw-filesystem.
100 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.50_20080109_2-5
101 - Initial RPM release, largely based on earlier work from several sources.