2
0
Fridrich Strba 2009-04-08 13:15:13 +00:00 committed by Git OBS Bridge
commit fdb0784022
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:4ba1df40b7d6464c86dbedd920645d936a91baa4c4877a0da992d04d1195e988
size 1556520

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
mingw64-runtime.spec Normal file
View File

@ -0,0 +1,67 @@
%define __strip %{_mingw64_strip}
%define __objdump %{_mingw64_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw64_findrequires}
%define __find_provides %{_mingw64_findprovides}
%define __os_install_post %{_mingw64_install_post}
Name: mingw64-runtime
Version: 0.0.20090216
Release: 0
Summary: MinGW Win64 cross-compiler runtime
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: mingw64-filesystem
BuildRequires: mingw64-binutils
BuildRequires: mingw64-gcc
BuildRequires: mingw64-headers >= %{version}
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
# longer needed.
Obsoletes: mingw64-runtime-bootstrap
%description
MinGW Win64 cross-compiler runtime, base libraries.
%prep
%setup -q -c
%build
cd mingw-w64-crt
./configure --host=%{_mingw64_target} --prefix=%{_prefix} --with-sysroot=%{_mingw64_sysroot}
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 %{_mingw64_libdir}.
mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir}
mv $RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}/lib/* \
$RPM_BUILD_ROOT%{_mingw64_libdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_mingw64_libdir}/*
%changelog