%global forgeurl https://github.com/DreamMaoMao/mangowc Name: mangowc Version: 0.14.0 Release: 1%{?dist} Summary: Lightweight Wayland compositor with smooth animation License: GPL-3.0-or-later URL: %{forgeurl} Source0: %{forgeurl}/archive/refs/tags/%{version}/%{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 Requires: scenefx %description MangoWC is a lightweight Wayland compositor based on wlroots and SceneFX. %prep %setup -q -n mango-%{version} %build %meson -Dxwayland=enabled %meson_build %install %meson_install install -Dm0644 ./assets/mango.desktop \ %{buildroot}%{_datadir}/wayland-sessions/mango.desktop install -Dm0644 ./assets/mango-portals.conf \ %{buildroot}%{_datadir}/xdg-desktop-portal/mango-portals.conf 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 %{_datadir}/xdg-desktop-portal/mango-portals.conf %config(noreplace) %{_sysconfdir}/mango/config.conf %changelog * Tues June 02 2026 Gregory Loscombe - 0.14.0 - Build from release 0.14.0