%?mingw_package_header %global name1 binutils-static Name: mingw-%{name1} Version: 2.29.1 Release: 2%{?dist} Summary: MinGW Windows port of the binary file descriptor library License: GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+ Group: Development/Libraries URL: http://www.gnu.org/software/binutils/ Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2 BuildArch: noarch BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils BuildRequires: mingw32-gettext BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-gcc BuildRequires: mingw64-binutils BuildRequires: mingw64-gettext %description Binary File Descriptor library for MinGW. # Win32 %package -n mingw32-%{name1} Summary: MinGW Windows port of the binary file descriptor library Requires: pkgconfig %description -n mingw32-%{name1} Binary File Descriptor library for MinGW. # Win64 %package -n mingw64-%{name1} Summary: MinGW Windows port of the binary file descriptor library Requires: pkgconfig %description -n mingw64-%{name1} Binary File Descriptor library for MinGW. #?mingw_debug_package %prep %setup -q -n binutils-%{version} %build %mingw_configure %mingw_make %{?_smp_mflags} configure-host pushd build_win32/libiberty make %{?_smp_mflags} popd pushd build_win32/bfd make %{?_smp_mflags} popd pushd build_win32/opcodes make %{?_smp_mflags} popd pushd build_win64/libiberty make %{?_smp_mflags} popd pushd build_win64/bfd make %{?_smp_mflags} popd pushd build_win64/opcodes make %{?_smp_mflags} popd %install #mingw_make_install DESTDIR=$RPM_BUILD_ROOT pushd build_win32/libiberty make install DESTDIR=$RPM_BUILD_ROOT popd pushd build_win32/bfd make install DESTDIR=$RPM_BUILD_ROOT popd pushd build_win32/opcodes make install DESTDIR=$RPM_BUILD_ROOT popd pushd build_win64/libiberty make install DESTDIR=$RPM_BUILD_ROOT popd pushd build_win64/bfd make install DESTDIR=$RPM_BUILD_ROOT popd pushd build_win64/opcodes make install DESTDIR=$RPM_BUILD_ROOT popd install include/libiberty.h $RPM_BUILD_ROOT/%{mingw32_includedir} install include/libiberty.h $RPM_BUILD_ROOT/%{mingw64_includedir} install build_win32/libiberty/libiberty.a $RPM_BUILD_ROOT/%{mingw32_libdir} install build_win64/libiberty/libiberty.a $RPM_BUILD_ROOT/%{mingw64_libdir} # Drop all .la files find $RPM_BUILD_ROOT -name "*.la" -delete rm -rf $RPM_BUILD_ROOT/%{mingw32_datadir}/info rm -rf $RPM_BUILD_ROOT/%{mingw64_datadir}/info rm -rf $RPM_BUILD_ROOT/%{mingw32_datadir}/locale rm -rf $RPM_BUILD_ROOT/%{mingw64_datadir}/locale # Win32 %files -n mingw32-%{name1} %license COPYING %{mingw32_includedir}/ansidecl.h %{mingw32_includedir}/bfd.h %{mingw32_includedir}/bfdlink.h %{mingw32_includedir}/dis-asm.h %{mingw32_includedir}/libiberty.h %{mingw32_includedir}/plugin-api.h %{mingw32_includedir}/symcat.h %{mingw32_libdir}/libbfd.a %{mingw32_libdir}/libiberty.a %{mingw32_libdir}/libopcodes.a # Win64 %files -n mingw64-%{name1} %license COPYING %{mingw64_includedir}/ansidecl.h %{mingw64_includedir}/bfd.h %{mingw64_includedir}/bfdlink.h %{mingw64_includedir}/dis-asm.h %{mingw64_includedir}/libiberty.h %{mingw64_includedir}/plugin-api.h %{mingw64_includedir}/symcat.h %{mingw64_libdir}/libbfd.a %{mingw64_libdir}/libiberty.a %{mingw64_libdir}/libopcodes.a %changelog * Thu Feb 08 2018 Fedora Release Engineering - 3.22.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 23 2018 Thomas Sailer - 3.22.0.0-1 - update to 3.22.0.0 * Thu Aug 24 2017 Thomas Sailer - 3.20.1.0-1 - update to 3.20.1.0 * Wed Aug 02 2017 Thomas Sailer - 3.20.0.0-1 - update to 3.20.0.0 * Wed Jul 26 2017 Fedora Release Engineering - 3.19.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jun 09 2017 Thomas Sailer - 3.19.3.0-1 - update to 3.19.3.0 * Thu May 25 2017 Thomas Sailer - 3.19.1.0-1 - update to 3.19.1.0 * Tue May 23 2017 Thomas Sailer - 3.19.0.0-1 - update to 3.19.0.0 * Fri Mar 31 2017 Thomas Sailer - 3.18.0.0-1 - update to 3.18.0.0 * Tue Feb 14 2017 Thomas Sailer - 3.17.0.0-1 - update to 3.17.0.0 * Fri Feb 10 2017 Fedora Release Engineering - 3.16.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Jan 07 2017 Thomas Sailer - 3.16.2.0-1 - update to 3.16.2.0 * Wed Jan 04 2017 Thomas Sailer - 3.16.1.0-1 - update to 3.16.1.0 * Tue Jan 03 2017 Thomas Sailer - 3.16.0.0-1 - update to 3.16.0.0 * Thu Dec 01 2016 Thomas Sailer - 3.15.2.0-1 - update to 3.15.2.0 * Tue Nov 08 2016 Thomas Sailer - 3.15.1.0-1 - update to 3.15.1.0 * Sun Oct 16 2016 Thomas Sailer - 3.15.0.0-1 - update to 3.15.0.0 * Fri Aug 12 2016 Thomas Sailer - 3.14.1.0-1 - update to 3.14.1.0 * Tue Apr 19 2016 Thomas Sailer - 3.12.2.0-1 - update to 3.12.2.0 * Sun Apr 10 2016 Thomas Sailer - 3.12.1.0-1 - update to 3.12.1.0 * Wed Mar 30 2016 Thomas Sailer - 3.12.0.0-1 - update to 3.12.0.0 * Fri Mar 04 2016 Thomas Sailer - 3.11.1.0-1 - update to 3.11.1.0 * Thu Feb 18 2016 Thomas Sailer - 3.11.0.0-1 - update to 3.11.0.0 * Thu Feb 04 2016 Fedora Release Engineering - 3.10.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 21 2016 Thomas Sailer - 3.10.2.0-1 - update to 3.10.2.0 * Thu Jan 14 2016 Thomas Sailer - 3.10.1.0-1 - update to 3.10.1.0 * Wed Jun 17 2015 Fedora Release Engineering - 3.8.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.8.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 29 2014 Erik van Pienbroek - 3.8.4.3-1 - Update to 3.8.4.3 * Sat Jan 25 2014 Erik van Pienbroek - 3.8.2-1 - Update to 3.8.2 * Wed Nov 20 2013 Erik van Pienbroek - 3.8.1-1 - Update to 3.8.1 * Sat Aug 03 2013 Fedora Release Engineering - 3.7.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jun 15 2013 Erik van Pienbroek - 3.7.17-2 - Rebuild to resolve InterlockedCompareExchange regression in mingw32 libraries * Sun Jun 2 2013 Thomas Sailer - 3.7.17-1 - update to 3.7.17 * Sun May 12 2013 Erik van Pienbroek - 3.7.16.2-2 - Don't try to link against pthreads even if it is available on win32 (sqlite uses the native win32 threading API already) * Mon May 6 2013 Thomas Sailer - 3.7.16.2-1 - update to 3.7.16.2 * Sun Mar 24 2013 Erik van Pienbroek - 3.7.16-1 - Update to 3.7.16 * Sun Mar 3 2013 Thomas Sailer - 3.7.15.2-1 - Update to 3.7.15.2 * Thu Feb 14 2013 Fedora Release Engineering - 3.7.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Dec 6 2012 Erik van Pienbroek - 3.7.14.1-1 - Update to 3.7.14.1 - Dropped all patches which are not needed for the mingw target - There's no need to re-run the autotools any more * Tue Dec 4 2012 Thomas Sailer - 3.7.13-1 - update to 3.7.13 * Fri Jul 20 2012 Fedora Release Engineering - 3.7.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Apr 22 2012 Erik van Pienbroek - 3.7.9-6 - Add BR: mingw64-pdcurses * Sat Mar 10 2012 Erik van Pienbroek - 3.7.9-5 - Added win64 support * Fri Mar 09 2012 Erik van Pienbroek - 3.7.9-4 - Dropped .la files * Tue Mar 06 2012 Kalev Lember - 3.7.9-3 - Renamed the source package to mingw-sqlite (#800450) - Modernize the spec file - Use mingw macros without leading underscore * Mon Feb 27 2012 Erik van Pienbroek - 3.7.9-2 - Rebuild against the mingw-w64 toolchain * Mon Jan 16 2012 Thomas Sailer - 3.7.9-1 - update to 3.7.9 * Fri Jan 13 2012 Fedora Release Engineering - 3.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Dec 24 2011 Ivan Romanov - 3.7.5-2 - static subpackage * Sun Feb 13 2011 Thomas Sailer - 3.7.5-1 - update to 3.7.5 * Tue Feb 08 2011 Fedora Release Engineering - 3.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 6 2010 Thomas Sailer - 3.7.3-1 - update to 3.7.3 * Sun Jan 31 2010 Thomas Sailer - 3.6.22-1 - update to 3.6.22 * Sun Dec 6 2009 Thomas Sailer - 3.6.20-1 - update to 3.6.20 * Sun Sep 20 2009 Thomas Sailer - 3.6.17-1 - update to 3.6.17 * Sat Jul 25 2009 Fedora Release Engineering - 3.6.14.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 23 2009 Thomas Sailer - 3.6.14.2-1 - update to 3.6.14.2 - add debuginfo packages * Thu Apr 23 2009 Thomas Sailer - 3.6.12-4 - fix CFLAGS setting * Thu Apr 23 2009 Thomas Sailer - 3.6.12-3 - use Erik van Pienbroek way to add to CFLAGS * Thu Apr 23 2009 Thomas Sailer - 3.6.12-2 - BR tclsh; the build process without tclsh and with extensions enabled is broken * Thu Apr 23 2009 Thomas Sailer - 3.6.12-1 - update to 3.6.12 to match native - enable rtree, fts3 * Wed Feb 25 2009 Fedora Release Engineering - 3.6.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 20 2009 Richard W.M. Jones - 3.6.6.2-2 - Rebuild for mingw32-gcc 4.4 * Tue Dec 16 2008 Richard Jones - 3.6.6.2-1 - New upstream release (to match Fedora native), 3.6.6.2. - Replace patches with ones from native. - Rebase -no-undefined patch. - Remove spurious +x permissions on libsqlite3.dll.a. - Requires pkgconfig. * Sat Nov 22 2008 Richard Jones - 3.5.9-3 - Rebuild against new readline. * Fri Oct 31 2008 Richard Jones - 3.5.9-2 - Rebuild against latest termcap. * Thu Sep 25 2008 Richard Jones - 3.5.9-1 - Initial RPM release.