ugrep/ugrep.spec
Michael Vetter 258358ff12 Accepting request 949550 from home:akumar:branches:utilities
- update to 3.7.1:
  * add newline when showing usage and also fix segfault when arg == NULL
- update to 3.7.0:
  * README.md: add FreeBSD installation instructions
  * resolve LGTM alerts & minor improvements
  * Support "cpp" as a file type
  * msvc - Add matcher_avx2, matcher_avx512bw
- update to 3.6.0:
  * new option --replace & faster searching

OBS-URL: https://build.opensuse.org/request/show/949550
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=45
2022-01-28 16:12:45 +00:00

64 lines
1.7 KiB
RPMSpec

#
# spec file for package ugrep
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ugrep
Version: 3.7.1
Release: 0
Summary: Universal grep: a feature-rich grep implementation with focus on speed
License: BSD-3-Clause
Group: Productivity/File utilities
URL: https://github.com/Genivia/ugrep
Source: https://github.com/Genivia/ugrep/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
%description
Ugrep supports an interactive query UI and can search file systems, source
code, text, binary files, archives, compressed files, documents and use
fuzzy search.
%prep
%setup -q
%build
%configure \
--disable-avx \
--enable-color
%make_build
%install
%make_install
%check
%make_build test
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/*
%{_mandir}/man1/*.1%{?ext_man}
%{_datadir}/ugrep
%changelog