Plasma 6 RC 2. Still untested...
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kscreenlocker6?expand=0&rev=1
This commit is contained in:
commit
29e73cb446
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
8
kde
Normal file
8
kde
Normal file
@ -0,0 +1,8 @@
|
||||
#%PAM-1.0
|
||||
# This service is only used by kcheckpass for unlocking,
|
||||
# so only auth is really relevant here.
|
||||
auth include common-auth
|
||||
account include common-account
|
||||
password include common-password
|
||||
session required pam_loginuid.so
|
||||
session include common-session
|
8
kde-fingerprint
Normal file
8
kde-fingerprint
Normal file
@ -0,0 +1,8 @@
|
||||
#%PAM-1.0
|
||||
# for fingerprint
|
||||
auth required pam_fprintd.so
|
||||
auth include common-auth
|
||||
account include common-account
|
||||
password include common-password
|
||||
session required pam_loginuid.so
|
||||
session include common-session
|
8
kde-smartcard
Normal file
8
kde-smartcard
Normal file
@ -0,0 +1,8 @@
|
||||
#%PAM-1.0
|
||||
# for smartcard
|
||||
auth required pam_pkcs11.so wait_for_card card_only
|
||||
auth include common-auth
|
||||
account include common-account
|
||||
password include common-password
|
||||
session required pam_loginuid.so
|
||||
session include common-session
|
3
kscreenlocker-5.93.0.tar.xz
Normal file
3
kscreenlocker-5.93.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be0e9ada6c617a40d45e40d1095c26aaac758fd5f1b239df4896e5b64af05b76
|
||||
size 164316
|
16
kscreenlocker-5.93.0.tar.xz.sig
Normal file
16
kscreenlocker-5.93.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmW6LTcACgkQ11dEg7tX
|
||||
sY1hZA//YcOeRsii47SvpfPpqV8BsPd4MoURQvX8Y3d4ih2guzrvkJdq45BcAGv/
|
||||
f97NaTgUYvI4FmCUonDy5ceFRA6fy/ZHF6ANliGKqT0gINgqiXNY457KVJN35ugu
|
||||
Uumh0qMWCdBDOpwkcNH0FTTyP+Frjsmw6N4FhxB+5YLeCQCuFXnHbg6ou1JWT6GR
|
||||
BsPWir7acGw40gp7zu1BBZPmE0G9g+enljsk3JEOtu4CGTeL6LebdSqicK1tF2oo
|
||||
iziV/gg9iD2SkBoq/urFnOdgojKEuXmivIiGDUgO9zFF/8C5ZIaz7jvRFWeQRVus
|
||||
FgggkqlbwQOxSuh3LfPzMt069moo95ljlcNijBUrT3A9y8JjKO89V8kgptedFAgh
|
||||
d/gBXTZI09vusARkhj6Nb+zQYKR+2Xhabs6Udowwp1Iwf3m3AFyqw2YUygsi0uNL
|
||||
93NKQ0Nr7etcuSXsUaoWULcX8vlAJDbsXSr604aGgpLMmJf7CUgTr2QH1TDgLyns
|
||||
e7nK9pip6kCYU4YllfsTQL4T23G9DPa4Mi2MHT9oiFCbF77avMDJiXW3MtS3Qzjb
|
||||
riLjYKAA+fHqbuCWb6+G9SdjzjFw0zQKjd4mbkHKYJ+a/eBQGHjQyAKA1F7l5YRO
|
||||
gvrKLe+gWENaQsrKjcaFBksY0EFpBT3+7fuyAWpGnY6XkJWtgSk=
|
||||
=BCNv
|
||||
-----END PGP SIGNATURE-----
|
26
kscreenlocker6.changes
Normal file
26
kscreenlocker6.changes
Normal file
@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 17:37:07 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.93.0 (6.0 RC 2):
|
||||
* New bugfix release
|
||||
* See https://kde.org/announcements/megarelease/6/rc2/ for details
|
||||
- Changes since 5.92.0:
|
||||
* greeter: Fix pressing Esc to turn off the display (kde#476533)
|
||||
* Respect max value of LockGrace in the UI as well
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 21:08:52 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.92.0 (6.0 RC 1)
|
||||
* For more details please see:
|
||||
https://kde.org/announcements/megarelease/6/rc1/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 00:17:09 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Add QML module provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 1 09:23:14 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init kscreenlocker6
|
161
kscreenlocker6.spec
Normal file
161
kscreenlocker6.spec
Normal file
@ -0,0 +1,161 @@
|
||||
#
|
||||
# spec file for package kscreenlocker6
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global kf6_version 5.240.0
|
||||
%define qt6_version 6.5.0
|
||||
|
||||
%define rname kscreenlocker
|
||||
%bcond_without released
|
||||
# Full Plasma 6 version (e.g. 6.0.0)
|
||||
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
|
||||
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
|
||||
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
|
||||
Name: kscreenlocker6
|
||||
Version: 5.93.0
|
||||
Release: 0
|
||||
Summary: Library and components for secure lock screen architecture
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://www.kde.org
|
||||
Source: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||
Source2: plasma.keyring
|
||||
%endif
|
||||
Source3: kde
|
||||
Source4: kde-fingerprint
|
||||
Source5: kde-smartcard
|
||||
BuildRequires: cmake >= 3.16
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6IdleTime) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Screen) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Svg) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
|
||||
BuildRequires: cmake(KWayland) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(LayerShellQt) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(PlasmaQuick) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-server)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
BuildRequires: pkgconfig(xcb-keysyms)
|
||||
BuildRequires: pkgconfig(xcb-xtest)
|
||||
BuildRequires: pkgconfig(xcursor)
|
||||
BuildRequires: pkgconfig(xi)
|
||||
Requires: pam-config
|
||||
Requires(post): /usr/bin/killall
|
||||
Provides: qt6qmlimport(org.kde.kscreenlocker.1) = 0
|
||||
Conflicts: kscreenlocker
|
||||
|
||||
%description
|
||||
Library and components for secure lock screen architecture.
|
||||
|
||||
%package -n libKScreenLocker6
|
||||
Summary: Library and components for secure lock screen architecture
|
||||
|
||||
%description -n libKScreenLocker6
|
||||
Library and components for secure lock screen architecture.
|
||||
|
||||
%package devel
|
||||
Summary: Library and components for secure lock screen architecture - development files
|
||||
Requires: libKScreenLocker6 = %{version}
|
||||
Requires: cmake(Qt6Core) >= %{qt6_version}
|
||||
Conflicts: kscreenlocker-devel
|
||||
|
||||
%description devel
|
||||
Development files for Library and components for secure lock screen architecture.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
# Ship our own files to not depend on a display manager being installed (boo#1108329)
|
||||
install -D -m0644 %{SOURCE3} %{buildroot}%{_pam_vendordir}/kde
|
||||
install -D -m0644 %{SOURCE4} %{buildroot}%{_pam_vendordir}/kde-fingerprint
|
||||
install -D -m0644 %{SOURCE5} %{buildroot}%{_pam_vendordir}/kde-smartcard
|
||||
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
%pre
|
||||
# TODO: Add a check for kscreenlocker_greet version, once available.
|
||||
# Upstream told that that would not be possible, but upstream is unreasonable.
|
||||
if [ $1 = 2 ]; then
|
||||
touch /run/kscreenlocker6_restart
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%post
|
||||
%ldconfig
|
||||
if [ $1 = 2 ] && [ -f /run/kscreenlocker6_restart ]; then
|
||||
/usr/bin/killall -q -TERM kscreenlocker_greet || :
|
||||
rm /run/kscreenlocker6_restart
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%ldconfig_scriptlets -n libKScreenLocker6
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%{_kf6_applicationsdir}/kcm_screenlocker.desktop
|
||||
%{_kf6_debugdir}/kscreenlocker.categories
|
||||
%{_kf6_notificationsdir}/ksmserver.notifyrc
|
||||
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_screenlocker.so
|
||||
%{_kf6_sharedir}/ksmserver/
|
||||
%{_libexecdir}/kscreenlocker_greet
|
||||
%{_pam_vendordir}/kde
|
||||
%{_pam_vendordir}/kde-fingerprint
|
||||
%{_pam_vendordir}/kde-smartcard
|
||||
|
||||
%files -n libKScreenLocker6
|
||||
%{_kf6_libdir}/libKScreenLocker.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/KScreenLocker/
|
||||
%{_kf6_cmakedir}/KScreenLocker/
|
||||
%{_kf6_cmakedir}/ScreenSaverDBusInterface/
|
||||
%{_kf6_libdir}/libKScreenLocker.so
|
||||
%{_kf6_sharedir}/dbus-1/interfaces/kf6_org.freedesktop.ScreenSaver.xml
|
||||
%{_kf6_sharedir}/dbus-1/interfaces/org.kde.screensaver.xml
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
BIN
plasma.keyring
Normal file
BIN
plasma.keyring
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user