## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec Name: ugrep Version: 3.9.2 Release: %autorelease Summary: Faster, user-friendly, and compatible grep replacement License: BSD URL: https://github.com/Genivia/ugrep Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: gcc-c++ BuildRequires: pcre2-devel BuildRequires: zlib-devel BuildRequires: bzip2-devel BuildRequires: xz-devel BuildRequires: lz4-devel BuildRequires: libzstd-devel Provides: bundled(libreflex) = 3.2.8 %description Ultra fast grep with interactive TUI, fuzzy search, boolean queries, hexdumps and more: search file systems, source code, text, binary files, archives (cpio/tar/pax/zip), compressed files (gz/Z/bz2/lzma/xz/lz4/zstd), documents etc. A faster, user-friendly and compatible grep replacement. %prep %autosetup %build %ifarch %{arm} # https://github.com/Genivia/ugrep/issues/128 %configure --disable-neon %else %configure %endif %make_build %install %make_install %check %make_build test %files %license LICENSE.txt %{_bindir}/ug %{_bindir}/ugrep %{_mandir}/man1/ug.1* %{_mandir}/man1/ugrep.1* %{_datadir}/ugrep %changelog * Tue Aug 23 2022 Carl George 3.9.2-2 - Disable NEON optimizations on 32bit ARM * Mon Aug 22 2022 Carl George 3.9.2-1 - Latest upstream 3.9.2 * Mon Aug 22 2022 Carl George 3.8.3-1 - Initial import, resolves rhbz#2109340