Accepting request 220703 from home:jengelh:branches:windows:mingw:win32
The pthreads implementation of mingw-w64. (pthreadGC2 seems to be mingw.org material) OBS-URL: https://build.opensuse.org/request/show/220703 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-winpthreads?expand=0&rev=1
This commit is contained in:
commit
cb8c11c04f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
mingw-w64-winpthreads-3.1.0.tar.xz
Normal file
3
mingw-w64-winpthreads-3.1.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:08f63df8d263f0c9f917d9722d05e30efa687aa941ba6f47adf677b3dbd21adf
|
||||
size 311464
|
4
mingw32-winpthreads.changes
Normal file
4
mingw32-winpthreads.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 12:07:45 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Initial package (version 3.1.0) for build.opensuse.org
|
77
mingw32-winpthreads.spec
Normal file
77
mingw32-winpthreads.spec
Normal file
@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package mingw32-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 %_mingw32_strip
|
||||
%define __objdump %_mingw32_objdump
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires %_mingw32_findrequires
|
||||
%define __find_provides %_mingw32_findprovides
|
||||
%define __os_install_post %_mingw32_debug_install_post \
|
||||
%_mingw32_install_post
|
||||
|
||||
Name: mingw32-winpthreads
|
||||
Summary: A pthreads implementation for Windows
|
||||
License: MIT and BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Url: http://mingw-w64.sf.net/
|
||||
|
||||
Source: mingw-w64-winpthreads-%version.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
BuildRequires: mingw32-cross-gcc
|
||||
BuildRequires: mingw32-cross-gcc-c++
|
||||
BuildRequires: mingw32-filesystem
|
||||
BuildRequires: mingw32-pkg-config
|
||||
BuildRequires: xz
|
||||
|
||||
%description
|
||||
|
||||
%package devel
|
||||
Summary: Useful collection of routines for C and C++ programming
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %name = %version
|
||||
Provides: mingw32-unistd-pthread-devel
|
||||
Conflicts: mingw32-headers-dummy-pthread otherproviders(mingw32-unistd-pthread-devel)
|
||||
|
||||
%description devel
|
||||
|
||||
%_mingw32_debug_package
|
||||
|
||||
%prep
|
||||
%setup -qn winpthreads
|
||||
|
||||
%build
|
||||
%_mingw32_configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
make install DESTDIR="$b"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_mingw32_bindir/*.dll
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_mingw32_includedir/
|
||||
%_mingw32_libdir/
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user