Update kf6-kauth.spec

This commit is contained in:
2026-02-12 23:08:26 +08:00
parent 4576001465
commit 4b962d9954

View File

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%define qt6_version 6.8.0
@@ -6,10 +11,11 @@
%{!?_kf6_version: %global _kf6_version %{version}}
Name: kf6-kauth
Version: 6.22.0
Release: 0
Release: %autorelease
Summary: Framework which lets applications perform actions as a privileged user
License: LGPL-2.1-or-later
URL: https://www.kde.org
#!RemoteAsset:
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
@@ -29,25 +35,15 @@ BuildRequires: qt6-base-private-devel >= %{qt6_version}
%description
KAuth is a framework to let applications perform actions as a privileged user.
%package -n libKF6AuthCore6
%package devel
Summary: Framework which lets applications perform actions as a privileged user
Requires: kf6-kauth >= %{version}
Recommends: kf6-kauth-lang = %{version}
%description -n libKF6AuthCore6
KAuth is a framework to let applications perform actions as a privileged user.
%package devel
Summary: Framework which lets applications perform actions as a privileged user
Requires: libKF6AuthCore6 = %{version}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(KF6CoreAddons) >= %{_kf6_version}
%description devel
%description devel
KAuth is a framework to let applications perform actions as a privileged user.
Development files.
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
@@ -61,10 +57,6 @@ Development files.
%fdupes %{buildroot}
%find_lang kauth6 --with-qt --without-mo
%ldconfig_scriptlets -n libKF6AuthCore6
%files
%license LICENSES/*
%doc README.md
@@ -75,9 +67,8 @@ Development files.
%{_kf6_debugdir}/kauth.renamecategories
%{_kf6_libexecdir}/kauth/kauth-policy-gen
%{_kf6_plugindir}/kf6/kauth/helper/
%files -n libKF6AuthCore6
%{_kf6_libdir}/libKF6AuthCore.so.*
%{_datadir}/locale/*/LC_MESSAGES/kauth6.mo
%files devel
%{_kf6_cmakedir}/KF6Auth/
@@ -88,6 +79,5 @@ Development files.
%{_kf6_includedir}/KAuthCore/
%{_kf6_libdir}/libKF6AuthCore.so
%files lang -f kauth6.lang
%changelog
%{?autochangelog}