Add opt-in Plasma fingerprint workaround

This commit is contained in:
ajp_anton
2026-09-04 23:16:15 +00:00
parent 810c8caf74
commit 19df3c3a75
16 changed files with 920 additions and 0 deletions
@@ -0,0 +1,54 @@
Name: plasma-fingerprint-workaround
Version: 0.1.0
Release: 1%{?dist}
Summary: Opt-in installer for a patched Fedora KScreenLocker
License: MIT
URL: https://git.ajpanton.se/ajp_anton/fedora-tools
Source0: plasma-fingerprint-workaround
Source1: payload.conf
Source2: LICENSE
Source3: README.md
Source4: test-controller
BuildArch: noarch
BuildRequires: bash
BuildRequires: grep
Requires: bash
Requires: coreutils
Requires: curl
Requires: dnf5
Requires: grep
Requires: rpm
Requires: sed
%description
Provides an explicit, reversible installer for an experimental KScreenLocker
fingerprint workaround. Installing this package alone makes no system changes.
%prep
%build
%check
bash %{SOURCE4} %{SOURCE0} %{SOURCE1}
%install
install -D -m 0755 %{SOURCE0} \
%{buildroot}%{_bindir}/plasma-fingerprint-workaround
install -D -m 0644 %{SOURCE1} \
%{buildroot}%{_datadir}/plasma-fingerprint-workaround/payload.conf
install -D -m 0644 %{SOURCE2} \
%{buildroot}%{_licensedir}/%{name}/LICENSE
install -D -m 0644 %{SOURCE3} \
%{buildroot}%{_docdir}/%{name}/README.md
%files
%license %{_licensedir}/%{name}/LICENSE
%doc %{_docdir}/%{name}/README.md
%{_bindir}/plasma-fingerprint-workaround
%{_datadir}/plasma-fingerprint-workaround/payload.conf
%changelog
* Fri Sep 04 2026 Anton - 0.1.0-1
- Initial package