Accepting request 220722 from home:jengelh:branches:windows:mingw:win64

this should have all been in a single multi-package SR, but alas I seem to have failed

OBS-URL: https://build.opensuse.org/request/show/220722
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-runtime?expand=0&rev=28
This commit is contained in:
Fridrich Strba 2014-02-09 13:03:08 +00:00 committed by Git OBS Bridge
parent ce84ad2157
commit 7caa0ff017
5 changed files with 17 additions and 33 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b55b353e397e95acf3325cb9135ba22114bf5ab8321bc97f387ed86d82e4edd9
size 1177944

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51c053ad99be4eec379e89a8c5b33dfe37fe4415ebcbb87babcefe79dff865b1
size 2535195

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ba62654297acff99acc9e3b3d8fb1eb6d927a058e56b7cb0a5eb18a809c923e
size 1343521

View File

@ -1,3 +1 @@
addFilter("devel-file-in-non-devel-package")
addFilter("spurious-executable-perm")
addFilter("arch-independent-package-contains-binary-or-object") addFilter("arch-independent-package-contains-binary-or-object")

View File

@ -24,24 +24,23 @@
%define __os_install_post %{_mingw64_install_post} %define __os_install_post %{_mingw64_install_post}
Name: mingw64-runtime Name: mingw64-runtime
Version: 20130216 Version: 3.1.0
Release: 0 Release: 0
Summary: MinGW-W64 runtime for win32 Summary: MinGW-w64 runtime for Win64
License: SUSE-Public-Domain License: SUSE-Public-Domain
Group: Development/Libraries Group: Development/Libraries/C and C++
URL: http://mingw-w64.sf.net/
Url: http://mingw-w64.sourceforge.net/ Source: mingw-w64-crt-%version.tar.xz
Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2 Source100: %name-rpmlintrc
Source100: %{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
#!BuildIgnore: post-build-checks #!BuildIgnore: post-build-checks
BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0 BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0
BuildRequires: mingw64-filesystem BuildRequires: mingw64-filesystem
BuildRequires: mingw64-headers >= %{version} BuildRequires: mingw64-headers >= %version
BuildRequires: xz
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no # Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
# longer needed. # longer needed.
@ -50,29 +49,19 @@ Obsoletes: mingw64-runtime-bootstrap
%description %description
MinGW Win64 cross-compiler runtime, base libraries. MinGW Win64 cross-compiler runtime, base libraries.
%prep %prep
%setup -q -n mingw-w64-runtime-%{version} %setup -qn mingw-w64-crt
%build %build
%{_mingw64_configure} --disable-lib32 --enable-lib64 %_mingw64_configure --disable-lib32 --enable-lib64
make make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make DESTDIR="%buildroot" install
rm -Rfv "%buildroot/%_mingw64_includedir"/*.c
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}/lib
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}/libsrc
rm -rf $RPM_BUILD_ROOT%{_mingw64_includedir}/*.c
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_mingw64_libdir}/* %_mingw64_libdir/
%changelog %changelog