summaryrefslogtreecommitdiff
path: root/packaging/vulkan-headers.spec
blob: 1824a774e3b3b490e82569669d06efb3a5882af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Name:	    vulkan-headers
Version:    1.3.240
Release:    0
License:    Apache-2.0
Summary:    Vulkan Header files and API registry
Group:      Graphics & UI Framework/GL
Source0:    %{name}-%{version}.tar.gz
Source1001: %{name}.manifest

BuildRequires:  cmake

%description
Vulkan Header files and API registry

%prep
%setup -q
cp %{SOURCE1001} .


%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
%manifest %{name}.manifest
%license LICENSE.txt
%defattr(-,root,root,-)
%{_includedir}/vulkan/*
%{_includedir}/vk_video/*
%{_datadir}/vulkan/registry/
%{_datadir}/cmake/*