diff options
-rw-r--r-- | packaging/vulkan-headers.spec | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packaging/vulkan-headers.spec b/packaging/vulkan-headers.spec new file mode 100644 index 0000000..c787ce2 --- /dev/null +++ b/packaging/vulkan-headers.spec @@ -0,0 +1,31 @@ +Name: vulkan-headers +Version: 1.1.92 +Release: 0 +License: Apache-2.0 +Summary: Vulkan Header files and API registry +Group: Graphics & UI Framework/GL +Source0: %{name}-%{version}.tar.gz + +BuildRequires: cmake + +%description +Vulkan Header files and API registry + +%prep +%setup -q + +%build +cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} -DCMAKE_INSTALL_DATADIR=%{_datadir} . +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +%make_install + +%remove_docs + +%files +%defattr(-,root,root,-) +%{_includedir}/vulkan/* +%{_datadir}/vulkan/registry/ + |