%global git_date 20240919 %global git_hash ebb8240 %global git_ver 0.1.0 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: labwc-menu-generator Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Root menu generator for labwc License: GPLv2 URL: https://github.com/labwc/labwc-menu-generator Source: %{url}/%{src_name} BuildRequires: make gcc meson BuildRequires: pkgconfig(glib-2.0) Recommends: labwc %description Independent of Desktop Environments and associated menu-packages. This is achieved by categorising system .desktop files against a built-in directory-schema rather than parsing .menu and .directory files (see Menu Specification). Desktop Entry Specification compliant parsing of Desktop Entry .desktop files. Openbox 3.6 formatted output. Localized values for .desktop file keys such as Name[sr_YU] %prep %autosetup -n %{name} %build %meson %meson_build %install ##install -p -D -m755 %{name} %{buildroot}%{_bindir}/%{name} %meson_install %files %doc README.md LICENSE %{_bindir}/labwc-menu-generator %changelog %autochangelog