%global codate 20190820 %global commit 0932deee88928f110b5a74851c173ad895f75863 %global shortcommit %(c=%{commit}; echo ${c:0:8}) Name: edid-decode Version: 0 Release: 1.%{codate}git%{shortcommit}%{?dist} Summary: Decode EDID data in human-readable format License: MIT URL: https://git.linuxtv.org/edid-decode.git/ Source0: edid-decode-%{shortcommit}.tar.xz Source1: edid-decode-snapshot.sh BuildRequires: gcc make %description Decodes raw monitor EDID data in human-readable format. %prep %setup -q -n %{name} %build %set_build_flags make %install %make_install %files %doc README %{_bindir}/%{name} %{_mandir}/man1/%{name}* %changelog * Tue Aug 20 2019 Yanko Kaneti - 0-1.20190820git0932deee - Split from xorg-x11-utils