forked from mingw/mingw32-headers
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
This commit is contained in:
commit
90630a46c8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
mingw-w64-headers-0.0.20090827.2.tar.bz2
Normal file
3
mingw-w64-headers-0.0.20090827.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f57b8cf6734b55518e10de8bdaee86e0ec299d8d0b69e13a8da3399ed4376aa5
|
||||
size 2933750
|
2
mingw32-headers-0.0.20090827.2-rpmlintrc
Normal file
2
mingw32-headers-0.0.20090827.2-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
addFilter("devel-file-in-non-devel-package")
|
||||
addFilter("spurious-executable-perm")
|
55
mingw32-headers.spec
Normal file
55
mingw32-headers.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user