File mcfly.spec of Package mcfly
#
# spec file for package mcfly
#
# Copyright (c) 2024 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: mcfly
Version: 0.9.2+0
Release: 0
Summary: Shell history helper
License: MIT
Group: Development/Tools/Other
URL: https://github.com/cantino/mcfly
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
BuildRequires: cargo-packaging
BuildRequires: libopenssl-devel
%description
McFly replaces your default ctrl-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network.
%prep
%autosetup -a1
%build
%{cargo_build}
%install
%{cargo_install}
%check
%{cargo_test}
%files
%{_bindir}/%{name}
%changelog