2013-09-23 13:44:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw64-headers
|
|
|
|
#
|
2017-01-14 21:49:04 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2014-05-22 11:02:43 +02:00
|
|
|
|
2009-04-08 15:12:39 +02:00
|
|
|
Name: mingw64-headers
|
2018-08-31 07:19:51 +02:00
|
|
|
Version: 5.0.4
|
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++
|
2014-02-12 17:43:15 +01:00
|
|
|
Url: http://mingw-w64.sf.net/
|
2015-03-25 12:05:29 +01:00
|
|
|
|
|
|
|
#DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-%version.tar.bz2
|
|
|
|
Source: mingw-w64-headers-%version.tar.xz
|
2017-01-12 20:09:12 +01:00
|
|
|
Source1000: %name-rpmlintrc
|
2017-03-29 10:29:55 +02:00
|
|
|
Patch1: 0001-Add-missing-D3D_CS_-variables.patch
|
2017-04-20 10:35:58 +02:00
|
|
|
Patch2: popcnt.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
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
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
|
2014-06-01 14:03:34 +02:00
|
|
|
%setup -q -n mingw-w64-headers
|
2017-03-29 10:29:55 +02:00
|
|
|
%patch1 -p2
|
2017-04-20 10:35:58 +02:00
|
|
|
%patch2 -p2
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%build
|
2014-06-01 14:03:34 +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
|
2014-02-03 16:01:37 +01:00
|
|
|
make %{?_smp_mflags}
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%install
|
2014-06-01 14:03:34 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-06-01 14:03:34 +02:00
|
|
|
%{_mingw64_includedir}/
|
|
|
|
%exclude %{_mingw64_includedir}/pthread_*.h
|
2014-02-03 16:01:37 +01:00
|
|
|
|
|
|
|
%files dummy-pthread
|
|
|
|
%defattr(-,root,root)
|
2014-06-01 14:03:34 +02:00
|
|
|
%dir %{_mingw64_includedir}
|
|
|
|
%{_mingw64_includedir}/pthread_*.h
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%changelog
|