plasma-vault
This commit is contained in:
4
1.md
4
1.md
@@ -85,6 +85,8 @@
|
||||
- [ ] hack-fonts
|
||||
- [ ] avahi
|
||||
|
||||
- [x] fonts-fontawesome
|
||||
|
||||
## QT6部分 (41)
|
||||
|
||||
- [x] qt6-3d
|
||||
@@ -243,7 +245,7 @@
|
||||
- [ ] plasma6-sdk
|
||||
- [ ] plasma6-systemmonitor
|
||||
- [ ] plasma6-thunderbolt
|
||||
- [ ] plasma6-vault
|
||||
- [ ] plasma-vault
|
||||
- [ ] plasma-workspace
|
||||
- [ ] plasma-workspace-wallpapers
|
||||
- [ ] dolphin
|
||||
|
||||
@@ -1,24 +1,28 @@
|
||||
|
||||
# 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.18.0
|
||||
%define qt6_version 6.9.0
|
||||
|
||||
%define rname plasma-vault
|
||||
|
||||
|
||||
%bcond_without encfs
|
||||
%bcond_without cryfs
|
||||
|
||||
# Full Plasma 6 version (e.g. 6.0.0)
|
||||
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
|
||||
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
|
||||
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
|
||||
Name: plasma6-vault
|
||||
|
||||
Name: plasma-vault
|
||||
Version: 6.5.5
|
||||
Release: 0
|
||||
Release: %autorelease
|
||||
Summary: Plasma applet and services for creating encrypted vaults
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://www.kde.org
|
||||
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
||||
#!RemoteAsset
|
||||
Source: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
||||
@@ -36,11 +40,11 @@ BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
Requires: plasma6-vault-backend
|
||||
Requires: plasma-vault-backend
|
||||
Requires: (/usr/bin/fusermount3 or /usr/bin/fusermount)
|
||||
# encfs is EOL, creating new EncFS vaults will no longer be supported
|
||||
# See https://github.com/KDE/plasma-vault/commit/ef0762f188ce6568b8fa7babbce852010366c935
|
||||
Recommends: plasma6-vault-backend-gocryptfs
|
||||
Recommends: plasma-vault-backend-gocryptfs
|
||||
Provides: plasma-vault = %{version}
|
||||
Obsoletes: plasma-vault < %{version}
|
||||
Obsoletes: plasma-vault-lang < %{version}
|
||||
@@ -49,45 +53,45 @@ Obsoletes: plasma-vault-lang < %{version}
|
||||
Plasma Vault is a plasmoid for creating and managing encrypted vaults
|
||||
|
||||
%if %{with encfs}
|
||||
%package backend-encfs
|
||||
Summary: Necessary packages for plasma6-vault to support encfs vaults
|
||||
%package backend-encfs
|
||||
Summary: Necessary packages for plasma-vault to support encfs vaults
|
||||
Requires: encfs >= 1.9.1
|
||||
Requires: plasma6-vault = %{version}
|
||||
Provides: plasma6-vault-backend = %{version}
|
||||
Requires: plasma-vault = %{version}
|
||||
Provides: plasma-vault-backend = %{version}
|
||||
Obsoletes: plasma-vault-backend-encfs < %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description backend-encfs
|
||||
This package pulls in dependencies for the plasma6-vault encfs backend.
|
||||
%description backend-encfs
|
||||
This package pulls in dependencies for the plasma-vault encfs backend.
|
||||
%endif
|
||||
|
||||
%if %{with cryfs}
|
||||
%package backend-cryfs
|
||||
Summary: Necessary packages for plasma6-vault to support cryfs vaults
|
||||
Requires: plasma6-vault = %{version}
|
||||
%package backend-cryfs
|
||||
Summary: Necessary packages for plasma-vault to support cryfs vaults
|
||||
Requires: plasma-vault = %{version}
|
||||
# Previous versions could not update properly
|
||||
Requires: cryfs >= 0.9.9
|
||||
Provides: plasma6-vault-backend = %{version}
|
||||
Provides: plasma-vault-backend = %{version}
|
||||
Obsoletes: plasma-vault-backend-cryfs < %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description backend-cryfs
|
||||
This package pulls in dependencies for the plasma6-vault cryfs backend.
|
||||
%description backend-cryfs
|
||||
This package pulls in dependencies for the plasma-vault cryfs backend.
|
||||
%endif
|
||||
|
||||
%package backend-gocryptfs
|
||||
Summary: Necessary packages for plasma6-vault to support gocryptfs vaults
|
||||
%package backend-gocryptfs
|
||||
Summary: Necessary packages for plasma-vault to support gocryptfs vaults
|
||||
Requires: gocryptfs >= 1.8
|
||||
Requires: plasma6-vault = %{version}
|
||||
Provides: plasma6-vault-backend = %{version}
|
||||
Requires: plasma-vault = %{version}
|
||||
Provides: plasma-vault-backend = %{version}
|
||||
Obsoletes: plasma-vault-backend-gocryptfs < %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description backend-gocryptfs
|
||||
This package pulls in dependencies for the plasma6-vault gocryptfs backend.
|
||||
%description backend-gocryptfs
|
||||
This package pulls in dependencies for the plasma-vault gocryptfs backend.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
@@ -126,3 +130,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
|
||||
%license LICENSES/*
|
||||
|
||||
%changelog
|
||||
%{?autochangelog}
|
||||
|
||||
Reference in New Issue
Block a user