748936f
Name:           drm_info
ecfbdb3
Version:        2.6.0
748936f
Release:        %autorelease
748936f
Summary:        Small utility to dump info about DRM devices
748936f
748936f
# SPDX:MIT
748936f
License:        MIT
063e36a
URL:            https://gitlab.freedesktop.org/emersion/drm_info
063e36a
Source0:        %{url}/-/releases/v%{version}/downloads/%{name}-%{version}.tar.gz
063e36a
Source1:        %{url}/-/releases/v%{version}/downloads/%{name}-%{version}.tar.gz.sig
063e36a
# 0FDE7BE0E88F5E48: emersion <contact@emersion.fr>
063e36a
Source2:        https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/gpgkey-0FDE7BE0E88F5E48.gpg
748936f
748936f
BuildRequires:  gcc
063e36a
BuildRequires:  gnupg2
ecfbdb3
BuildRequires:  meson >= 0.56.0
748936f
BuildRequires:  pkgconfig(json-c)
ecfbdb3
BuildRequires:  pkgconfig(libdrm) >= 2.4.115
748936f
BuildRequires:  pkgconfig(libpci)
748936f
BuildRequires:  pkgconfig(scdoc)
748936f
BuildRequires:  python3-devel
748936f
748936f
%description
748936f
%{summary}.
748936f
748936f
748936f
%prep
063e36a
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
748936f
%autosetup
748936f
748936f
748936f
%build
748936f
%meson
748936f
%meson_build
748936f
748936f
748936f
%install
748936f
%meson_install
748936f
748936f
748936f
%files
748936f
%license LICENSE
748936f
%doc README.md
748936f
%{_bindir}/%{name}
748936f
%{_mandir}/man1/%{name}.1*
748936f
748936f
748936f
%changelog
748936f
%autochangelog