%global commit 24e2856bf2cc13810f00971ae143973840555321 %global short_commit %(c=%{commit}; echo ${c:0:7}) %global commit_date 20251227 %global commit_release %{commit_date}git%{short_commit} %global _vpath_srcdir %{name}-%{commit} Name: wooz Version: 0.1.0 Release: %{commit_release}%{?dist} Summary: Magnifier for Wayland compositors License: MIT URL: https://github.com/negrel/wooz Source: %{url}/archive/%{commit}.tar.gz#/%{commit}.tar.gz BuildRequires: meson BuildRequires: gcc BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) %description A powerful and customizable screen magnifier for Wayland compositors with mouse and keyboard controls. %prep %autosetup -c %conf %meson %build %meson_build %install %meson_install %check %meson_test %files %{_bindir}/%{name} %doc %{_vpath_srcdir}/README.md %license %{_vpath_srcdir}/LICENSE %changelog %autochangelog