vulkan-headers/vulkan-headers.spec

41 lines
815 B
RPMSpec
Raw Normal View History

2018-06-26 13:49:42 +00:00
%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