File ripgrep-all.spec of Package ripgrep-all

#
# spec file for package ripgrep-all
#
# Copyright (c) 2021 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:           ripgrep-all
Version:        v0.10.10
Release:        0
Summary:        Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc
License:        AGPL-3.0-or-later
URL:            https://github.com/phiresky/ripgrep-all
Source0:        %{name}-%{version}.tar.gz
Source1:        vendor.tar.zst
BuildRequires:  cargo-packaging
Requires:       ripgrep
Requires:       fzf

%description
rga is a line-oriented search tool that allows you to look for a regex in a multitude of file types. 
rga wraps the awesome ripgrep and enables it to search in pdf, docx, sqlite, jpg, movie subtitles (mkv, mp4), etc.

%prep
%autosetup -a1

%build
%cargo_build

%install
%cargo_install

%files
%license LICENSE.md
%doc README.md
%{_bindir}/rga
%{_bindir}/rga-fzf
%{_bindir}/rga-fzf-open
%{_bindir}/rga-preproc

%changelog

openSUSE Build Service is sponsored by