# Generated from packages/gxde-core/upstream-lock.json (group: gxde-polkit-agent); # 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 e85b88ff493a541730459963e030f0a6282227d1 %global commit1 c14153f2cdfeb083ee44dd32e2b29326a96f9545 Name: gxde-polkit-agent Version: 1.0.2.1 Release: 1%{?dist} Summary: GXDE polkit authentication agent 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-polkit-agent/tar.gz/e85b88ff493a541730459963e030f0a6282227d1#/gxde-polkit-agent-e85b88ff493a541730459963e030f0a6282227d1.tar.gz Source1: https://codeload.github.com/GXDE-OS/dpa-ext-gnomekeyring/tar.gz/c14153f2cdfeb083ee44dd32e2b29326a96f9545#/dpa-ext-gnomekeyring-c14153f2cdfeb083ee44dd32e2b29326a96f9545.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: qt5-qtbase-devel qt5-qttools-devel qt5-linguist qt5-qtsvg-devel BuildRequires: qt5-qtx11extras-devel qt5-qtdeclarative-devel qt5-qtmultimedia-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-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: polkit-qt5-1-devel gsettings-qt-devel Requires: polkit-pkla-compat Conflicts: deepin-polkit-agent %description The GXDE polkit authentication agent (Qt5/dtkwidget) and the GNOME keyring agent extension. %package devel Summary: Development files for gxde-polkit-agent Requires: gxde-polkit-agent%{?_isa} = %{version}-%{release} %description devel Headers, pkg-config and CMake files for gxde-polkit-agent. %prep (cd %{_sourcedir} && sha256sum -c %{SOURCE103}) %setup -q -c -T -a 0 -a 1 mv gxde-polkit-agent-e85b88ff493a541730459963e030f0a6282227d1 gxde-polkit-agent mv dpa-ext-gnomekeyring-c14153f2cdfeb083ee44dd32e2b29326a96f9545 dpa-ext-gnomekeyring mkdir licenses cp gxde-polkit-agent/LICENSE licenses/gxde-polkit-agent.LICENSE 2>/dev/null || : cp dpa-ext-gnomekeyring/LICENSE licenses/dpa-ext-gnomekeyring.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 %files devel -f devel.files %changelog * Tue Oct 20 2026 CharOfString - 1.0.2.1-1 - Split the gxde-core bundle into purpose-based packages for Fedora 44 and 45