2013-09-23 13:44:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw64-headers
|
|
|
|
#
|
2023-04-01 14:34:15 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-09-23 13:44:55 +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:43 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-09-23 13:44:55 +02:00
|
|
|
#
|
|
|
|
|
2014-05-22 11:02:43 +02:00
|
|
|
|
2009-04-08 15:12:39 +02:00
|
|
|
Name: mingw64-headers
|
2023-11-09 23:34:27 +01:00
|
|
|
Version: 11.0.1
|
2009-04-08 15:12:39 +02:00
|
|
|
Release: 0
|
2014-02-03 16:01:37 +01:00
|
|
|
Summary: MinGW-w64 headers for Win32 and Win64
|
2013-09-23 13:44:55 +02:00
|
|
|
License: SUSE-Public-Domain
|
2014-02-03 16:01:37 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-11-23 15:41:43 +01:00
|
|
|
URL: http://mingw-w64.sf.net/
|
|
|
|
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
|
2017-01-12 20:09:12 +01:00
|
|
|
Source1000: %name-rpmlintrc
|
2021-07-08 09:18:58 +02:00
|
|
|
Patch0: mingw-w64-v9.0.0-strnlen_s.patch
|
2009-04-08 15:12:39 +02:00
|
|
|
BuildRequires: mingw64-filesystem
|
2014-02-03 16:01:37 +01:00
|
|
|
BuildRequires: xz
|
|
|
|
#!BuildIgnore: post-build-checks
|
|
|
|
Requires: mingw64-unistd-pthread-devel
|
2014-06-01 14:03:34 +02:00
|
|
|
BuildArch: noarch
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%description
|
2014-02-03 16:01:37 +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:43:15 +01:00
|
|
|
Summary: Stub pthread header files for MinGW
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Provides: mingw64-unistd-pthread-devel
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2014-02-03 16:01:37 +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-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%prep
|
2021-07-08 09:18:58 +02:00
|
|
|
%autosetup -n mingw-w64-v%version/mingw-w64-headers -p2
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%build
|
2018-10-17 20:53:09 +02:00
|
|
|
%_mingw64_configure \
|
2014-06-12 08:15:55 +02:00
|
|
|
--enable-sdk=all \
|
2013-03-28 07:15:33 +01:00
|
|
|
--enable-secure-api
|
2021-07-05 08:54:02 +02:00
|
|
|
%make_build
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%install
|
2018-10-17 20:53:09 +02:00
|
|
|
%make_install
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%files
|
2018-10-17 20:53:09 +02:00
|
|
|
%_mingw64_includedir/
|
|
|
|
%exclude %_mingw64_includedir/pthread_*.h
|
2014-02-03 16:01:37 +01:00
|
|
|
|
|
|
|
%files dummy-pthread
|
2018-10-17 20:53:09 +02:00
|
|
|
%dir %_mingw64_includedir
|
|
|
|
%_mingw64_includedir/pthread_*.h
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%changelog
|