2013-09-23 13:36:15 +02:00
|
|
|
#
|
|
|
|
# spec file for package mingw32-runtime
|
|
|
|
#
|
2014-02-12 17:50:48 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-09-23 13:36:15 +02: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-08-31 10:25:23 +02:00
|
|
|
Name: mingw32-runtime
|
2015-03-26 23:52:10 +01:00
|
|
|
Version: 4.0.1
|
2009-08-31 10:25:23 +02:00
|
|
|
Release: 0
|
2014-02-09 14:03:31 +01:00
|
|
|
Summary: MinGW-w64 runtime libraries for Win32
|
2013-09-23 13:36:15 +02:00
|
|
|
License: SUSE-Public-Domain
|
2014-02-09 14:03:31 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-02-12 17:50:48 +01:00
|
|
|
Url: http://mingw-w64.sf.net/
|
2015-03-26 23:52:10 +01:00
|
|
|
|
|
|
|
#DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-%version.tar.bz2
|
|
|
|
Source: mingw-w64-crt-%version.tar.xz
|
2014-06-01 14:03:47 +02:00
|
|
|
Source100: %{name}-rpmlintrc
|
2011-12-20 15:29:33 +01:00
|
|
|
#!BuildIgnore: post-build-checks
|
2009-11-27 09:24:18 +01:00
|
|
|
BuildRequires: mingw32-cross-binutils
|
|
|
|
BuildRequires: mingw32-cross-gcc-bootstrap >= 4.4.0
|
2013-09-23 13:36:15 +02:00
|
|
|
BuildRequires: mingw32-filesystem
|
2015-03-26 23:52:10 +01:00
|
|
|
BuildRequires: mingw32-headers >= %version
|
2014-02-09 14:03:31 +01:00
|
|
|
BuildRequires: xz
|
2015-03-26 23:52:10 +01: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: mingw32-headers <= %version
|
2009-08-31 10:25:23 +02:00
|
|
|
# Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
|
|
|
|
# longer needed.
|
|
|
|
Obsoletes: mingw32-runtime-bootstrap
|
2014-06-01 14:03:47 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2014-10-21 09:26:11 +02:00
|
|
|
%{_mingw32_package_header}
|
2009-08-31 10:25:23 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
MinGW Win64 cross-compiler runtime, base libraries.
|
|
|
|
|
|
|
|
%prep
|
2014-06-01 14:03:47 +02:00
|
|
|
%setup -q -n mingw-w64-crt
|
2010-09-21 22:30:54 +02:00
|
|
|
|
2009-08-31 10:25:23 +02:00
|
|
|
%build
|
2014-06-01 14:03:47 +02:00
|
|
|
%{_mingw32_configure} --enable-lib32 --disable-lib64
|
2014-02-09 14:03:31 +01:00
|
|
|
make %{?_smp_mflags}
|
2009-08-31 10:25:23 +02:00
|
|
|
|
|
|
|
%install
|
2014-06-01 14:03:47 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
rm -Rfv "%{buildroot}/%{_mingw32_includedir}"/*.c
|
2009-08-31 10:25:23 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-06-01 14:03:47 +02:00
|
|
|
%{_mingw32_libdir}/
|
2009-08-31 10:25:23 +02:00
|
|
|
|
|
|
|
%changelog
|