Fridrich Strba 2014-06-01 12:03:34 +00:00 committed by Git OBS Bridge
parent 16a65057eb
commit 16153fb7ba

View File

@ -17,7 +17,6 @@
%define snapshot -r6638 %define snapshot -r6638
Name: mingw64-headers Name: mingw64-headers
Version: 3.1.99 Version: 3.1.99
Release: 0 Release: 0
@ -25,15 +24,14 @@ Summary: MinGW-w64 headers for Win32 and Win64
License: SUSE-Public-Domain License: SUSE-Public-Domain
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://mingw-w64.sf.net/ Url: http://mingw-w64.sf.net/
# Generated from downloadable mingw-w64-%version.tar.bz2 # Generated from downloadable mingw-w64-%version.tar.bz2
Source: mingw-w64-headers-%version%snapshot.tar.xz Source: mingw-w64-headers-%{version}%{snapshot}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: mingw64-filesystem BuildRequires: mingw64-filesystem
BuildRequires: xz BuildRequires: xz
#!BuildIgnore: post-build-checks #!BuildIgnore: post-build-checks
Requires: mingw64-unistd-pthread-devel Requires: mingw64-unistd-pthread-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description %description
MinGW-w64 delivers runtime, headers and libs for developing both 64 MinGW-w64 delivers runtime, headers and libs for developing both 64
@ -53,25 +51,25 @@ and only exist to satisfy dependencies in MinGW's unistd.h until
an actual pthread implementation (like winpthreads) is installed. an actual pthread implementation (like winpthreads) is installed.
%prep %prep
%setup -qn mingw-w64-headers %setup -q -n mingw-w64-headers
%build %build
%_mingw64_configure \ %{_mingw64_configure} \
--with-sdk=all \ --with-sdk=all \
--enable-secure-api --enable-secure-api
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR="%buildroot" install make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%_mingw64_includedir/ %{_mingw64_includedir}/
%exclude %_mingw64_includedir/pthread_*.h %exclude %{_mingw64_includedir}/pthread_*.h
%files dummy-pthread %files dummy-pthread
%defattr(-,root,root) %defattr(-,root,root)
%dir %_mingw64_includedir %dir %{_mingw64_includedir}
%_mingw64_includedir/pthread_*.h %{_mingw64_includedir}/pthread_*.h
%changelog %changelog