summaryrefslogtreecommitdiff
path: root/fisher.spec
blob: 51bb2f5620197b6d5a2bed3dc3a31675741ff9be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Name:           fisher
Version:        4.4.3
Release:        2
Summary:        A plugin manager for Fish.
License:        MIT
URL:            https://github.com/jorgebucaran/fisher
Source0:        https://github.com/jorgebucaran/fisher/archive/refs/tags/%{version}.tar.gz
BuildArch:      noarch

Requires:       fish
Requires:       curl
Requires:       tar
Requires:       coreutils
BuildRequires:  fish
BuildRequires:  binutils

%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.

    100% pure-Fish—easy to contribute to or modify.
    Blazing fast concurrent plugin downloads.
    Zero configuration out of the box.
    Oh My Fish! plugin support.


%prep
%autosetup -p1 -n %{name}-%{version}

%install
install -vDm644 -t "%{buildroot}/%{_datarootdir}/fish/vendor_functions.d" functions/fisher.fish
install -vDm644 -t "%{buildroot}/%{_datarootdir}/fish/vendor_completions.d" completions/fisher.fish

# documentation
install -vDm644 -t "%{buildroot}/%{_docdir}/%{name}" README.md

# license
install -vDm644 -t "%{buildroot}/%{_datarootdir}/%{name}" LICENSE.md

%check
#tests need fishtape, which does not exists for now

%files 
%license LICENSE.md
%doc README.md
%{_datarootdir}/%{name}
%{_datarootdir}/fish/*

%changelog
* Thu Jun 15 2023 lichaoran <pkwarcraft@hotmail.com> - 4.4.3-2
- Fix: add valid license and remove incorrect provides

* Sun Feb 26 2023 lichaoran <pkwarcraft@hotmail.com> - 4.4.3-1
- Package init