summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2018-11-29 20:27:33 +0900
committerXuelian Bai <xuelian.bai@samsung.com>2021-05-25 18:02:56 +0800
commitf1a9f024ba8e20b6cde5a1f8f7788640d20cc55d (patch)
treee9feaa933a86bd8985765bbe0516267cbac48e78
parent7fe877c90abf00bc71b3c68f49db4c9bb1010411 (diff)
downloadVulkan-Headers-f1a9f024ba8e20b6cde5a1f8f7788640d20cc55d.tar.gz
Vulkan-Headers-f1a9f024ba8e20b6cde5a1f8f7788640d20cc55d.tar.bz2
Vulkan-Headers-f1a9f024ba8e20b6cde5a1f8f7788640d20cc55d.zip
-rw-r--r--packaging/vulkan-headers.spec32
1 files changed, 32 insertions, 0 deletions
diff --git a/packaging/vulkan-headers.spec b/packaging/vulkan-headers.spec
new file mode 100644
index 0000000..26c69d6
--- /dev/null
+++ b/packaging/vulkan-headers.spec
@@ -0,0 +1,32 @@
+Name: vulkan-headers
+Version: 1.2.179
+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/*
+%{_includedir}/vk_video/*
+%{_datadir}/vulkan/registry/
+