forked from pool/mingw32-runtime
3fab5d5a2f
new upstream version; same thing OBS-URL: https://build.opensuse.org/request/show/220723 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-runtime?expand=0&rev=24
67 lines
2.0 KiB
RPMSpec
67 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package mingw32-runtime
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define __strip %{_mingw32_strip}
|
|
%define __objdump %{_mingw32_objdump}
|
|
%define _use_internal_dependency_generator 0
|
|
%define __find_requires %{_mingw32_findrequires}
|
|
%define __find_provides %{_mingw32_findprovides}
|
|
%define __os_install_post %{_mingw32_install_post}
|
|
|
|
Name: mingw32-runtime
|
|
Version: 3.1.0
|
|
Release: 0
|
|
Summary: MinGW-w64 runtime libraries for Win32
|
|
License: SUSE-Public-Domain
|
|
Group: Development/Libraries/C and C++
|
|
URL: http://mingw-w64.sf.net/
|
|
|
|
Source: mingw-w64-crt-%version.tar.xz
|
|
Source100: %name-rpmlintrc
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
#!BuildIgnore: post-build-checks
|
|
BuildRequires: mingw32-cross-binutils
|
|
BuildRequires: mingw32-cross-gcc-bootstrap >= 4.4.0
|
|
BuildRequires: mingw32-filesystem
|
|
BuildRequires: mingw32-headers >= %version
|
|
BuildRequires: xz
|
|
# Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
|
|
# longer needed.
|
|
Obsoletes: mingw32-runtime-bootstrap
|
|
|
|
%description
|
|
MinGW Win64 cross-compiler runtime, base libraries.
|
|
|
|
%prep
|
|
%setup -qn mingw-w64-crt
|
|
|
|
%build
|
|
%_mingw32_configure --enable-lib32 --disable-lib64
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR="%buildroot" install
|
|
rm -Rfv "%buildroot/%_mingw32_includedir"/*.c
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_mingw32_libdir/
|
|
|
|
%changelog
|