This commit is contained in:
commit
e7060b4349
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.20090216.tar.bz2
Normal file
3
mingw-w64-headers-0.0.20090216.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cd04bec0ee6e6443006c32e8866592e96138ec7be84f930f3c02570d6168b1aa
|
||||||
|
size 2619371
|
2
mingw64-headers-0.0.20090216-rpmlintrc
Normal file
2
mingw64-headers-0.0.20090216-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
addFilter("devel-file-in-non-devel-package")
|
||||||
|
addFilter("spurious-executable-perm")
|
55
mingw64-headers.spec
Normal file
55
mingw64-headers.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user