diff --git a/README.md b/README.md index a2e595c..d0ac6b7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # drm_info +Small utility to dump info about DRM devices. + diff --git a/drm_info.spec b/drm_info.spec new file mode 100644 index 0000000..8ccefb2 --- /dev/null +++ b/drm_info.spec @@ -0,0 +1,47 @@ +Name: drm_info +Version: 2.7.0 +Release: 1mamba +Summary: Small utility to dump info about DRM devices +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.freedesktop.org/emersion/drm_info +Source: https://gitlab.freedesktop.org/emersion/drm_info.git/v%{version}/drm_info-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdrm-devel +BuildRequires: libjson-c-devel +BuildRequires: libpci-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +Small utility to dump info about DRM devices. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/drm_info +%{_mandir}/man1/drm_info.1* +%doc LICENSE + +%changelog +* Thu Oct 31 2024 Silvan Calarco 2.7.0-1mamba +- package created using the webbuild interface