]> git.pld-linux.org Git - packages/Vulkan-Headers.git/blob - Vulkan-Headers.spec
- updated to sdk-1.3.280.0
[packages/Vulkan-Headers.git] / Vulkan-Headers.spec
1 Summary:        Vulkan API headers and registry
2 Summary(pl.UTF-8):      Pliki nagłówkowe i rejestr API Vulkan
3 Name:           Vulkan-Headers
4 # note: prefer "vulkan-sdk-" tags for better quality level
5 Version:        1.3.280.0
6 %define gitref  vulkan-sdk-%{version}
7 Release:        1
8 License:        Apache v2.0, parts MIT-like
9 Group:          Development
10 #Source0Download: https://github.com/KhronosGroup/Vulkan-Headers/tags
11 Source0:        https://github.com/KhronosGroup/Vulkan-Headers/archive/%{gitref}/Vulkan-Headers-%{gitref}.tar.gz
12 # Source0-md5:  6a5ff0b86c072300fac88cfdd3996c75
13 URL:            https://github.com/KhronosGroup/Vulkan-Headers/
14 BuildRequires:  cmake >= 3.15
15 BuildRequires:  rpmbuild(macros) >= 1.605
16 Requires:       libxcb-devel
17 Requires:       wayland-devel
18 Requires:       xorg-lib-libX11-devel
19 Requires:       xorg-lib-libXrandr-devel
20 Conflicts:      vulkan-devel < 1.1.107
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Header files and registry for Vulkan API.
26
27 %description -l pl.UTF-8
28 Pliki nagłówkowe i rejestr API Vulkan.
29
30 %prep
31 %setup -q -n Vulkan-Headers-%{gitref}
32
33 %build
34 %cmake -B build
35
36 %{__make} -C build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} -C build install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README.md
50 %{_includedir}/vk_video
51 %{_includedir}/vulkan
52 %{_datadir}/vulkan/registry
53 %{_datadir}/cmake/VulkanHeaders
This page took 0.106613 seconds and 4 git commands to generate.