41 lines
815 B
RPMSpec
41 lines
815 B
RPMSpec
|
%global __python %{__python3}
|
||
|
Name: vulkan-headers
|
||
|
Version: 1.1.77.0
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Vulkan Header files and API registry
|
||
|
|
||
|
License: ASL 2.0
|
||
|
URL: https://github.com/KhronosGroup/Vulkan-Headers
|
||
|
Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Headers-sdk-%{version}.tar.gz
|
||
|
|
||
|
BuildRequires: cmake3
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description
|
||
|
Vulkan Header files and API registry
|
||
|
|
||
|
%prep
|
||
|
%autosetup -n Vulkan-Headers-sdk-%{version}
|
||
|
|
||
|
|
||
|
%build
|
||
|
%cmake3 -DCMAKE_INSTALL_LIBDIR=%{_libdir} .
|
||
|
%make_build
|
||
|
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
|
||
|
|
||
|
%files
|
||
|
%license LICENSE.txt
|
||
|
%doc README.md
|
||
|
%{_includedir}/vulkan/
|
||
|
%dir %{_datadir}/vulkan/
|
||
|
%{_datadir}/vulkan/registry/
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Fri Jun 22 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
|
||
|
- Initial package
|