forked from pool/mingw64-winpthreads
spec-cleaner -i
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=3
This commit is contained in:
parent
58edf5b2b2
commit
cef725204c
@ -16,65 +16,63 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define __strip %_mingw64_strip
|
%define __strip %{_mingw64_strip}
|
||||||
%define __objdump %_mingw64_objdump
|
%define __objdump %{_mingw64_objdump}
|
||||||
%define _use_internal_dependency_generator 0
|
%define _use_internal_dependency_generator 0
|
||||||
%define __find_requires %_mingw64_findrequires
|
%define __find_requires %{_mingw64_findrequires}
|
||||||
%define __find_provides %_mingw64_findprovides
|
%define __find_provides %{_mingw64_findprovides}
|
||||||
%define __os_install_post %_mingw64_debug_install_post \
|
%define __os_install_post %{_mingw64_debug_install_post} \
|
||||||
%_mingw64_install_post
|
%{_mingw64_install_post}
|
||||||
|
|
||||||
Name: mingw64-winpthreads
|
Name: mingw64-winpthreads
|
||||||
|
Version: 3.1.0
|
||||||
|
Release: 0
|
||||||
Summary: A pthreads implementation for Windows
|
Summary: A pthreads implementation for Windows
|
||||||
License: MIT and BSD-3-Clause
|
License: MIT and BSD-3-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Version: 3.1.0
|
|
||||||
Release: 0
|
|
||||||
Url: http://mingw-w64.sf.net/
|
Url: http://mingw-w64.sf.net/
|
||||||
|
Source: mingw-w64-winpthreads-%{version}.tar.xz
|
||||||
Source: mingw-w64-winpthreads-%version.tar.xz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: mingw64-cross-gcc
|
BuildRequires: mingw64-cross-gcc
|
||||||
BuildRequires: mingw64-cross-gcc-c++
|
BuildRequires: mingw64-cross-gcc-c++
|
||||||
BuildRequires: mingw64-filesystem
|
BuildRequires: mingw64-filesystem
|
||||||
BuildRequires: mingw64-pkg-config
|
BuildRequires: mingw64-pkg-config
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
#!BuildIgnore: post-build-checks
|
#!BuildIgnore: post-build-checks
|
||||||
|
|
||||||
%description
|
%description
|
||||||
mingw-w64's implementation of POSIX threads for Windows.
|
mingw-w64's implementation of POSIX threads for Windows.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for mingw64-winpthreads
|
Summary: Development files for mingw64-winpthreads
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %name = %version
|
Requires: %{name} = %{version}
|
||||||
Provides: mingw64-unistd-pthread-devel
|
Provides: mingw64-unistd-pthread-devel
|
||||||
Conflicts: mingw64-headers-dummy-pthread otherproviders(mingw64-unistd-pthread-devel)
|
Conflicts: mingw64-headers-dummy-pthread otherproviders(mingw64-unistd-pthread-devel)
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
mingw-w64's implementation of POSIX threads for Windows.
|
mingw-w64's implementation of POSIX threads for Windows.
|
||||||
|
|
||||||
%_mingw64_debug_package
|
%_mingw64_debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn winpthreads
|
%setup -q -n winpthreads
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%_mingw64_configure
|
%{_mingw64_configure}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
b=%{buildroot};
|
||||||
make install DESTDIR="$b"
|
make install DESTDIR="$b"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_mingw64_bindir/*.dll
|
%{_mingw64_bindir}/*.dll
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_mingw64_includedir/
|
%{_mingw64_includedir}/
|
||||||
%_mingw64_libdir/
|
%{_mingw64_libdir}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user