2
0

osc copypac from project:windows:mingw:win32:test package:mingw32-runtime revision:11

OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-runtime?expand=0&rev=1
This commit is contained in:
Fridrich Strba 2009-08-31 08:25:23 +00:00 committed by Git OBS Bridge
commit 7017631f34
5 changed files with 97 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

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

View File

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

67
mingw32-runtime.spec Normal file
View File

@ -0,0 +1,67 @@
%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: 0.0.20090827.2
Release: 0
Summary: MinGW-W64 runtime for win32
License: Public Domain
Group: Development/Libraries
URL: http://www.mingw.org/
Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-crt-%{version}.tar.bz2
Source100: %{name}-%{version}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gcc
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
%setup -q -c
%build
cd mingw-w64-crt
./configure --host=%{_mingw32_target} --prefix=%{_prefix} --with-sysroot=%{_mingw32_sysroot} --enable-lib32 --disable-lib64
make
%install
rm -rf $RPM_BUILD_ROOT
pushd mingw-w64-crt
make DESTDIR=$RPM_BUILD_ROOT install
popd
# The above installs in /usr/x86_64-pc-mingw32/sys-root/x86_64-pc-mingw32/lib
# which is the wrong location. Move it to %{_mingw32_libdir}.
mkdir -p $RPM_BUILD_ROOT%{_mingw32_libdir}
mv $RPM_BUILD_ROOT%{_prefix}/%{_mingw32_target}/lib/* \
$RPM_BUILD_ROOT%{_mingw32_libdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_mingw32_libdir}/*
%changelog