46 lines
1.4 KiB
RPMSpec
46 lines
1.4 KiB
RPMSpec
Name: fingerprint-resume-recovery
|
|
Version: 0.1.0
|
|
Release: 1%{?dist}
|
|
Summary: Restore fingerprint unlocking after sleep
|
|
License: MIT
|
|
URL: https://git.ajpanton.se/ajp_anton/fedora-tools
|
|
Source0: fingerprint-resume-recovery
|
|
Source1: LICENSE
|
|
Source2: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: bash
|
|
Requires: coreutils
|
|
Requires: fprintd
|
|
Requires: systemd
|
|
Requires: kscreenlocker >= 6.8
|
|
Requires: plasma-desktop >= 6.8
|
|
Provides: fedora-tools-tool
|
|
|
|
%description
|
|
Restarts an active fingerprint service after resume, before the lock screen
|
|
retries authentication. This works around fingerprint failures after sleeping
|
|
with an active scan. Installing the package enables recovery; removing it
|
|
restores the default behaviour. Fedora's KScreenLocker package is kept intact.
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%check
|
|
sh -n %{SOURCE0}
|
|
|
|
%install
|
|
install -Dpm 0755 %{SOURCE0} \
|
|
%{buildroot}%{_prefix}/lib/systemd/system-sleep/fingerprint-resume-recovery
|
|
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_licensedir}/%{name}/LICENSE
|
|
install -Dpm 0644 %{SOURCE2} %{buildroot}%{_docdir}/%{name}/README.md
|
|
|
|
%files
|
|
%license %{_licensedir}/%{name}/LICENSE
|
|
%doc %{_docdir}/%{name}/README.md
|
|
%{_prefix}/lib/systemd/system-sleep/fingerprint-resume-recovery
|
|
|
|
%changelog
|
|
* Sat Nov 14 2026 fedora-tools contributors - 0.1.0-1
|
|
- Recover the fingerprint service before user sessions resume
|