Name: plasma-always-show-unlock Version: 0.1.0 Release: 1%{?dist} Summary: Always show the Plasma lock-screen unlock prompt License: MIT AND GPL-2.0-or-later URL: https://git.ajpanton.se/ajp_anton/fedora-tools Source0: plasma-always-show-unlock Source1: LockScreenUi.patch Source2: test-plasma-always-show-unlock Source3: LockScreenUi.qml Source4: LICENSE Source5: README.md BuildArch: noarch BuildRequires: bash BuildRequires: patch Requires: bash Requires: patch Requires: plasma-desktop >= 6.7.4 %description Keeps KDE Plasma's unlock prompt visible when the screen is locked, after the display is turned off, and after suspend. The package reapplies its narrow QML patch after plasma-desktop updates and leaves unknown future layouts unchanged. %prep %build %check bash %{SOURCE2} %{SOURCE0} %{SOURCE1} %{SOURCE3} %install install -Dpm 0755 %{SOURCE0} \ %{buildroot}%{_libexecdir}/plasma-always-show-unlock install -Dpm 0644 %{SOURCE1} \ %{buildroot}%{_datadir}/plasma-always-show-unlock/LockScreenUi.patch install -Dpm 0644 %{SOURCE4} \ %{buildroot}%{_licensedir}/%{name}/LICENSE install -Dpm 0644 %{SOURCE5} \ %{buildroot}%{_docdir}/%{name}/README.md %preun if [ "$1" -eq 0 ]; then %{_libexecdir}/plasma-always-show-unlock revert || : fi %triggerin -- plasma-desktop %{_libexecdir}/plasma-always-show-unlock apply || : %files %license %{_licensedir}/%{name}/LICENSE %doc %{_docdir}/%{name}/README.md %{_libexecdir}/plasma-always-show-unlock %{_datadir}/plasma-always-show-unlock/LockScreenUi.patch %changelog * Wed Sep 02 2026 fedora-tools contributors - 0.1.0-1 - Initial package