代码拉取完成,页面将自动刷新
%undefine __cmake_in_source_build
%global kf5_version_min 5.82.0
Name: plasma-pass
Version: 1.2.1
Release: 2
Summary: Plasma applet to access passwords from the Pass password manager
License: LGPLv2+
URL: https://invent.kde.org/plasma/%{name}.git
Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz
%global __provides_exclude_from ^(%{_kf5_qmldir}/.*\\.so|%{_kf5_qtplugindir}/.*\\.so)$
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: desktop-file-utils
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: cmake(KF5Plasma) >= %{kf5_version_min}
BuildRequires: cmake(KF5I18n) >= %{kf5_version_min}
BuildRequires: cmake(KF5ItemModels) >= %{kf5_version_min}
BuildRequires: cmake(KF5Service) >= %{kf5_version_min}
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version_min}
BuildRequires: cmake(KF5Package) >= %{kf5_version_min}
BuildRequires: cmake(QGpgme)
BuildRequires: qt-gpgme
BuildRequires: gettext-devel
BuildRequires: gpgmepp-devel
BuildRequires: pkgconfig(liboath)
Requires: plasmashell(desktop)
Requires: gnupg2
Recommends: pass
%description
Plasma Pass is a Plasma systray applet to easily access passwords from the Pass
password manager.
%prep
%autosetup
%build
%{cmake_kf5}
%cmake_build
%install
%cmake_install
%find_lang plasma_applet_org.kde.plasma.pass
%check
desktop-file-validate %{buildroot}/%{_datadir}/kservices5/plasma-applet-org.kde.plasma.pass.desktop
%files -f plasma_applet_org.kde.plasma.pass.lang
%license LICENSES/*
%doc README.md
%{_datadir}/qlogging-categories5/plasma-pass.categories
%dir %{_kf5_qmldir}/org/kde/plasma/private/plasmapass/
%{_kf5_qmldir}/org/kde/plasma/private/plasmapass/*
%dir %{_kf5_datadir}/plasma/plasmoids/org.kde.plasma.pass/
%{_kf5_datadir}/plasma/plasmoids/org.kde.plasma.pass/*
%{_kf5_datadir}/kservices5/*.desktop
%{_kf5_metainfodir}/*.xml
%changelog
* Thu Nov 21 2024 tangjie02 <tangjie02@kylinsec.com.cn> - 1.2.1-2
- adapt to the new CMake macros to fix build failure
* Mon Mar 04 2024 misaka00251 <liuxin@iscas.ac.cn> - 1.2.1-1
- Upgrade to 1.2.1
* Tue Jul 19 2022 misaka00251 <misaka00251@misakanet.cn> - 1.2.0-1
- Init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。