SHA256
1
0
forked from pool/vkmark
vkmark/vkmark.spec

61 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package vkmark
#
# Copyright (c) 2018 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: vkmark
Version: 2017.08+20180530.1ebd493
Release: 0
License: LGPL-2.1+
Summary: Vulkan benchmark utility
Url: https://github.com/vkmark/vkmark
Group: System/Benchmark
Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE vkmark-skip-glm-dep-check.patch malcolmlewis@opensuse.org -- No pc file present in development package, so check fails.
Patch0: vkmark-skip-glm-dep-check.patch
BuildRequires: assimp-devel
BuildRequires: gcc-c++
BuildRequires: glm-devel
BuildRequires: libdrm-devel
BuildRequires: libgbm-devel
BuildRequires: libxcb-devel
BuildRequires: meson
BuildRequires: vulkan-devel
BuildRequires: xcb-util-wm-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
An extensible Vulkan benchmarking suite with targeted, configurable scenes.
%prep
%setup -q
%patch0 -p1
%build
%meson
%meson_build
%install
%meson_install
%files
%defattr(-,root,root,-)
%{_bindir}/vkmark
%{_libdir}/vkmark/
%{_mandir}/man1/vkmark.1%{?ext_man}
%{_datadir}/vkmark/
%changelog