add rpm spec
- SHA
16a23a17e065b63db85cdd3f4252958084a8bd32- Parents
-
dd13872 - Tree
ee58e10
16a23a1
16a23a17e065b63db85cdd3f4252958084a8bd32dd13872
ee58e10| Status | File | + | - |
|---|---|---|---|
| A |
garclip.spec
|
43 | 0 |
garclip.specadded@@ -0,0 +1,43 @@ | ||
| 1 | +Name: garclip | |
| 2 | +Version: 0.1.0 | |
| 3 | +Release: 1%{?dist} | |
| 4 | +Summary: Clipboard manager for the gar desktop suite | |
| 5 | + | |
| 6 | +License: MIT | |
| 7 | +URL: https://github.com/gardesk/garclip | |
| 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 | +Garclip is a clipboard manager for X11 built in Rust. Features clipboard | |
| 19 | +history, a picker UI, and CLI control. 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/garclip %{buildroot}%{_bindir}/garclip | |
| 31 | +install -Dm755 target/release/garclipctl %{buildroot}%{_bindir}/garclipctl | |
| 32 | +install -Dm755 target/release/garclip-picker %{buildroot}%{_bindir}/garclip-picker | |
| 33 | + | |
| 34 | +%files | |
| 35 | +%{_bindir}/garclip | |
| 36 | +%{_bindir}/garclipctl | |
| 37 | +%{_bindir}/garclip-picker | |
| 38 | + | |
| 39 | +%changelog | |
| 40 | +* Fri Jan 17 2025 mfw <espadonne@outlook.com> - 0.1.0-1 | |
| 41 | +- Initial RPM release of garclip | |
| 42 | +- Clipboard manager with history and picker UI | |
| 43 | +- Part of gardesk desktop suite | |