forked from pool/mingw32-runtime
Accepting request 220723 from home:jengelh:branches:windows:mingw:win32
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
This commit is contained in:
parent
0033a3b2d1
commit
3fab5d5a2f
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: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,25 +24,23 @@
|
||||
%define __os_install_post %{_mingw32_install_post}
|
||||
|
||||
Name: mingw32-runtime
|
||||
Version: 20130216
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: MinGW-W64 runtime for win32
|
||||
Summary: MinGW-w64 runtime libraries for Win32
|
||||
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: mingw32-cross-binutils
|
||||
BuildRequires: mingw32-cross-gcc-bootstrap >= 4.4.0
|
||||
BuildRequires: mingw32-filesystem
|
||||
BuildRequires: mingw32-headers >= %{version}
|
||||
|
||||
BuildRequires: mingw32-headers >= %version
|
||||
BuildRequires: xz
|
||||
# Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
|
||||
# longer needed.
|
||||
Obsoletes: mingw32-runtime-bootstrap
|
||||
@ -50,29 +48,19 @@ Obsoletes: mingw32-runtime-bootstrap
|
||||
%description
|
||||
MinGW Win64 cross-compiler runtime, base libraries.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n mingw-w64-runtime-%{version}
|
||||
%setup -qn mingw-w64-crt
|
||||
|
||||
%build
|
||||
%{_mingw32_configure} --enable-lib32 --disable-lib64
|
||||
make
|
||||
%_mingw32_configure --enable-lib32 --disable-lib64
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/lib
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/libsrc
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_includedir}/*.c
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR="%buildroot" install
|
||||
rm -Rfv "%buildroot/%_mingw32_includedir"/*.c
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_mingw32_libdir}/*
|
||||
%_mingw32_libdir/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user