package created using the webbuild interface [release 1.600.10-1mamba;Wed Apr 20 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:48:04 +01:00
parent 299780dffa
commit 0e9764c384
2 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# directx-headers
Official DirectX headers available under an open source license.

66
directx-headers.spec Normal file
View File

@ -0,0 +1,66 @@
Name: directx-headers
Version: 1.600.10
Release: 1mamba
Summary: Official DirectX headers available under an open source license
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://devblogs.microsoft.com/directx/
Source: https://github.com/microsoft/DirectX-Headers.git/v%{version}/DirectX-Headers-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
Official DirectX headers available under an open source license.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: pkg-config
%description devel
Official DirectX headers available under an open source license.
This package contains header files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q -n DirectX-Headers-%{version}
%build
# LTO breaks mesa...
export CXXFLAGS="%{optflags} -fno-lto"
%meson \
-Dbuild-test=false
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files devel
%defattr(-,root,root)
%dir %{_includedir}/directx
%{_includedir}/directx/*
%dir %{_includedir}/dxguids
%{_includedir}/dxguids/*
%dir %{_includedir}/wsl
%dir %{_includedir}/wsl/stubs
%{_includedir}/wsl/stubs/*.h
%dir %{_includedir}/wsl/stubs/wrl
%{_includedir}/wsl/stubs/wrl/*.h
%{_includedir}/wsl/*.h
%{_libdir}/libDirectX-Guids.a
%{_libdir}/pkgconfig/DirectX-Headers.pc
%doc LICENSE
%changelog
* Wed Apr 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.600.10-1mamba
- package created using the webbuild interface