2013-09-23 13:43:27 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw64-runtime
|
|
|
|
#
|
2023-04-01 14:42:47 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-09-23 13:43:27 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-11-23 15:41:34 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-09-23 13:43:27 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2009-04-08 15:15:13 +02:00
|
|
|
Name: mingw64-runtime
|
2023-11-09 23:34:16 +01:00
|
|
|
Version: 11.0.1
|
2009-04-08 15:15:13 +02:00
|
|
|
Release: 0
|
2015-03-26 23:52:18 +01:00
|
|
|
Summary: MinGW-w64 runtime libraries for Win64
|
2013-09-23 13:43:27 +02:00
|
|
|
License: SUSE-Public-Domain
|
2014-02-09 14:03:08 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-11-23 15:41:34 +01:00
|
|
|
URL: http://mingw-w64.sf.net/
|
|
|
|
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
|
2021-09-14 08:28:50 +02:00
|
|
|
Source100: %{name}-rpmlintrc
|
2009-11-27 09:25:12 +01:00
|
|
|
BuildRequires: mingw64-cross-binutils
|
|
|
|
BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0
|
2013-09-23 13:43:27 +02:00
|
|
|
BuildRequires: mingw64-filesystem
|
2021-09-14 08:28:50 +02:00
|
|
|
BuildRequires: mingw64-headers >= %{version}
|
2014-02-09 14:03:08 +01:00
|
|
|
BuildRequires: xz
|
2021-09-14 08:28:50 +02:00
|
|
|
#!BuildIgnore: post-build-checks
|
2015-03-26 23:52:18 +01:00
|
|
|
# When building the CRT, any newer (>=) headers should be ok, since the CRT
|
|
|
|
# won't make use of them. At runtime, ensure that headers are not too new (<=)
|
|
|
|
# because ominous link failures can result -- let OBS go into unresolvable
|
|
|
|
# state instead.
|
2021-09-14 08:28:50 +02:00
|
|
|
Requires: mingw64-headers <= %{version}
|
2009-04-08 15:15:13 +02:00
|
|
|
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
|
|
|
|
# longer needed.
|
|
|
|
Obsoletes: mingw64-runtime-bootstrap
|
2014-06-01 14:04:45 +02:00
|
|
|
BuildArch: noarch
|
2021-10-26 13:02:02 +02:00
|
|
|
%_mingw64_package_header_debug
|
2009-04-08 15:15:13 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
MinGW Win64 cross-compiler runtime, base libraries.
|
|
|
|
|
|
|
|
%prep
|
2021-09-14 08:28:50 +02:00
|
|
|
%autosetup -n mingw-w64-v%{version}/mingw-w64-crt
|
2010-09-21 22:33:51 +02:00
|
|
|
|
2009-04-08 15:15:13 +02:00
|
|
|
%build
|
2021-09-14 08:28:50 +02:00
|
|
|
%{_mingw64_configure} --disable-lib32 --enable-lib64
|
2021-07-05 08:54:21 +02:00
|
|
|
%make_build
|
2009-04-08 15:15:13 +02:00
|
|
|
|
|
|
|
%install
|
2018-10-17 20:58:06 +02:00
|
|
|
%make_install
|
2021-09-14 08:28:50 +02:00
|
|
|
rm -Rfv "%{buildroot}/%{_mingw64_includedir}"/*.c
|
2009-04-08 15:15:13 +02:00
|
|
|
|
|
|
|
%files
|
2021-09-14 08:28:50 +02:00
|
|
|
%{_mingw64_libdir}/
|
2009-04-08 15:15:13 +02:00
|
|
|
|
|
|
|
%changelog
|