RPMSpec · 1553 bytes Raw Blame History
1 Name: gump
2 Version: 0.2.5
3 Release: 1%{?dist}
4 Summary: A smarter cd command using frecency
5
6 License: MIT
7 URL: https://github.com/tenseleyFlow/gump
8
9 %description
10 Directory jumper using frecency. Type directory fragments, land where you meant.
11 No command prefix required. Supports bash, zsh, and fish shells.
12
13 %prep
14 # Pre-built from source
15
16 %build
17 # Pre-built from source
18
19 %install
20 mkdir -p %{buildroot}%{_bindir}
21 mkdir -p %{buildroot}%{_datadir}/licenses/%{name}
22 mkdir -p %{buildroot}%{_datadir}/doc/%{name}
23 install -Dm755 %{_sourcedir}/gump %{buildroot}%{_bindir}/gump
24 install -Dm644 %{_sourcedir}/LICENSE %{buildroot}%{_datadir}/licenses/%{name}/LICENSE
25 install -Dm644 %{_sourcedir}/README.md %{buildroot}%{_datadir}/doc/%{name}/README.md
26
27 %post
28 echo ""
29 echo "=== gump installed ==="
30 echo ""
31 echo "Add to your shell config:"
32 echo ""
33 echo " Bash (~/.bashrc): eval \"\$(gump init bash)\""
34 echo " Zsh (~/.zshrc): eval \"\$(gump init zsh)\""
35 echo " Fish: gump init fish | source"
36 echo ""
37 echo "Then restart your shell or source the file."
38 echo ""
39
40 %files
41 %license %{_datadir}/licenses/%{name}/LICENSE
42 %doc %{_datadir}/doc/%{name}/README.md
43 %{_bindir}/gump
44
45 %changelog
46 * Sun Mar 08 2026 mfw <espadonne@outlook.com> - 0.2.5-1
47 - Improve error message when editor not found in gump edit
48
49 * Tue Jan 28 2026 mfw <espadonne@outlook.com> - 0.2.4-1
50 - Version bump to 0.2.4
51 - Bug fixes and improvements
52
53 * Fri Jan 17 2026 Musicsian Repository <espadonne@outlook.com> - 0.2.0-1
54 - Initial package
55