forked from pool/mingw64-runtime
61 lines
1.9 KiB
RPMSpec
61 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package mingw64-runtime
|
|
#
|
|
# Copyright (c) 2014 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/
|
|
#
|
|
|
|
|
|
%define snapshot -r6638
|
|
Name: mingw64-runtime
|
|
Version: 3.1.99
|
|
Release: 0
|
|
Summary: MinGW-w64 runtime for Win64
|
|
License: SUSE-Public-Domain
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://mingw-w64.sf.net/
|
|
Source: mingw-w64-crt-%{version}%{snapshot}.tar.xz
|
|
Source100: %{name}-rpmlintrc
|
|
#!BuildIgnore: post-build-checks
|
|
BuildRequires: mingw64-cross-binutils
|
|
BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0
|
|
BuildRequires: mingw64-filesystem
|
|
BuildRequires: mingw64-headers >= %{version}
|
|
BuildRequires: xz
|
|
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
|
|
# longer needed.
|
|
Obsoletes: mingw64-runtime-bootstrap
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%{_mingw64_package_header}
|
|
|
|
%description
|
|
MinGW Win64 cross-compiler runtime, base libraries.
|
|
|
|
%prep
|
|
%setup -q -n mingw-w64-crt
|
|
|
|
%build
|
|
%{_mingw64_configure} --disable-lib32 --enable-lib64
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
rm -Rfv "%{buildroot}/%{_mingw64_includedir}"/*.c
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_mingw64_libdir}/
|
|
|
|
%changelog
|