directx-headers/directx-headers.spec

76 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: directx-headers
Version: 1.606.4
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
* Thu Sep 01 2022 Automatic Build System <autodist@mambasoft.it> 1.606.4-1mamba
- automatic version update by autodist
* Tue Aug 02 2022 Automatic Build System <autodist@mambasoft.it> 1.606.3-1mamba
- automatic version update by autodist
* Thu May 05 2022 Automatic Build System <autodist@mambasoft.it> 1.602.0-1mamba
- automatic version update by autodist
* Wed Apr 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.600.10-1mamba
- package created using the webbuild interface