forked from pool/mingw64-runtime
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:
parent
ce84ad2157
commit
7caa0ff017
3
mingw-w64-crt-3.1.0.tar.xz
Normal file
3
mingw-w64-crt-3.1.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b55b353e397e95acf3325cb9135ba22114bf5ab8321bc97f387ed86d82e4edd9
|
||||
size 1177944
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51c053ad99be4eec379e89a8c5b33dfe37fe4415ebcbb87babcefe79dff865b1
|
||||
size 2535195
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ba62654297acff99acc9e3b3d8fb1eb6d927a058e56b7cb0a5eb18a809c923e
|
||||
size 1343521
|
@ -1,3 +1 @@
|
||||
addFilter("devel-file-in-non-devel-package")
|
||||
addFilter("spurious-executable-perm")
|
||||
addFilter("arch-independent-package-contains-binary-or-object")
|
||||
|
@ -24,24 +24,23 @@
|
||||
%define __os_install_post %{_mingw64_install_post}
|
||||
|
||||
Name: mingw64-runtime
|
||||
Version: 20130216
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: MinGW-W64 runtime for win32
|
||||
Summary: MinGW-w64 runtime for Win64
|
||||
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/
|
||||
Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2
|
||||
Source100: %{name}-rpmlintrc
|
||||
Source: mingw-w64-crt-%version.tar.xz
|
||||
Source100: %name-rpmlintrc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildArch: noarch
|
||||
#!BuildIgnore: post-build-checks
|
||||
|
||||
BuildRequires: mingw64-cross-binutils
|
||||
BuildRequires: mingw64-cross-gcc-bootstrap >= 4.4.0
|
||||
BuildRequires: mingw64-filesystem
|
||||
BuildRequires: mingw64-headers >= %{version}
|
||||
BuildRequires: mingw64-headers >= %version
|
||||
BuildRequires: xz
|
||||
|
||||
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
|
||||
# longer needed.
|
||||
@ -50,29 +49,19 @@ Obsoletes: mingw64-runtime-bootstrap
|
||||
%description
|
||||
MinGW Win64 cross-compiler runtime, base libraries.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n mingw-w64-runtime-%{version}
|
||||
%setup -qn mingw-w64-crt
|
||||
|
||||
%build
|
||||
%{_mingw64_configure} --disable-lib32 --enable-lib64
|
||||
make
|
||||
%_mingw64_configure --disable-lib32 --enable-lib64
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
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
|
||||
make DESTDIR="%buildroot" install
|
||||
rm -Rfv "%buildroot/%_mingw64_includedir"/*.c
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_mingw64_libdir}/*
|
||||
%_mingw64_libdir/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user