%global codate 20170725 %global commit0 aa0de26fff41524489b06e32151ac605081c774b %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) # Tests fail on s390x # Since s390x has no vulkan anyway exclude for now ExcludeArch: s390x Name: vkmark Version: 2017.07 Release: 0.5.%{codate}git%{shortcommit0}%{?dist} Summary: Vulkan benchmarking suite License: LGPLv2+ and GPLv3 URL: https://github.com/vkmark/vkmark Source0: https://github.com/vkmark/vkmark/archive/%{commit0}.tar.gz#/%{name}-%{version}-%{shortcommit0}.tar.gz BuildRequires: meson BuildRequires: vulkan-devel BuildRequires: glm-devel BuildRequires: assimp-devel BuildRequires: libxcb-devel BuildRequires: xcb-util-wm-devel BuildRequires: wayland-devel BuildRequires: libdrm-devel BuildRequires: mesa-libgbm-devel %ifarch x86_64 BuildRequires: mesa-vulkan-devel %endif %description vkmark is an extensible extensible Vulkan benchmarking suite with targeted, configurable scenes. %prep %autosetup -n %{name}-%{commit0} %build %meson %meson_build %install %meson_install %check %meson_test %files %license COPYING-GPL3 COPYING-LGPL2.1 %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Wed Jul 26 2017 Yanko Kaneti - 2017.07-0.5.20170725gitaa0de26 - ExcludeArch s390x for now * Wed Jul 26 2017 Yanko Kaneti - 2017.07-0.4.20170725gitaa0de26 - Vulkan backend only available on x86_64, condition the mesa-vulkan-devel * Wed Jul 26 2017 Yanko Kaneti - 2017.07-0.3.20170725gitaa0de26 - Add %%check, running the meson tests, as per review (#1473320) * Tue Jul 25 2017 Yanko Kaneti - 2017.07-0.2.20170725gitaa0de26 - Add date to the revision, as per review (#1473320) * Thu Jul 20 2017 Yanko Kaneti - 2017.07-0.1.gitfd9f927 - Initial spec