%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/mango.desktop and assets/config.conf 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 # Use the files already present in the 'assets' directory of the source tree install -Dm0644 assets/mango.desktop %{buildroot}%{_datadir}/wayland-sessions/mango.desktop install -Dm0644 assets/config.conf %{buildroot}%{_sysconfdir}/mango/config.conf %files %license LICENSE* %doc README.md %{_bindir}/mango %{_bindir}/mmsg %{_datadir}/wayland-sessions/mango.desktop %config(noreplace) %{_sysconfdir}/mango/config.conf %changelog * Mon Jun 01 2026 kaleedtc - 0.14.0-2 - Fix build failure by using assets from source tree - Remove external Source1 and Source2 dependencies