| 1 | Name: garcard |
| 2 | Version: 0.1.0 |
| 3 | Release: 1%{?dist} |
| 4 | Summary: Polkit authentication agent for the gar desktop suite |
| 5 | |
| 6 | License: MIT |
| 7 | URL: https://github.com/gardesk/garcard |
| 8 | Source0: %{name}-%{version}.tar.gz |
| 9 | |
| 10 | BuildRequires: rust >= 1.75 |
| 11 | BuildRequires: cargo |
| 12 | BuildRequires: dbus-devel |
| 13 | |
| 14 | # Disable debug package |
| 15 | %global debug_package %{nil} |
| 16 | |
| 17 | %description |
| 18 | garcard is a user-session Polkit authentication agent for X11 built in Rust. |
| 19 | Provides Gardesk-native authentication prompts for privileged desktop actions, |
| 20 | plus daemon diagnostics via garcardctl. |
| 21 | |
| 22 | %prep |
| 23 | # Pre-built from monorepo |
| 24 | |
| 25 | %build |
| 26 | # Pre-built from monorepo |
| 27 | |
| 28 | %install |
| 29 | mkdir -p %{buildroot}%{_bindir} |
| 30 | install -Dm755 %{_sourcedir}/garcard %{buildroot}%{_bindir}/garcard |
| 31 | install -Dm755 %{_sourcedir}/garcardctl %{buildroot}%{_bindir}/garcardctl |
| 32 | |
| 33 | %files |
| 34 | %{_bindir}/garcard |
| 35 | %{_bindir}/garcardctl |
| 36 | |
| 37 | %changelog |
| 38 | * Tue Feb 17 2026 mfw <espadonne@outlook.com> - 0.1.0-1 |
| 39 | - Initial RPM release of garcard |
| 40 | - Polkit authentication agent for gardesk desktop suite |
| 41 |