%global git_date 20240427 %global git_hash cbbceb2 %global git_ver 4.19.0 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: xfce4-dev-tools Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Autoconf macros and scripts to augment app build systems License: GPLv2-or-later URL: https://gitlab.xfce.org/xfce/xfce4-dev-tools Source0: %{url}/%{src_name} Patch0: xdt-csource.patch BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: intltool BuildRequires: make BuildRequires: glib2-devel BuildRequires: libxslt-devel libxslt Requires: autoconf Requires: automake Requires: gawk Requires: git Requires: glib2-devel Requires: grep Requires: intltool %description The Xfce development tools are a collection of tools and macros for Xfce developers and people that want to build Xfce from git. In addition, it contains the Xfce developer's handbook. %prep %autosetup -p1 -n %{name} %build ./autogen.sh %configure --enable-maintainer-mode %make_build %install %make_install %files %doc README.md %license COPYING %{_bindir}/* %{_mandir}/man*/* %{_datadir}/aclocal/* %changelog %autochangelog