summaryrefslogtreecommitdiff
path: root/packaging/vulkan-headers.spec
blob: 26c69d6846a0dbfcc8671d0343a5459771926bc0 (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
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/