++ b/wlroots/wlroots.spec # Version of the .so library %global abi_ver 0.20 # libliftoff does not bump soname on API changes %global liftoff_ver 0.5.0 Name: wlroots Version: 0.20.2 Release: 6%{?dist} Summary: A modular Wayland compositor library # Convert tilde to dash for source tag (e.g. 0.20.0~rc2 -> 0.20.0-rc2) %global tag %(v='%{version}'; echo "${v//'~'/-}") # Source files/overall project licensed as MIT, but # - HPND-sell-variant # * protocol/drm.xml # * protocol/wlr-data-control-unstable-v1.xml # * protocol/wlr-foreign-toplevel-management-unstable-v1.xml # * protocol/wlr-gamma-control-unstable-v1.xml # * protocol/wlr-input-inhibitor-unstable-v1.xml # * protocol/wlr-layer-shell-unstable-v1.xml # * protocol/wlr-output-management-unstable-v1.xml # - LGPL-2.1-or-later # * protocol/server-decoration.xml # Those files are processed to C-compilable files by the # `wayland-scanner` binary during build and don't alter # the main license of the binaries linking with them by # the underlying licenses. License: MIT URL: https://gitlab.freedesktop.org/wlroots/wlroots # Use the git archive endpoint: the /-/releases//downloads/ endpoint # 504s under load at the COPR SRPM stage (observed on builds 10867975/10868146). Source0: %{url}/-/archive/%{tag}/%{name}-%{tag}.tar.gz # Fedora patches # Following patch is required for phoc. Patch: Revert-layer-shell-error-on-0-dimension-without-anch.patch # Single gcc atom (RPM320-safe): mock/COPR minimal buildroots ship no # compiler — 0.20.2-5 removed both former duplicate lines and failed all # 4 chroots with "Unknown compiler(s): [['gcc']]" (build 11027369). BuildRequires: gcc BuildRequires: glslang BuildRequires: meson >= 1.3 BuildRequires: (pkgconfig(libliftoff) >= %{liftoff_ver} with pkgconfig(libliftoff) < 0.6) BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gbm) >= 21.1 BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(hwdata) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libdisplay-info) >= 0.2.0 BuildRequires: pkgconfig(libdrm) >= 2.4.129 BuildRequires: pkgconfig(libinput) >= 1.21.0 BuildRequires: pkgconfig(libseat) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(pixman-1) >= 0.46.0 BuildRequires: pkgconfig(vulkan) >= 1.2.182 BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) >= 1.47 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-server) >= 1.24.0 BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-composite) BuildRequires: pkgconfig(xcb-dri3) BuildRequires: pkgconfig(xcb-errors) BuildRequires: pkgconfig(xcb-ewmh) BuildRequires: pkgconfig(xcb-icccm) BuildRequires: pkgconfig(xcb-present) BuildRequires: pkgconfig(xcb-render) BuildRequires: pkgconfig(xcb-renderutil) BuildRequires: pkgconfig(xcb-res) BuildRequires: pkgconfig(xcb-shm) BuildRequires: pkgconfig(xcb-xfixes) >= 1.15 BuildRequires: pkgconfig(xcb-xinput) BuildRequires: pkgconfig(xkbcommon) >= 1.8.0 BuildRequires: pkgconfig(xwayland) Requires: libliftoff%{?_isa} >= %{liftoff_ver} %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) %description devel Development files for %{name}. %prep %autosetup -N -n %{name}-%{tag} %autopatch -p1 -M99 %build MESON_OPTIONS=( -Dexamples=false ) %{meson} "${MESON_OPTIONS[@]}" %{meson_build} %install %{meson_install} %check %{meson_test} %files %license LICENSE %doc README.md %{_libdir}/libwlroots-%{abi_ver}.so %files devel %{_includedir}/wlroots-%{abi_ver}/wlr %{_libdir}/pkgconfig/wlroots-%{abi_ver}.pc %changelog * Wed Sep 23 2026 Ackerman-00 - 0.20.2-6 - Restore a single BuildRequires: gcc: -6 keeps RPM320 satisfied (one atom only) while restoring the compiler — -5 removed BOTH duplicate gcc lines and failed all 4 COPR chroots (11027369: "Unknown compiler(s): gcc"; minimal mock buildroot has no gcc) * Wed Sep 23 2026 Ackerman-00 - 0.20.2-5 - Drop duplicate BuildRequires: gcc (RPM320 duplicate-dependency-atom) * Mon Sep 14 2026 Ackerman-00 - 0.20.2-4 - Add explicit gcc BuildRequires (Fedora official parity; mock provides it today) - Document MIT licensing of scanner-processed protocols; devel Recommends xcb-icccm * Sun Aug 16 2026 Ackerman-00 - 0.20.2-3 - Use git archive endpoint for Source0 (releases/downloads endpoint 504s at COPR SRPM stage) * Sat Jul 11 2026 Ackerman-00 - 0.20.2-2 - Fixed patch for wlroots 0.20.2 API (layer_surface_role_client_commit) * Sat Jul 11 2026 Ackerman-00 - 0.20.2-1 - Initial package of wlroots 0.20.2 for Fedora 43 * Wed Oct 07 2026 Ackerman-00 - 0.20.2-1 Auto-update to upstream release 0.20.2