Name: wlcs Version: 1.0.0 Release: 1%{?dist} Summary: Wayland Conformance Test Suite License: GPLv2 or GPLv3 URL: https://github.com/MirServer/%{name} Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz # Install wlcs binaries in the right place # From: https://github.com/MirServer/wlcs/pull/114 Patch0001: 0001-cmake-Install-wlcs-runners-in-libexecdir-rather-than.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: make BuildRequires: boost-devel BuildRequires: gtest-devel BuildRequires: gmock-devel BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-server) BuildRequires: %{_bindir}/wayland-scanner # Because for some reason they're not pulled in normally? BuildRequires: libatomic BuildRequires: libasan BuildRequires: libubsan BuildRequires: libtsan %description wlcs aspires to be a protocol-conformance-verifying test suite usable by Wayland compositor implementors. It is growing out of porting the existing Weston test suite to be run in Mir's test suite, but it is designed to be usable by any compositor. wlcs relies on compositors providing an integration module, providing wlcs with API hooks to start a compositor, connect a client, move a window, and so on. This makes both writing aid debugging tests easier - the tests are (generally) in the same address space as the compositor, so there is a consistent global clock available, it's easier to poke around in compositor internals, and standard debugging tools can follow control flow from the test client to the compositor and back again. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{name} aspires to be a protocol-conformance-verifying test suite usable by Wayland compositor implementors. The %{name}-devel package contains libraries and header files for developing Wayland compositor tests that use %{name}. %prep %autosetup -p1 %build %cmake %make_build %install %make_install %files %license COPYING.* %doc README.rst %{_libexecdir}/%{name}/ %files devel %license COPYING.* %doc README.rst %{_includedir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %changelog * Sat Jul 13 2019 Neal Gompa - 1.0.0-1 - Initial packaging for Fedora