2013-09-23 13:38:28 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw32-headers
|
|
|
|
#
|
2024-09-28 16:01:45 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2013-09-23 13:38:28 +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:50:45 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-09-23 13:38:28 +02:00
|
|
|
#
|
|
|
|
|
2014-05-22 10:53:05 +02:00
|
|
|
|
2009-08-31 10:24:52 +02:00
|
|
|
Name: mingw32-headers
|
2024-09-28 16:01:45 +02:00
|
|
|
Version: 12.0.0
|
2009-08-31 10:24:52 +02:00
|
|
|
Release: 0
|
2014-02-03 16:04:10 +01:00
|
|
|
Summary: MinGW-w64 headers for Win32 and Win64
|
2013-09-23 13:38:28 +02:00
|
|
|
License: SUSE-Public-Domain
|
2014-02-03 16:04:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-11-23 15:50:45 +01:00
|
|
|
URL: http://mingw-w64.sf.net/
|
2022-06-27 18:39:25 +02:00
|
|
|
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%version.tar.bz2
|
2017-06-20 12:34:44 +02:00
|
|
|
Source1000: %name-rpmlintrc
|
2021-07-08 09:18:41 +02:00
|
|
|
Patch0: mingw-w64-v9.0.0-strnlen_s.patch
|
2023-11-11 19:13:56 +01:00
|
|
|
Patch1: mingw-w64-v11.0.1-fix-undefined-interface-type.patch
|
2009-08-31 10:24:52 +02:00
|
|
|
BuildRequires: mingw32-filesystem
|
2014-02-03 16:04:10 +01:00
|
|
|
BuildRequires: xz
|
|
|
|
#!BuildIgnore: post-build-checks
|
|
|
|
Requires: mingw32-unistd-pthread-devel
|
2014-06-01 14:01:50 +02:00
|
|
|
BuildArch: noarch
|
2009-08-31 10:24:52 +02:00
|
|
|
|
|
|
|
%description
|
2014-02-03 16:04:10 +01:00
|
|
|
MinGW-w64 delivers runtime, headers and libs for developing both 64
|
|
|
|
bit (x64) and 32 bit (x86) windows applications using GCC and other
|
|
|
|
free software compilers.
|
|
|
|
|
|
|
|
This subpackage contains the header files.
|
|
|
|
|
|
|
|
%package dummy-pthread
|
2014-02-12 17:44:11 +01:00
|
|
|
Summary: Stub pthread header files for MinGW
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Provides: mingw32-unistd-pthread-devel
|
2009-08-31 10:24:52 +02:00
|
|
|
|
2014-02-03 16:04:10 +01:00
|
|
|
%description dummy-pthread
|
|
|
|
This subpackage contains stub pthread header files that are empty
|
|
|
|
and only exist to satisfy dependencies in MinGW's unistd.h until
|
|
|
|
an actual pthread implementation (like winpthreads) is installed.
|
2009-08-31 10:24:52 +02:00
|
|
|
|
|
|
|
%prep
|
2021-07-08 09:18:41 +02:00
|
|
|
%autosetup -n mingw-w64-v%version/mingw-w64-headers -p2
|
2009-08-31 10:24:52 +02:00
|
|
|
|
|
|
|
%build
|
2024-10-07 12:23:47 +02:00
|
|
|
%_mingw32_configure --enable-sdk=all --with-default-msvcrt=msvcrt
|
2021-07-03 13:59:09 +02:00
|
|
|
%make_build
|
2009-08-31 10:24:52 +02:00
|
|
|
|
|
|
|
%install
|
2018-10-17 20:53:49 +02:00
|
|
|
%make_install
|
2009-08-31 10:24:52 +02:00
|
|
|
|
|
|
|
%files
|
2018-10-17 20:53:49 +02:00
|
|
|
%_mingw32_includedir/
|
|
|
|
%exclude %_mingw32_includedir/pthread_*.h
|
2014-02-03 16:04:10 +01:00
|
|
|
|
|
|
|
%files dummy-pthread
|
2018-10-17 20:53:49 +02:00
|
|
|
%dir %_mingw32_includedir
|
|
|
|
%_mingw32_includedir/pthread_*.h
|
2009-08-31 10:24:52 +02:00
|
|
|
|
|
|
|
%changelog
|