summaryrefslogtreecommitdiff
path: root/packaging/vulkan-headers.spec
blob: 9898a886ae4bd62604a0e8436a8bbdbc09166421 (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
37
Name:	    vulkan-headers
Version:    1.3.268
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 LICENSES
%defattr(-,root,root,-)
%{_includedir}/vulkan/*
%{_includedir}/vk_video/*
%{_datadir}/vulkan/registry/
/usr/local/share/cmake/*