# Generated from packages/gxde-core/upstream-lock.json (group: gxde-lock); # source patches and build adaptations are listed in packages/gxde-core/PATCHES.md. # split-files.py generates the %files manifests during %install, before # brp-compress would rename man pages to .gz — disable compression so the # manifests stay in sync with the buildroot. %global __brp_compress %{nil} %global commit0 77b96a6eb5f8b94ca02b493eb14feca93a1cf6d3 Name: gxde-lock Version: 2.0.0.gxde3 Release: 1%{?dist} Summary: GXDE lock screen for X11 and Wayland License: GPL-3.0-or-later AND LGPL-3.0-or-later URL: https://github.com/GXDE-OS Source0: https://codeload.github.com/GXDE-OS/gxde-lock/tar.gz/77b96a6eb5f8b94ca02b493eb14feca93a1cf6d3#/gxde-lock-77b96a6eb5f8b94ca02b493eb14feca93a1cf6d3.tar.gz Source100: build.sh Source101: common.sh Source102: split-files.py Source103: sources.sha256 Source104: upstream-lock.json ExclusiveArch: x86_64 aarch64 BuildRequires: gcc gcc-c++ make cmake ninja-build pkgconf-pkg-config BuildRequires: python3 gettext jq BuildRequires: extra-cmake-modules lxqt-build-tools BuildRequires: qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel qt6-linguist BuildRequires: qt6-qtdeclarative-devel qt6-qtsvg-devel qt6-qt5compat-devel qt6-qtwayland-devel BuildRequires: gxde-dtk5-devel gxde-dtk2-devel gxde-dtk2-widget-devel BuildRequires: gxde-dtk6-devel gxde-dtk2-qt6-devel BuildRequires: gxde-infra gxde-infra-devel BuildRequires: pkgconfig(x11) pkgconfig(xext) pkgconfig(xtst) pkgconfig(xcb) BuildRequires: xcb-util-devel xcb-util-wm-devel pkgconfig(xcb-image) pkgconfig(xcb-ewmh) BuildRequires: pkgconfig(xcursor) pkgconfig(xfixes) pkgconfig(xi) BuildRequires: pkgconfig(xrandr) pkgconfig(xscrnsaver) pkgconfig(xkbcommon) BuildRequires: wayland-devel BuildRequires: pam-devel systemd-devel gsettings-qt6-devel layer-shell-qt-devel BuildRequires: wayland-protocols-devel qt6-qtvirtualkeyboard-devel Requires: accountsservice dbus layer-shell-qt gsettings-qt6 Requires: qt6-qtdeclarative qt6-qtvirtualkeyboard %description The GXDE in-session lock screen: classic DTK and modern Qt Quick frontends, crash-restarting guard, PAM authentication helpers and X11/Wayland session-lock integration. %prep (cd %{_sourcedir} && sha256sum -c %{SOURCE103}) %setup -q -c -T -a 0 mv gxde-lock-77b96a6eb5f8b94ca02b493eb14feca93a1cf6d3 gxde-lock mkdir licenses cp gxde-lock/LICENSE licenses/gxde-lock.LICENSE 2>/dev/null || : cp %{SOURCE104} upstream-lock.json %build %set_build_flags bash %{SOURCE100} "%{_libdir}" "%{_smp_build_ncpus}" "%{SOURCE101}" %install cp -a stage/. %{buildroot}/ find %{buildroot} -type f -name '*.la' -delete python3 %{SOURCE102} %{buildroot} %{_libdir} %check if grep -R -l -F "$PWD/stage" %{buildroot}%{_libdir}/pkgconfig %{buildroot}%{_libdir}/cmake 2>/dev/null; then echo 'Staging path leaked into installed development metadata' >&2 exit 1 fi %files -f runtime.files %license licenses/ %doc upstream-lock.json %changelog * Tue Oct 20 2026 CharOfString - 2.0.0.gxde3-1 - Split the gxde-core bundle into purpose-based packages for Fedora 44 and 45