commit e7060b43493f92beb53048b960b84fe192f92fcd406a9d3640436bb462791ffd Author: Fridrich Strba Date: Wed Apr 8 13:12:39 2009 +0000 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-headers?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/mingw-w64-headers-0.0.20090216.tar.bz2 b/mingw-w64-headers-0.0.20090216.tar.bz2 new file mode 100644 index 0000000..c013a7e --- /dev/null +++ b/mingw-w64-headers-0.0.20090216.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd04bec0ee6e6443006c32e8866592e96138ec7be84f930f3c02570d6168b1aa +size 2619371 diff --git a/mingw64-headers-0.0.20090216-rpmlintrc b/mingw64-headers-0.0.20090216-rpmlintrc new file mode 100644 index 0000000..ac46eac --- /dev/null +++ b/mingw64-headers-0.0.20090216-rpmlintrc @@ -0,0 +1,2 @@ +addFilter("devel-file-in-non-devel-package") +addFilter("spurious-executable-perm") diff --git a/mingw64-headers.spec b/mingw64-headers.spec new file mode 100644 index 0000000..09d06cb --- /dev/null +++ b/mingw64-headers.spec @@ -0,0 +1,55 @@ +%define __os_install_post /usr/lib/rpm/brp-compress %{nil} + +Name: mingw64-headers +Version: 0.0.20090216 +Release: 0 +Summary: MinGW Win64 headers + +Group: Development/Libraries +License: Public Domain +URL: http://www.mingw.org/ + +Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-headers-%{version}.tar.bz2 +Source1000: %{name}-%{version}-rpmlintrc + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +#!BuildIgnore: post-build-checks + +BuildRequires: mingw64-filesystem + +%description +MinGW Win64 headers. + + +%prep +%setup -q -c + +%build +rm -rf %{_mingw64_target} + +# Setup sys-root. +mkdir -p %{_mingw64_target}/sys-root/mingw +cp -a mingw-w64-headers/include %{_mingw64_target}/sys-root/mingw +cp -a mingw-w64-headers/direct-x/include/* %{_mingw64_target}/sys-root/mingw/include/ + + +%install +rm -rf $RPM_BUILD_ROOT + +mkdir -p $RPM_BUILD_ROOT%{_prefix} +cp -a %{_mingw64_target} $RPM_BUILD_ROOT%{_prefix} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%dir %{_prefix}/x86_64-pc-mingw32 +%{_prefix}/x86_64-pc-mingw32/sys-root + + +%changelog