Name: wlroots0.18 Version: 0.18.1 Release: 4%{?dist} Summary: A modular Wayland compositor library License: MIT URL: https://gitlab.freedesktop.org/wlroots/wlroots Source0: %{url}/-/releases/%{version}/downloads/wlroots-%{version}.tar.bz2 BuildRequires: gcc cmake make BuildRequires: glslang BuildRequires: gnupg2 BuildRequires: meson >= 0.59.0 BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gbm) >= 17.1.0 BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(hwdata) BuildRequires: pkgconfig(libdrm) >= 2.4.113 BuildRequires: pkgconfig(libinput) >= 1.21.0 BuildRequires: pkgconfig(libseat) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) >= 1.27 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-server) >= 1.21 BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-icccm) BuildRequires: pkgconfig(xcb-renderutil) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xwayland) BuildRequires: pkgconfig(libdisplay-info) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(xcb-errors) BuildRequires: pkgconfig(libliftoff) %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} == %{version}-%{release} # not required per se, so not picked up automatically by RPM Recommends: pkgconfig(xcb-icccm) # for examples Suggests: gcc Suggests: meson Suggests: pkgconfig(libpng) Suggests: pkgconfig(libavutil) Suggests: pkgconfig(libavcodec) Suggests: pkgconfig(libavformat) Suggests: pkgconfig(wayland-egl) %description devel Development files for %{name}. %prep %autosetup -n wlroots-%{version} %build MESON_OPTIONS=( # Disable options requiring extra/unpackaged dependencies -Dexamples=false # -Dxcb-errors=disabled ) %{meson} "${MESON_OPTIONS[@]}" %{meson_build} %install %{meson_install} %check %{meson_test} %files %license LICENSE %doc README.md %{_libdir}/libwlroots*.so %files devel ##%%doc %{_pkgdocdir}/examples %{_includedir}/wlroots*/wlr %{_libdir}/pkgconfig/wlroots*.pc %changelog %autochangelog