From 90630a46c830716a01673e136bab8cf93f3b229a1c59eaca68c38999a43d7f20 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 31 Aug 2009 08:24:52 +0000 Subject: [PATCH] osc copypac from project:windows:mingw:win32:test package:mingw32-headers revision:12 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-headers?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + mingw-w64-headers-0.0.20090827.2.tar.bz2 | 3 ++ mingw32-headers-0.0.20090827.2-rpmlintrc | 2 + mingw32-headers.spec | 55 ++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 mingw-w64-headers-0.0.20090827.2.tar.bz2 create mode 100644 mingw32-headers-0.0.20090827.2-rpmlintrc create mode 100644 mingw32-headers.spec 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.20090827.2.tar.bz2 b/mingw-w64-headers-0.0.20090827.2.tar.bz2 new file mode 100644 index 0000000..e5fb0e1 --- /dev/null +++ b/mingw-w64-headers-0.0.20090827.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f57b8cf6734b55518e10de8bdaee86e0ec299d8d0b69e13a8da3399ed4376aa5 +size 2933750 diff --git a/mingw32-headers-0.0.20090827.2-rpmlintrc b/mingw32-headers-0.0.20090827.2-rpmlintrc new file mode 100644 index 0000000..ac46eac --- /dev/null +++ b/mingw32-headers-0.0.20090827.2-rpmlintrc @@ -0,0 +1,2 @@ +addFilter("devel-file-in-non-devel-package") +addFilter("spurious-executable-perm") diff --git a/mingw32-headers.spec b/mingw32-headers.spec new file mode 100644 index 0000000..b187ab6 --- /dev/null +++ b/mingw32-headers.spec @@ -0,0 +1,55 @@ +%define __os_install_post /usr/lib/rpm/brp-compress %{nil} + +Name: mingw32-headers +Version: 0.0.20090827.2 +Release: 0 +Summary: MinGW-W64 headers for win32 and win64 + +Group: Development/Libraries +License: Public Domain +URL: http://www.mingw.org/ + +Source0: 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: mingw32-filesystem + +%description +MinGW Win64 headers. + + +%prep +%setup -q -c + +%build +rm -rf %{_mingw32_target} + +# Setup sys-root. +mkdir -p %{_mingw32_target}/sys-root/mingw +cp -a mingw-w64-headers/include %{_mingw32_target}/sys-root/mingw +cp -a mingw-w64-headers/direct-x/include/* %{_mingw32_target}/sys-root/mingw/include/ + + +%install +rm -rf $RPM_BUILD_ROOT + +mkdir -p $RPM_BUILD_ROOT%{_prefix} +cp -a %{_mingw32_target} $RPM_BUILD_ROOT%{_prefix} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%dir %{_prefix}/%{_mingw32_target} +%{_mingw32_sysroot} + + +%changelog