%global codate 20240130
%global commit 7a27b339cf5ee1ab431431a844418a7f7c16d167
%global shortcommit %(c=%{commit}; echo ${c:0:8})
Name: edid-decode
Version: 0
Release: %autorelease -s %{codate}git%{shortcommit}
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-c++ make
Conflicts: xorg-x11-utils < 7.5-33
%description
Decodes raw monitor EDID data in human-readable format.
%prep
%setup -q -n %{name}
%build
%set_build_flags
%make_build
%install
%make_install
%files
%doc README
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%changelog
%autochangelog