Add RPM spec file
- SHA
4c3f5f3e027e3a15f42baceda0c50ed3e6d050b2- Parents
-
24efb67 - Tree
06944b5
4c3f5f3
4c3f5f3e027e3a15f42baceda0c50ed3e6d050b224efb67
06944b5| Status | File | + | - |
|---|---|---|---|
| A |
fussr.spec
|
49 | 0 |
fussr.specadded@@ -0,0 +1,49 @@ | ||
| 1 | +Name: fussr | |
| 2 | +Version: 0.2.1 | |
| 3 | +Release: 1%{?dist} | |
| 4 | +Summary: A git staging TUI tool - Rust port of fuss | |
| 5 | + | |
| 6 | +License: MIT | |
| 7 | +URL: https://github.com/tenseleyFlow/fussr | |
| 8 | +Source0: %{name}-%{version}.tar.gz | |
| 9 | + | |
| 10 | +BuildArch: x86_64 | |
| 11 | +BuildRequires: rust >= 1.70 | |
| 12 | +BuildRequires: cargo | |
| 13 | + | |
| 14 | +# Disable debug package | |
| 15 | +%global debug_package %{nil} | |
| 16 | + | |
| 17 | +Requires: git | |
| 18 | + | |
| 19 | +%description | |
| 20 | +FUSSR is a git staging TUI tool, a Rust port of the fuss utility. | |
| 21 | +It provides an interactive terminal interface for staging and managing | |
| 22 | +git changes with a tree-based file view. | |
| 23 | + | |
| 24 | +Features: | |
| 25 | +- Interactive tree view of git repository changes | |
| 26 | +- Easy staging/unstaging of files and hunks | |
| 27 | +- Keyboard-driven navigation | |
| 28 | +- Support for git operations (commit, push, pull, fetch, tag) | |
| 29 | +- Clean TUI interface built with ratatui | |
| 30 | + | |
| 31 | +%prep | |
| 32 | +%autosetup | |
| 33 | + | |
| 34 | +%build | |
| 35 | +export CARGO_TARGET_DIR=target | |
| 36 | +cargo build --release --locked | |
| 37 | + | |
| 38 | +%install | |
| 39 | +install -Dm755 target/release/%{name} %{buildroot}%{_bindir}/%{name} | |
| 40 | + | |
| 41 | +%files | |
| 42 | +%{_bindir}/%{name} | |
| 43 | + | |
| 44 | +%changelog | |
| 45 | +* Fri Dec 13 2024 mfw <espadon@outlook.com> - 0.1.0-1 | |
| 46 | +- Initial RPM release of fussr | |
| 47 | +- Git staging TUI tool - Rust port of fuss | |
| 48 | +- Interactive tree view with staging support | |
| 49 | +- Full git operations suite | |