2013-09-23 13:44:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw64-headers
|
|
|
|
#
|
|
|
|
# Copyright (c) 2013 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2009-04-08 15:12:39 +02:00
|
|
|
%define __os_install_post /usr/lib/rpm/brp-compress %{nil}
|
|
|
|
|
|
|
|
Name: mingw64-headers
|
2013-03-28 07:15:33 +01:00
|
|
|
Version: 20130216
|
2009-04-08 15:12:39 +02:00
|
|
|
Release: 0
|
2009-10-22 13:41:20 +02:00
|
|
|
Summary: MinGW-W64 headers for win32 and win64
|
2013-09-23 13:44:55 +02:00
|
|
|
License: SUSE-Public-Domain
|
2009-04-08 15:12:39 +02:00
|
|
|
Group: Development/Libraries
|
2013-09-23 13:44:55 +02:00
|
|
|
|
|
|
|
Url: http://www.mingw.org/
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2009-10-22 13:41:20 +02:00
|
|
|
Source0: mingw-w64-headers-%{version}.tar.bz2
|
2010-08-10 23:25:20 +02:00
|
|
|
Source1000: %{name}-rpmlintrc
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2013-09-23 13:44:55 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2013-09-23 13:44:55 +02:00
|
|
|
BuildArch: noarch
|
2009-04-08 15:12:39 +02:00
|
|
|
#!BuildIgnore: post-build-checks
|
|
|
|
|
|
|
|
BuildRequires: mingw64-filesystem
|
|
|
|
|
|
|
|
%description
|
|
|
|
MinGW Win64 headers.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2009-10-22 13:41:20 +02:00
|
|
|
%setup -q -n mingw-w64-headers-%{version}
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%build
|
2013-03-28 07:15:33 +01:00
|
|
|
%{_mingw64_configure} \
|
|
|
|
--with-sdk=all \
|
|
|
|
--enable-secure-api
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2009-10-22 13:41:20 +02:00
|
|
|
make
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2009-10-22 13:41:20 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mingw64_includedir}
|
|
|
|
ln -s $RPM_BUILD_ROOT%{_mingw64_includedir} \
|
|
|
|
$RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}/include
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2009-10-22 13:41:20 +02:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2009-04-08 15:12:39 +02:00
|
|
|
|
2009-10-22 13:41:20 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}/include
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-10-22 13:41:20 +02:00
|
|
|
%dir %{_prefix}/%{_mingw64_target}
|
|
|
|
%{_mingw64_sysroot}
|
2009-04-08 15:12:39 +02:00
|
|
|
|
|
|
|
%changelog
|