7 Star 0 Fork 2

src-openEuler/plasma-pass

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
plasma-pass.spec 2.30 KB
一键复制 编辑 原始数据 按行查看 历史
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/plasma-pass.git
git@gitee.com:src-openeuler/plasma-pass.git
src-openeuler
plasma-pass
plasma-pass
master

搜索帮助