1
0

Accepting request 220700 from home:jengelh:branches:windows:mingw:win32

update headers and runtime to new version 3.1 (win64 following)

OBS-URL: https://build.opensuse.org/request/show/220700
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-headers?expand=0&rev=21
This commit is contained in:
Fridrich Strba 2014-02-03 15:04:10 +00:00 committed by Git OBS Bridge
parent fb876546a6
commit 255a586c25
3 changed files with 37 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8eacb9ca72fa6300bbd3e7202ff660d9d746492027ae75c7f2231a741d172fb1
size 4219951

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e508175ed31cf60f5245c74670e21221fcda35e3a5588c6c2255e726535225ee
size 4024112

View File

@ -16,58 +16,60 @@
# #
%define __os_install_post /usr/lib/rpm/brp-compress %{nil}
Name: mingw32-headers Name: mingw32-headers
Version: 20130216 Version: 3.1.0
Release: 0 Release: 0
Summary: MinGW-W64 headers for win32 and win64 Summary: MinGW-w64 headers for Win32 and Win64
License: SUSE-Public-Domain License: SUSE-Public-Domain
Group: Development/Libraries Group: Development/Libraries/C and C++
URL: http://mingw-w64.sf.net/
Url: http://www.mingw.org/
Source0: mingw-w64-headers-%{version}.tar.bz2
Source1000: %{name}-rpmlintrc
# Generated from downloadable mingw-w64-%version.tar.bz2
Source: mingw-w64-headers-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-filesystem BuildRequires: mingw32-filesystem
BuildRequires: xz
#!BuildIgnore: post-build-checks
Requires: mingw32-unistd-pthread-devel
%description %description
MinGW Win64 headers. 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
Summary: Stub pthread header files for MinGW
Group: Development/Libraries/C and C++
Provides: mingw32-unistd-pthread-devel
%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.
%prep %prep
%setup -q -n mingw-w64-headers-%{version} %setup -qn mingw-w64-headers
%build %build
%{_mingw32_configure} \ %_mingw32_configure \
--with-sdk=all \ --with-sdk=all \
--enable-secure-api --enable-secure-api
make %{?_smp_mflags}
make
%install %install
rm -rf $RPM_BUILD_ROOT make DESTDIR="%buildroot" install
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}
mkdir -p $RPM_BUILD_ROOT%{_mingw32_includedir}
ln -s $RPM_BUILD_ROOT%{_mingw32_includedir} \
$RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/include
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/include
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_prefix}/%{_mingw32_target} %_mingw32_includedir/
%{_mingw32_sysroot} %exclude %_mingw32_includedir/pthread_*.h
%files dummy-pthread
%defattr(-,root,root)
%dir %_mingw32_includedir
%_mingw32_includedir/pthread_*.h
%changelog %changelog