add rpm spec
- SHA
e82235d9a6b258e312a0abd39710d73e292e708a- Parents
-
9040c8d - Tree
3ad72cb
e82235d
e82235d9a6b258e312a0abd39710d73e292e708a9040c8d
3ad72cb| Status | File | + | - |
|---|---|---|---|
| A |
garbg.spec
|
39 | 0 |
garbg.specadded@@ -0,0 +1,39 @@ | ||
| 1 | +Name: garbg | |
| 2 | +Version: 0.1.0 | |
| 3 | +Release: 1%{?dist} | |
| 4 | +Summary: Wallpaper manager for the gar desktop suite | |
| 5 | + | |
| 6 | +License: MIT | |
| 7 | +URL: https://github.com/gardesk/garbg | |
| 8 | +Source0: %{name}-%{version}.tar.gz | |
| 9 | + | |
| 10 | +BuildRequires: rust >= 1.75 | |
| 11 | +BuildRequires: cargo | |
| 12 | +BuildRequires: libxcb-devel | |
| 13 | + | |
| 14 | +# Disable debug package | |
| 15 | +%global debug_package %{nil} | |
| 16 | + | |
| 17 | +%description | |
| 18 | +Garbg is a wallpaper manager for X11 built in Rust. Supports PNG, JPEG, GIF, | |
| 19 | +and WebP formats with async loading. Part of the gardesk desktop environment | |
| 20 | +suite. | |
| 21 | + | |
| 22 | +%prep | |
| 23 | +%autosetup | |
| 24 | + | |
| 25 | +%build | |
| 26 | +export CARGO_TARGET_DIR=target | |
| 27 | +cargo build --release --workspace | |
| 28 | + | |
| 29 | +%install | |
| 30 | +install -Dm755 target/release/garbg %{buildroot}%{_bindir}/garbg | |
| 31 | + | |
| 32 | +%files | |
| 33 | +%{_bindir}/garbg | |
| 34 | + | |
| 35 | +%changelog | |
| 36 | +* Fri Jan 17 2025 mfw <espadonne@outlook.com> - 0.1.0-1 | |
| 37 | +- Initial RPM release of garbg | |
| 38 | +- Wallpaper manager with multiple format support | |
| 39 | +- Part of gardesk desktop suite | |