vulkan-tools/vulkan-tools.spec

51 lines
1.2 KiB
RPMSpec
Raw Normal View History

2018-06-26 15:49:17 +00:00
Name: vulkan-tools
2022-11-09 05:40:38 +00:00
Version: 1.3.231.0
Release: %autorelease
2018-06-26 15:49:17 +00:00
Summary: Vulkan tools
License: ASL 2.0
URL: https://github.com/KhronosGroup/Vulkan-Tools
Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Tools-sdk-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
2018-06-26 15:49:17 +00:00
BuildRequires: cmake3
2018-08-07 11:44:34 +00:00
BuildRequires: glslang
2018-06-26 15:49:17 +00:00
BuildRequires: ninja-build
BuildRequires: python%{python3_pkgversion}-devel
2018-06-26 15:49:17 +00:00
BuildRequires: vulkan-loader-devel
2022-02-16 01:08:39 +00:00
BuildRequires: wayland-protocols-devel
2018-06-26 15:49:17 +00:00
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xcb)
Provides: vulkan-demos%{?_isa} = %{version}-%{release}
Obsoletes: vulkan-demos < %{version}-%{release}
%description
Vulkan tools
%prep
2019-06-25 05:55:04 +00:00
%autosetup -n Vulkan-Tools-sdk-%{version} -p1
2018-06-26 15:49:17 +00:00
%build
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_prefix}
%cmake3_build
2018-06-26 15:49:17 +00:00
%install
%cmake3_install
2018-06-26 15:49:17 +00:00
%files
2019-02-13 00:38:11 +00:00
%license LICENSE.txt
2018-06-26 15:49:17 +00:00
%doc README.md CONTRIBUTING.md
%{_bindir}/*
%changelog
2022-11-09 05:40:38 +00:00
%autochangelog