%global git_date 20241107 %global git_hash ae11af1 %global git_ver 2.1.0 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz %global project lxqt-build-tools Name: lxqt-build-tools Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Packaging tools for LXQt License: BSD-3-Clause URL: https://github.com/lxqt/lxqt-build-tools Source0: Source: %{url}/%{src_name} BuildArch: noarch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt6Core) BuildRequires: glib2-devel Requires: cmake %description Various packaging tools and scripts for LXQt applications. %prep %autosetup -n %{name} %build %cmake %cmake_build %install %cmake_install %files %license BSD-3-Clause %doc CHANGELOG README.md %{_datadir}/cmake/lxqt2-build-tools %{_bindir}/lxqt2-transupdate %changelog %autochangelog k