50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
# 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 kf6_version 6.19.0
|
|
%define qt6_version 6.9.0
|
|
|
|
Name: signon-kwallet-extension
|
|
Version: 25.12.3
|
|
Release: %autorelease
|
|
Summary: KWallet integration for signon framework
|
|
License: GPL-2.0-or-later
|
|
URL: https://www.kde.org
|
|
VCS: git:https://github.com/KDE/signon-kwallet-extension.git
|
|
#!RemoteAsset
|
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: cmake(KF6Wallet) >= %{kf6_version}
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
BuildRequires: pkgconfig(SignOnExtension)
|
|
# This is very important - the default in signon is to save tokens in plaintext
|
|
# in a sqlite database...
|
|
Supplements: signond
|
|
|
|
%description
|
|
KWallet integration for signon framework.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE
|
|
|
|
%kf6_build
|
|
|
|
%install
|
|
%kf6_install
|
|
|
|
%files
|
|
%license COPYING
|
|
%dir %{_kf6_libdir}/signon/extensions
|
|
%{_kf6_libdir}/signon/extensions/libkeyring-kwallet.so*
|
|
|
|
%changelog
|
|
%{?autochangelog}
|