Add garcard RPM spec
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
7337eb5c77a56a395048c5368e328e70e4fc41a9- Parents
-
04c9e0b - Tree
5495b62
7337eb5
7337eb5c77a56a395048c5368e328e70e4fc41a904c9e0b
5495b62| Status | File | + | - |
|---|---|---|---|
| A |
specs/garcard.spec
|
40 | 0 |
specs/garcard.specadded@@ -0,0 +1,40 @@ | |||
| 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 | ||