summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2018-11-29 20:27:33 +0900
committerSooChan Lim <sc1.lim@samsung.com>2018-12-27 14:21:13 +0900
commit1b8ffd0cf492d94d51f7335ab76c0953d304aa00 (patch)
treeec53bfd455a22ab182bbbcdf1ee4ae3d7dff5f13
parent114c3546e195819bd53a34b39f5194b2989a5b12 (diff)
downloadVulkan-Headers-accepted/tizen_5.5_unified.tar.gz
Vulkan-Headers-accepted/tizen_5.5_unified.tar.bz2
Vulkan-Headers-accepted/tizen_5.5_unified.zip
-rw-r--r--packaging/vulkan-headers.spec31
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/
+