# # spec file for package mingw64-winpthreads # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # %define __strip %{_mingw64_strip} %define __objdump %{_mingw64_objdump} %define _use_internal_dependency_generator 0 %define __find_requires %{_mingw64_findrequires} %define __find_provides %{_mingw64_findprovides} %define __os_install_post %{_mingw64_debug_install_post} \ %{_mingw64_install_post} Name: mingw64-winpthreads Version: 3.1.0 Release: 0 Summary: A pthreads implementation for Windows License: MIT and BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://mingw-w64.sf.net/ Source: mingw-w64-winpthreads-%{version}.tar.xz BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-filesystem BuildRequires: mingw64-pkg-config BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch #!BuildIgnore: post-build-checks %description mingw-w64's implementation of POSIX threads for Windows. %package devel Summary: Development files for mingw64-winpthreads Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Provides: mingw64-unistd-pthread-devel Conflicts: mingw64-headers-dummy-pthread otherproviders(mingw64-unistd-pthread-devel) %description devel mingw-w64's implementation of POSIX threads for Windows. %_mingw64_debug_package %prep %setup -q -n winpthreads %build %{_mingw64_configure} make %{?_smp_mflags} %install b=%{buildroot}; make install DESTDIR="$b" %files %defattr(-,root,root) %{_mingw64_bindir}/*.dll %files devel %defattr(-,root,root) %{_mingw64_includedir}/ %{_mingw64_libdir}/ %changelog