2013-09-23 11:43:27 +00:00
|
|
|
#
|
|
|
|
# spec file for package mingw64-runtime
|
|
|
|
#
|
2017-01-14 20:48:51 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-09-23 11:43:27 +00:00
|
|
|
#
|
|
|
|
# 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 13:15:13 +00:00
|
|
|
Name: mingw64-runtime
|
2018-08-31 05:21:23 +00:00
|
|
|
Version: 5.0.4
|
2009-04-08 13:15:13 +00:00
|
|
|
Release: 0
|
2015-03-26 22:52:18 +00:00
|
|
|
Summary: MinGW-w64 runtime libraries for Win64
|
2013-09-23 11:43:27 +00:00
|
|
|
License: SUSE-Public-Domain
|
2014-02-09 13:03:08 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-02-12 16:49:44 +00:00
|
|
|
Url: http://mingw-w64.sf.net/
|
2015-03-26 22:52:18 +00:00
|
|
|
|
2017-11-21 11:43:10 +00:00
|
|
|
#DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-v5.0.3.tar.bz2
|
2015-03-26 22:52:18 +00:00
|
|
|
Source: mingw-w64-crt-%version.tar.xz
|
2014-06-01 12:04:45 +00:00
|
|
|
Source100: %{name}-rpmlintrc
|
2011-12-20 14:38:55 +00:00
|
|
|
#!BuildIgnore: post-build-checks
|
2009-11-27 08:25:12 +00:00
|
|
|
BuildRequires: mingw64-cross-binutils
|
|
|
|
BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0
|
2013-09-23 11:43:27 +00:00
|
|
|
BuildRequires: mingw64-filesystem
|
2015-03-26 22:52:18 +00:00
|
|
|
BuildRequires: mingw64-headers >= %version
|
2014-02-09 13:03:08 +00:00
|
|
|
BuildRequires: xz
|
2015-03-26 22:52:18 +00:00
|
|
|
# When building the CRT, any newer (>=) headers should be ok, since the CRT
|
|
|
|
# won't make use of them. At runtime, ensure that headers are not too new (<=)
|
|
|
|
# because ominous link failures can result -- let OBS go into unresolvable
|
|
|
|
# state instead.
|
|
|
|
Requires: mingw64-headers <= %version
|
2009-04-08 13:15:13 +00:00
|
|
|
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
|
|
|
|
# longer needed.
|
|
|
|
Obsoletes: mingw64-runtime-bootstrap
|
2014-06-01 12:04:45 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2014-10-21 07:25:07 +00:00
|
|
|
%{_mingw64_package_header}
|
2009-04-08 13:15:13 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
MinGW Win64 cross-compiler runtime, base libraries.
|
|
|
|
|
|
|
|
%prep
|
2014-06-01 12:04:45 +00:00
|
|
|
%setup -q -n mingw-w64-crt
|
2010-09-21 20:33:51 +00:00
|
|
|
|
2009-04-08 13:15:13 +00:00
|
|
|
%build
|
2014-06-01 12:04:45 +00:00
|
|
|
%{_mingw64_configure} --disable-lib32 --enable-lib64
|
2014-02-09 13:03:08 +00:00
|
|
|
make %{?_smp_mflags}
|
2009-04-08 13:15:13 +00:00
|
|
|
|
|
|
|
%install
|
2014-06-01 12:04:45 +00:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
rm -Rfv "%{buildroot}/%{_mingw64_includedir}"/*.c
|
2009-04-08 13:15:13 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-06-01 12:04:45 +00:00
|
|
|
%{_mingw64_libdir}/
|
2009-04-08 13:15:13 +00:00
|
|
|
|
|
|
|
%changelog
|