Add RPM spec file
- SHA
08d3dc244a48eae81f2c93710cf49b844ee9dcd4- Parents
-
881ebb3 - Tree
df93411
08d3dc2
08d3dc244a48eae81f2c93710cf49b844ee9dcd4881ebb3
df93411| Status | File | + | - |
|---|---|---|---|
| A |
gump.spec
|
51 | 0 |
gump.specadded@@ -0,0 +1,51 @@ | ||
| 1 | +Name: gump | |
| 2 | +Version: 0.2.4 | |
| 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 | +* Tue Jan 28 2026 mfw <espadonne@outlook.com> - 0.2.4-1 | |
| 47 | +- Version bump to 0.2.4 | |
| 48 | +- Bug fixes and improvements | |
| 49 | + | |
| 50 | +* Fri Jan 17 2026 Musicsian Repository <espadonne@outlook.com> - 0.2.0-1 | |
| 51 | +- Initial package | |