%global provider github %global provider_tld com %global project swaywm %global repo wlroots %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} Name: wlroots Version: 0.2 Release: 1%{?dist} Summary: Pluggable, composable, unopinionated modules for building a Wayland compositor License: MIT URL: https://%{provider_prefix} Source: https://%{provider_prefix}/archive/%{version}.tar.gz Requires: libcap Requires: libdrm Requires: libinput Requires: libwayland-cursor Requires: libwayland-egl Requires: libwayland-server >= 1.16 Requires: libxkbcommon Requires: mesa-libEGL Requires: mesa-libgbm Requires: mesa-libGLES Requires: pixman Requires: systemd Requires: xcb-util-errors Requires: xcb-util-image Requires: xcb-util-wm BuildRequires: ctags-etags BuildRequires: gcc BuildRequires: libcap-devel BuildRequires: libdrm-devel BuildRequires: libinput-devel BuildRequires: libxkbcommon-devel BuildRequires: mesa-libEGL-devel BuildRequires: mesa-libgbm-devel BuildRequires: mesa-libGLES-devel BuildRequires: meson >= 0.48 BuildRequires: pixman-devel BuildRequires: systemd-devel BuildRequires: wayland-devel >= 1.16 BuildRequires: wayland-protocols-devel BuildRequires: xcb-util-errors-devel BuildRequires: xcb-util-image-devel BuildRequires: xcb-util-wm-devel %description %{summary}. %prep %setup -q %build %meson %meson_build %install %meson_install %check %meson_test %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README.md CONTRIBUTING.md docs/* %license LICENSE %{_libdir}/libwlroots.so.* %package devel Summary: Development libraries and header files for %{name} Requires: wlroots %description devel %{summary}. %files devel %{_libdir}/libwlroots.so %{_libdir}/pkgconfig/wlroots.pc %{_includedir}/wlr/* %changelog * Sun Dec 2 2018 Sergey Korolev - 0.2-1 - Update to version 0.2 * Sun Oct 21 2018 Sergey Korolev - 0.1-1 - Update to version 0.1 * Sun Oct 14 2018 Sergey Korolev - 0.0.1-6.git9383e1f - Code update for sway 1.0-alpha.6 release * Tue Aug 7 2018 Marcin Skarbek - 0.0.1-4.git28b0a40 - Code update for sway 1.0-alpha.5 release * Tue Jul 17 2018 Marcin Skarbek - 0.0.1-3.git2a58d44 - Code update for sway 1.0-alpha.4 release * Tue Jun 19 2018 Marcin Skarbek - 0.0.1-2.git9a1f0e2 - Code update for sway 1.0-alpha.3 release * Wed May 23 2018 Marcin Skarbek - 0.0.1-1.git341af97 - Initial package