2013-09-23 13:44:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw64-headers
|
|
|
|
#
|
2014-02-12 17:43:15 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products 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
|
|
|
|
2014-05-19 19:01:02 +02:00
|
|
|
%define snapshot -r6638
|
2013-09-23 13:44:55 +02:00
|
|
|
|
2009-04-08 15:12:39 +02:00
|
|
|
Name: mingw64-headers
|
2014-05-19 19:01:02 +02:00
|
|
|
Version: 3.1.99
|
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/
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2014-02-03 16:01:37 +01:00
|
|
|
# Generated from downloadable mingw-w64-%version.tar.bz2
|
2014-05-19 19:01:02 +02:00
|
|
|
Source: mingw-w64-headers-%version%snapshot.tar.xz
|
2013-09-23 13:44:55 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
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
|
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-02-03 16:01:37 +01:00
|
|
|
%setup -qn mingw-w64-headers
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%build
|
2014-02-03 16:01:37 +01:00
|
|
|
%_mingw64_configure \
|
2013-03-28 07:15:33 +01:00
|
|
|
--with-sdk=all \
|
|
|
|
--enable-secure-api
|
2014-02-03 16:01:37 +01:00
|
|
|
make %{?_smp_mflags}
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%install
|
2014-02-03 16:01:37 +01:00
|
|
|
make DESTDIR="%buildroot" install
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-02-03 16:01:37 +01:00
|
|
|
%_mingw64_includedir/
|
|
|
|
%exclude %_mingw64_includedir/pthread_*.h
|
|
|
|
|
|
|
|
%files dummy-pthread
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_mingw64_includedir
|
|
|
|
%_mingw64_includedir/pthread_*.h
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%changelog
|