summaryrefslogtreecommitdiff
path: root/fisher.spec
blob: ddd87c2109ffbdab34b7e8c7e2c56772e5fb617e (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
54
55
56
57
58
59
60
Name:           fisher
Version:        4.4.5
Release:        1
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
* Sat Nov 9 2024 lichaoran <pkwarcraft@hotmail.com> - 4.4.5-1
- Update version to 4.4.5

* Fri Dec 15 2023 Vicoloa <lvkun@uniontech.com> - 4.4.4-1
- Update version to 4.4.4
- Fix: fix fishshell.com configuration link anchor and update docs to include theme instructions

* 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