109 lines
3.8 KiB
RPMSpec
109 lines
3.8 KiB
RPMSpec
%{!?upstream_version:%global upstream_version 6.7.4}
|
|
%{!?base_release:%global base_release 1}
|
|
%{!?workaround_release:%global workaround_release 5}
|
|
|
|
Name: kscreenlocker
|
|
Version: %{upstream_version}
|
|
Release: %{base_release}%{?dist}.ajp%{workaround_release}
|
|
Summary: Library and components for secure lock screen architecture
|
|
|
|
License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
|
|
URL: https://invent.kde.org/plasma/%{name}
|
|
Source0: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
Source1: restart-fprintd-after-resume
|
|
|
|
Patch0: 0001-dont-cancel-authentication-on-suspend.patch
|
|
Patch1: 0002-allow-retrying-noninteractive-authentication.patch
|
|
Patch2: 0003-allow-retry-after-transient-auth-unavailability.patch
|
|
Patch3: 0004-retry-transient-unavailability-for-fingerprint-only.patch
|
|
|
|
# Marks packages that the controller may install and records the Fedora build
|
|
# on which the patches were based.
|
|
Provides: plasma-fingerprint-workaround-payload = 1
|
|
Provides: plasma-fingerprint-workaround-base = %{version}-%{base_release}%{?dist}
|
|
Provides: kscreenlocker = %{version}-%{base_release}%{?dist}
|
|
|
|
# Help upgrades; kscreenlocker was split from plasma-workspace in Plasma 5.5.
|
|
Conflicts: plasma-workspace < 5.5
|
|
|
|
BuildRequires: cmake(LayerShellQt)
|
|
BuildRequires: perl-generators
|
|
BuildRequires: qt6-qtbase-devel
|
|
BuildRequires: qt6-qtbase-private-devel
|
|
BuildRequires: cmake(Qt6Quick)
|
|
BuildRequires: kf6-rpm-macros
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: cmake(KF6Crash)
|
|
BuildRequires: cmake(KF6GlobalAccel)
|
|
BuildRequires: cmake(KF6I18n)
|
|
BuildRequires: cmake(KF6IdleTime)
|
|
BuildRequires: cmake(KF6KCMUtils)
|
|
BuildRequires: cmake(KF6KIO)
|
|
BuildRequires: cmake(KF6Notifications)
|
|
BuildRequires: cmake(KF6Screen)
|
|
BuildRequires: cmake(KF6Solid)
|
|
BuildRequires: cmake(KF6Svg)
|
|
BuildRequires: cmake(KF6XmlGui)
|
|
BuildRequires: cmake(KF6GuiAddons)
|
|
BuildRequires: cmake(KF6KirigamiPlatform)
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: xcb-util-keysyms-devel
|
|
BuildRequires: wayland-devel
|
|
BuildRequires: pkgconfig(xi)
|
|
BuildRequires: pkgconfig(xcb-event)
|
|
BuildRequires: cmake(PlasmaQuick)
|
|
BuildRequires: libXcursor-devel
|
|
BuildRequires: pam-devel
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
This experimental Fedora 44 build contains local fingerprint authentication
|
|
workarounds. It has not received the security review of Fedora's package.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for developing
|
|
applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake_kf6
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
install -D -m 0755 %{SOURCE1} \
|
|
%{buildroot}%{_prefix}/lib/systemd/system-sleep/restart-fprintd-after-resume
|
|
|
|
%find_lang %{name} --with-qt --all-name
|
|
|
|
%files -f %{name}.lang
|
|
%license COPYING
|
|
%{_kf6_libdir}/libKScreenLocker.so.*
|
|
%{_kf6_datadir}/knotifications6/*.notifyrc
|
|
%{_libexecdir}/kscreenlocker_greet
|
|
%dir %{_kf6_datadir}/ksmserver/
|
|
%{_kf6_datadir}/ksmserver/screenlocker/
|
|
%{_kf6_datadir}/applications/kcm_screenlocker.desktop
|
|
%{_kf6_qtplugindir}/plasma/kcms/systemsettings/kcm_screenlocker.so
|
|
%{_kf6_datadir}/qlogging-categories6/kscreenlocker.categories
|
|
%{_prefix}/lib/systemd/system-sleep/restart-fprintd-after-resume
|
|
|
|
%files devel
|
|
%{_kf6_libdir}/libKScreenLocker.so
|
|
%{_kf6_libdir}/cmake/ScreenSaverDBusInterface/
|
|
%{_kf6_libdir}/cmake/KScreenLocker/
|
|
%{_includedir}/KScreenLocker/
|
|
%{_datadir}/dbus-1/interfaces/*.xml
|
|
|
|
%changelog
|
|
* Fri Sep 04 2026 Anton - 6.7.4-1.fc44.ajp5
|
|
- Package the fprintd resume hook and compatibility metadata
|
|
- Apply the tested fingerprint retry patch set
|