From e404ee111e82109539062d662ee00d1ab55128ad Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:04:03 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3.236.0-1mamba;Tue Dec 27 2022] --- README.md | 1 + spirv-headers.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 spirv-headers.spec diff --git a/README.md b/README.md index c3932c0..467de93 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # spirv-headers +SPIR-V Headers. diff --git a/spirv-headers.spec b/spirv-headers.spec new file mode 100644 index 0000000..2f6e451 --- /dev/null +++ b/spirv-headers.spec @@ -0,0 +1,47 @@ +Name: spirv-headers +Version: 1.3.236.0 +Release: 1mamba +Summary: SPIR-V Headers +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 1.3.236.0-1mamba +- package created using the webbuild interface