%global forgeurl https://github.com/mangowm/mango Name: mangowm Version: 0.14.0 Release: 2%{?dist} Summary: Practical and powerful Wayland compositor built on dwl License: GPL-3.0-or-later URL: %{forgeurl} # We use the upstream tarball which already contains assets/ Source0: %{forgeurl}/archive/refs/tags/%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: ninja-build BuildRequires: pkgconfig BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: wlroots-devel BuildRequires: libinput-devel BuildRequires: libdrm-devel BuildRequires: libxkbcommon-devel BuildRequires: pixman-devel BuildRequires: libseat-devel BuildRequires: pcre2-devel BuildRequires: scenefx-devel BuildRequires: cjson-devel # scenefx is resolved from the same Copr project Requires: scenefx %description Mango is a modern, lightweight, high-performance tiling Wayland compositor built on dwl, utilizing SceneFX for smooth animations and window effects. %prep %setup -q -n mango-%{version} %build %meson -Dxwayland=enabled %meson_build %install %meson_install %files %license LICENSE* %doc README.md %{_bindir}/mango %{_bindir}/mmsg %{_datadir}/wayland-sessions/mango.desktop %{_datadir}/xdg-desktop-portal/mango-portals.conf %dir %{_sysconfdir}/mango %config(noreplace) %{_sysconfdir}/mango/config.conf %changelog * Mon Jun 01 2026 kaleedtc - 0.14.0-2 - Add missing mango-portals.conf to files - Remove redundant manual install steps in %%install - Package %%{_sysconfdir}/mango directory