Name: moor Summary: Simple UTF-8 pager with sensible defaults Version: 2.0.4 Release: 2%{?dist} License: BSD-2-Clause URL: https://github.com/walles/moar Source0: https://github.com/walles/moar/archive/refs/tags/v%{version}.tar.gz %define debug_package %{nil} BuildRequires: curl BuildRequires: gcc BuildRequires: make BuildRequires: gzip BuildRequires: golang BuildRequires: git %description Moar (packaged as moor) is a pager for UTF-8 encoded text. It reads and displays text from files or from pipelines. It is designed to work out of the box with sensible defaults, without requiring user configuration. %prep %setup -q %build GO111MODULE=on go build -v -trimpath -modcacherw \ -ldflags="-s -w -X main.versionString=%{version}" \ -o %{name} ./cmd/%{name} strip --strip-all %{name} gzip %{name}.1 %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 install -m 755 %{name} %{buildroot}%{_bindir} install -m 644 %{name}.1.gz %{buildroot}%{_mandir}/man1 %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %changelog * Sat Aug 23 2025 - Danie de Jager - 2.0.4-2 - Update license