# -Wincompatible-pointer-types issue with gcc introduced in 1.4.0 %global build_type_safety_c 2 Name: qman Version: 1.4.1 Release: %autorelease Summary: A more modern manual page viewer for our terminals License: BSD-2-Clause URL: https://github.com/plp13/qman Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: meson BuildRequires: python3dist(cogapp) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(ncursesw) BuildRequires: pkgconfig(inih) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(cunit) Requires: man Requires: groff-base %description Qman is a modern, interactive manual page viewer for our terminals. It strives to be easy to use for anyone familiar with the man(1) command, and also to be fast and tiny, so that it can be used everywhere. %prep %autosetup %build %meson %meson_build %install %meson_install rm -v %{buildroot}/%{_datadir}/doc/%{name}/{PACKAGING,TESTING}.md %check %meson_test %files %doc PACKAGING.md README.md TESTING.md %license LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %dir %{_sysconfdir}/xdg/qman/ %config(noreplace) %{_sysconfdir}/xdg/qman/qman.conf %config(noreplace) %{_sysconfdir}/xdg/qman/themes/catppuccin_latte.conf %config(noreplace) %{_sysconfdir}/xdg/qman/themes/modernity.conf %changelog %autochangelog