add rpm spec
- SHA
0b3a00d0cceaf2defc8490fbed3998f22f0e9a35- Parents
-
a231cc9 - Tree
82a5ad8
0b3a00d
0b3a00d0cceaf2defc8490fbed3998f22f0e9a35a231cc9
82a5ad8| Status | File | + | - |
|---|---|---|---|
| A |
gar.spec
|
49 | 0 |
gar.specadded@@ -0,0 +1,49 @@ | ||
| 1 | +Name: gar | |
| 2 | +Version: 0.1.0 | |
| 3 | +Release: 1%{?dist} | |
| 4 | +Summary: Tiling window manager with smart splits | |
| 5 | + | |
| 6 | +License: MIT | |
| 7 | +URL: https://github.com/gardesk/gar | |
| 8 | +Source0: %{name}-%{version}.tar.gz | |
| 9 | + | |
| 10 | +BuildRequires: rust >= 1.75 | |
| 11 | +BuildRequires: cargo | |
| 12 | +BuildRequires: libxcb-devel | |
| 13 | +BuildRequires: lua-devel | |
| 14 | + | |
| 15 | +# Disable debug package | |
| 16 | +%global debug_package %{nil} | |
| 17 | + | |
| 18 | +%description | |
| 19 | +Gar is a tiling window manager for X11 built in Rust. Features smart window | |
| 20 | +splits, workspace management, and Lua configuration. Part of the gardesk | |
| 21 | +desktop environment suite. | |
| 22 | + | |
| 23 | +%prep | |
| 24 | +%autosetup | |
| 25 | + | |
| 26 | +%build | |
| 27 | +export CARGO_TARGET_DIR=target | |
| 28 | +cargo build --release --workspace | |
| 29 | + | |
| 30 | +%install | |
| 31 | +install -Dm755 target/release/gar %{buildroot}%{_bindir}/gar | |
| 32 | +install -Dm755 target/release/garctl %{buildroot}%{_bindir}/garctl | |
| 33 | +install -Dm644 gar.desktop %{buildroot}%{_datadir}/xsessions/gar.desktop | |
| 34 | +install -Dm755 start-gar.sh %{buildroot}%{_bindir}/start-gar | |
| 35 | +install -Dm755 gar-session.sh %{buildroot}%{_bindir}/gar-session | |
| 36 | + | |
| 37 | +%files | |
| 38 | +%{_bindir}/gar | |
| 39 | +%{_bindir}/garctl | |
| 40 | +%{_bindir}/start-gar | |
| 41 | +%{_bindir}/gar-session | |
| 42 | +%{_datadir}/xsessions/gar.desktop | |
| 43 | + | |
| 44 | +%changelog | |
| 45 | +* Fri Jan 17 2025 mfw <espadonne@outlook.com> - 0.1.0-1 | |
| 46 | +- Initial RPM release of gar | |
| 47 | +- Tiling window manager with smart splits | |
| 48 | +- Lua configuration support | |
| 49 | +- Part of gardesk desktop suite | |