diff --git a/sources b/sources index 50c8775..c7c1efd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ugrep-7.8.2.tar.gz) = 8d43818503a32278bbc266369fd02049651df519c0e3b4dc76b6003586f03b1e8ad8746283c1b648fbfcc3d294f4c733ebbc01be3c63b72af244863beed932a5 +SHA512 (ugrep-3.9.2.tar.gz) = 33b99d183e883e71c2b7eeb25af3eb0ceffd7994dc9426eb666ccadc02156ffaa727350b77bceaeffedaf5f6cd3a23afe5d621500463664b80f42d6c4cda6615 diff --git a/ugrep.spec b/ugrep.spec index 13e22c8..10d075c 100644 --- a/ugrep.spec +++ b/ugrep.spec @@ -1,16 +1,11 @@ Name: ugrep -Version: 7.8.2 +Version: 3.9.2 Release: %autorelease -Summary: A more powerful, ultra fast, user-friendly, compatible grep -License: BSD-3-Clause +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 -# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval -ExcludeArch: %{ix86} - -BuildRequires: autoconf -BuildRequires: automake BuildRequires: make BuildRequires: gcc-c++ BuildRequires: pcre2-devel @@ -19,36 +14,19 @@ BuildRequires: bzip2-devel BuildRequires: xz-devel BuildRequires: lz4-devel BuildRequires: libzstd-devel -BuildRequires: brotli-devel -# Upstream does not allow building RE-flex as a shared library for ugrep to -# dynamically link against. -# -# https://github.com/Genivia/ugrep/issues/215 -# -# To determine the bundled version, review the recent changes to the -# include/reflex directory. Try to find each change in the separate RE-flex -# source. Once you find a change that is in both, that will indicate which -# version of RE-flex is bundled. This isn't an exact science, because changes -# happen in the bundled library first before being added to the RE-flex source. -# -# https://github.com/Genivia/ugrep/commits/master/include/reflex -# https://github.com/Genivia/RE-flex/tree/master/include/reflex -# -Provides: bundled(libreflex) = 6.3.0 +Provides: bundled(libreflex) = 3.2.8 %description -Ugrep is an ultra fast, user-friendly, compatible grep. Ugrep combines the -best features of other grep, adds new features, and searches fast. Includes a -TUI and adds Google-like search, fuzzy search, hexdumps, searches nested -archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, -lz4, zstd, brotli), pdfs, docs, and more. +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 -autoreconf -fiv %build @@ -72,29 +50,10 @@ autoreconf -fiv %files %license LICENSE.txt %{_bindir}/ug -%{_bindir}/ug+ %{_bindir}/ugrep -%{_bindir}/ugrep+ -%{_bindir}/ugrep-indexer %{_mandir}/man1/ug.1* %{_mandir}/man1/ugrep.1* -%{_mandir}/man1/ugrep-indexer.1* %{_datadir}/ugrep -%{bash_completions_dir}/ug -%{bash_completions_dir}/ug+ -%{bash_completions_dir}/ugrep -%{bash_completions_dir}/ugrep+ -%{bash_completions_dir}/ugrep-indexer -%{fish_completions_dir}/ug.fish -%{fish_completions_dir}/ug+.fish -%{fish_completions_dir}/ugrep.fish -%{fish_completions_dir}/ugrep+.fish -%{fish_completions_dir}/ugrep-indexer.fish -%{zsh_completions_dir}/_ug -%{zsh_completions_dir}/_ug+ -%{zsh_completions_dir}/_ugrep -%{zsh_completions_dir}/_ugrep+ -%{zsh_completions_dir}/_ugrep-indexer %changelog