## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: drm_info Version: 2.4.0 Release: %autorelease Summary: Small utility to dump info about DRM devices # SPDX:MIT License: MIT URL: https://gitlab.freedesktop.org/emersion/drm_info Source0: %{url}/-/releases/v%{version}/downloads/%{name}-%{version}.tar.gz Source1: %{url}/-/releases/v%{version}/downloads/%{name}-%{version}.tar.gz.sig # 0FDE7BE0E88F5E48: emersion Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/gpgkey-0FDE7BE0E88F5E48.gpg BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: meson >= 0.49.0 BuildRequires: pkgconfig(json-c) BuildRequires: pkgconfig(libdrm) >= 2.4.113 BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(scdoc) BuildRequires: python3-devel %description %{summary}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %meson %meson_build %install %meson_install %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Thu Jan 19 2023 Fedora Release Engineering 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Nov 10 2022 Aleksei Bavshin 2.4.0-1 - Update to 2.4.0 (#2135938) * Thu Aug 11 2022 Aleksei Bavshin 2.3.0-1 - Initial package (#2051064)