%global git_date 20211230 %global git_hash 52c56a4 %global git_ver 1.0.1 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: wlclock Version: %{git_ver}.%{git_date} Release: %{rel}.%{git_hash}%{?dist} Summary: wlclock is a digital analog clock for Wayland desktops. License: GPLv3 URL: https://git.sr.ht/~leon_plickat/wlclock Source: %{src_name} #Remember to check version upstream BuildRequires: meson make gcc BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(scdoc) %description wlclock is a digital analog clock for Wayland desktops. wlclock is inspired by xclock and the default configuration has been chosen to mimic it. However unlike xclock, wlclock is not a regular window but a desktop-widget. A Wayland compositor must implement the Layer-Shell and XDG-Output for wlclock to work. %prep %autosetup -n %{name} %build %meson %meson_build %install %meson_install %files %doc README.md %license LICENSE %{_bindir}/wlclock %{_mandir}/* %changelog %autochangelog