2013-09-23 13:38:28 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw32-headers
|
|
|
|
#
|
2022-06-27 18:39:25 +02:00
|
|
|
# Copyright (c) 2022 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
|
2022-06-27 18:39:25 +02:00
|
|
|
Version: 10.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
|
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
|
2018-10-17 20:53:49 +02:00
|
|
|
%_mingw32_configure \
|
2014-06-12 08:15:43 +02:00
|
|
|
--enable-sdk=all \
|
2013-03-28 07:10:15 +01:00
|
|
|
--enable-secure-api
|
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
|