spirv-headers/spirv-headers.spec

48 lines
1.1 KiB
RPMSpec

Name: spirv-headers
Version: 1.3.236.0
Release: 1mamba
Summary: SPIR-V Headers
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.khronos.org/registry/spir-v/
Source: https://github.com/KhronosGroup/SPIRV-Headers.git/sdk-%{version}/SPIRV-Headers-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: pkg-config
%description
SPIR-V Headers.
#% debug_package
%prep
%setup -q -n SPIRV-Headers-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_includedir}/spirv
%{_includedir}/spirv/*
%dir %{_datadir}/cmake/SPIRV-Headers
%{_datadir}/cmake/SPIRV-Headers/SPIRV*.cmake
%{_datadir}/pkgconfig/SPIRV-Headers.pc
%doc LICENSE
%changelog
* Tue Dec 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.236.0-1mamba
- package created using the webbuild interface