Name: uac-polkit-agent Version: 45.0.0 Release: 4%{?dist} Summary: UAC-style Polkit authentication agent for AeroShell License: GPL-2.0-or-later URL: https://github.com/evernightvista/uac-polkit-agent Source0: https://github.com/evernightvista/uac-polkit-agent/archive/refs/heads/Plasma/6.7.zip BuildRequires: cmake >= 3.16 BuildRequires: ninja-build BuildRequires: gcc-c++ BuildRequires: extra-cmake-modules >= 6.17.0 # Qt6 dependencies BuildRequires: qt6-qtbase-devel >= 6.9.0 BuildRequires: qt6-qtdeclarative-devel >= 6.9.0 # KF6 dependencies BuildRequires: kf6-ki18n-devel BuildRequires: kf6-kwindowsystem-devel BuildRequires: kf6-knotifications-devel BuildRequires: kf6-kdbusaddons-devel BuildRequires: kf6-kcoreaddons-devel BuildRequires: kf6-kcrash-devel BuildRequires: kf6-kconfig-devel # Polkit BuildRequires: polkit-qt6-1-devel >= 0.103.0 BuildRequires: systemd-rpm-macros Requires: polkit Requires: plasma-workspace Requires(post): systemd Requires(postun): systemd %description UAC Polkit Agent is an alternative frontend designed to look like the User Account Control dialog on Windows Vista and 7. It's designed to coexist alongside polkit-kde-agent-1, which can be replaced session-wide by setting the USE_UAC_AGENT environment variable to 1. This is intended to be used with AeroShell-based sessions, while the regular Plasma agent is used in the Plasma session. %prep %autosetup -p1 -n %{name}-Plasma-6.7 %build %cmake -G Ninja \ -DBUILD_TESTING=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DKDE_INSTALL_LIBEXECDIR=%{_libexecdir} \ -DKDE_INSTALL_AUTOSTARTDIR=%{_sysconfdir}/xdg/autostart \ -DKDE_INSTALL_KNOTIFYRCDIR=%{_datadir}/knotifications6 %cmake_build %install %cmake_install %find_lang uac-polkit-agent --with-qt --all-name %files -f uac-polkit-agent.lang %license LICENSES/GPL-2.0-or-later.txt %doc README.md %{_libexecdir}/uac-polkit-agent %{_sysconfdir}/xdg/autostart/uac-polkit-agent.desktop %{_datadir}/applications/io.gitgud.wackyideas.uac-polkit-agent.desktop %{_datadir}/knotifications6/uac-polkit-agent.notifyrc %{_sysconfdir}/systemd/user/plasma-polkit-agent.service.d/uac-polkit-agent.conf %{_userunitdir}/uac-polkit-agent.service %post %systemd_user_post uac-polkit-agent.service # Mask the plasma polkit agent so it won't start alongside this agent systemctl --global mask plasma-polkit-agent.service >/dev/null 2>&1 || : %preun %systemd_user_preun uac-polkit-agent.service %postun %systemd_user_postun uac-polkit-agent.service if [ $1 -eq 0 ]; then # Unmask the plasma polkit agent on final removal systemctl --global unmask plasma-polkit-agent.service >/dev/null 2>&1 || : fi %changelog * Wed Sep 30 2026 KairikiFedora <13278297951@sina.cn> - 45.0.0-4 - Update UAC Button UI and notifyrc file - Mask plasma-polkit-agent user unit on install/upgrade, unmask on removal * Fri Sep 11 2026 KairikiFedora <13278297951@sina.cn> - 45.0.0-3 - Fix UAC UI can maximium window - Fix Description not complete display * Wed Sep 09 2026 KairikiFedora <13278297951@sina.cn> - 45.0.0-2 - Add post script in rpmspec - Fix Systemd unit file * Wed Sep 09 2026 KairikiFedora <13278297951@sina.cn> - 45.0.0-1 - Initial RPM release of uac-polkit-agent