File fisher.spec of Package fisher

#
# spec file for package fisher
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2021 John Gerritse (tyrannis.hawk (a) gmail (dot) com)
#
# 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:           fisher
Version:        4.4.4
Release:        0
Summary:        A package manager for the fish shell
License:        MIT
Group:          System/Management
URL:            https://github.com/jorgebucaran/fisher
Source:         %{name}-%{version}.tar.gz
Requires:       curl
Requires:       fish
Requires:       tar
Provides:       fisher = %{version}-%{release}
Obsoletes:      fisher < %{version}-%{release}
BuildArch:      noarch

%description
Manage functions, completions, bindings, and snippets from the command line.
Extend your shell capabilities, change the look of your prompt and
create repeatable configurations across different systems effortlessly.

%prep
%autosetup

%build

%install
install -D -m 644 functions/fisher.fish "%{buildroot}/%{_datadir}/fish/vendor_functions.d/fisher.fish"
install -D -m 644 completions/fisher.fish "%{buildroot}/%{_datadir}/fish/vendor_completions.d/fisher.fish"

%files
%{_datadir}/fish/
%{_datadir}/fish/vendor_functions.d/
%{_datadir}/fish/vendor_functions.d/fisher.fish
%{_datadir}/fish/vendor_completions.d/
%{_datadir}/fish/vendor_completions.d/fisher.fish
%license LICENSE.md
%doc README.md

%changelog
openSUSE Build Service is sponsored by