2013-09-23 13:36:15 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2009-08-31 10:25:23 +02:00
|
|
|
%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
|
2013-03-28 07:55:51 +01:00
|
|
|
Version: 20130216
|
2009-08-31 10:25:23 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: MinGW-W64 runtime for win32
|
2013-09-23 13:36:15 +02:00
|
|
|
License: SUSE-Public-Domain
|
2009-08-31 10:25:23 +02:00
|
|
|
Group: Development/Libraries
|
2013-09-23 13:36:15 +02:00
|
|
|
|
|
|
|
Url: http://mingw-w64.sourceforge.net/
|
2009-10-22 00:14:15 +02:00
|
|
|
Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2
|
2010-08-10 23:26:11 +02:00
|
|
|
Source100: %{name}-rpmlintrc
|
2013-09-23 13:36:15 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-08-31 10:25:23 +02:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2011-12-20 15:29:33 +01:00
|
|
|
#!BuildIgnore: post-build-checks
|
2009-08-31 10:25:23 +02:00
|
|
|
|
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
|
2009-08-31 10:25:23 +02:00
|
|
|
BuildRequires: mingw32-headers >= %{version}
|
|
|
|
|
|
|
|
# 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
|
2009-10-22 00:14:15 +02:00
|
|
|
%setup -q -n mingw-w64-runtime-%{version}
|
2010-09-21 22:30:54 +02:00
|
|
|
|
2009-08-31 10:25:23 +02:00
|
|
|
%build
|
2013-03-28 07:55:51 +01:00
|
|
|
%{_mingw32_configure} --enable-lib32 --disable-lib64
|
2011-12-20 15:29:33 +01:00
|
|
|
make
|
2009-08-31 10:25:23 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
2009-11-14 10:21:46 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/lib
|
2012-01-28 18:31:59 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/libsrc
|
2009-08-31 10:25:23 +02:00
|
|
|
|
2013-03-28 07:55:51 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_mingw32_includedir}/*.c
|
|
|
|
|
2009-08-31 10:25:23 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_mingw32_libdir}/*
|
|
|
|
|
|
|
|
%changelog
|