update
This commit is contained in:
158
kf6-kwallet/kf6-kwallet.spec
Normal file
158
kf6-kwallet/kf6-kwallet.spec
Normal file
@@ -0,0 +1,158 @@
|
||||
|
||||
%define qt6_version 6.8.0
|
||||
|
||||
%define rname kwallet
|
||||
# Full KF6 version (e.g. 6.22.0)
|
||||
%{!?_kf6_version: %global _kf6_version %{version}}
|
||||
|
||||
Name: kf6-kwallet
|
||||
Version: 6.20.0
|
||||
Release: 0
|
||||
Summary: Safe desktop-wide storage for passwords
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://www.kde.org
|
||||
Source: https://ftp.ntu.edu.tw/pub/kde/stable/frameworks/6.20/%{rname}-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
|
||||
BuildRequires: libgcrypt-devel >= 1.5.0
|
||||
BuildRequires: libgpgmepp-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: cmake(KF6ColorScheme) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6Crash) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6DBusAddons) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6DocTools) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6I18n) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6Notifications) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6Service) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6WindowSystem) >= %{_kf6_version}
|
||||
BuildRequires: cmake(Qca-qt6)
|
||||
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
BuildRequires: pkgconfig(libsecret-1)
|
||||
|
||||
%description
|
||||
This framework contains two main components:
|
||||
* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces.
|
||||
* The kwalletd used to safely store the passwords on KDE work spaces.
|
||||
|
||||
%package -n libKF6Wallet6
|
||||
Summary: Safe desktop-wide storage for passwords
|
||||
Requires: kf6-kwallet >= %{version}
|
||||
|
||||
%description -n libKF6Wallet6
|
||||
This framework contains two main components:
|
||||
* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces.
|
||||
* The kwalletd used to safely store the passwords on KDE work spaces.
|
||||
|
||||
%package -n libKF6WalletBackend6
|
||||
Summary: Safe desktop-wide storage for passwords
|
||||
|
||||
%description -n libKF6WalletBackend6
|
||||
This framework contains two main components:
|
||||
* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces.
|
||||
* The kwalletd used to safely store the passwords on KDE work spaces.
|
||||
|
||||
%package -n kwalletd6
|
||||
Summary: Safe desktop-wide storage for passwords
|
||||
Requires: kf6-kwallet >= %{version}
|
||||
Recommends: kf6-kwallet-tools
|
||||
# kwalletd6 ships a compat org.kde.kwalletd5.service file. It needs to replace
|
||||
# kwalletd5 to keep using plasma5 with KF6-based apps
|
||||
Provides: kwalletd5 = %{version}
|
||||
Obsoletes: kwalletd5 < %{version}
|
||||
Obsoletes: kwalletd5-lang < %{version}
|
||||
|
||||
%description -n kwalletd6
|
||||
This framework contains two main components:
|
||||
* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces.
|
||||
* The kwalletd used to safely store the passwords on KDE work spaces.
|
||||
|
||||
%package tools
|
||||
Summary: Safe desktop-wide storage for passwords
|
||||
Conflicts: kwallet-tools
|
||||
|
||||
%description tools
|
||||
This framework contains two main components:
|
||||
* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces.
|
||||
* The kwalletd used to safely store the passwords on KDE work spaces.
|
||||
|
||||
%package devel
|
||||
Summary: Safe desktop-wide storage for passwords
|
||||
Requires: libKF6Wallet6 = %{version}
|
||||
Requires: cmake(Qt6Gui) >= %{qt6_version}
|
||||
|
||||
%description devel
|
||||
This framework contains two main components:
|
||||
* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces.
|
||||
* The kwalletd used to safely store the passwords on KDE work spaces.
|
||||
Development files.
|
||||
|
||||
%lang_package -n kf6-kwallet-tools
|
||||
|
||||
%lang_package -n kwalletd6
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%find_lang kwalletd6
|
||||
%find_lang kwallet6-query
|
||||
|
||||
%ldconfig_scriptlets -n libKF6Wallet6
|
||||
%ldconfig_scriptlets -n libKF6WalletBackend6
|
||||
|
||||
%files
|
||||
%{_kf6_debugdir}/kwallet.categories
|
||||
%{_kf6_debugdir}/kwallet.renamecategories
|
||||
|
||||
%files -n kwalletd6
|
||||
%{_kf6_applicationsdir}/org.kde.ksecretd.desktop
|
||||
%{_kf6_bindir}/ksecretd
|
||||
%{_kf6_bindir}/kwalletd6
|
||||
%{_kf6_notificationsdir}/ksecretd.notifyrc
|
||||
%{_kf6_sharedir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kwallet.service
|
||||
%{_kf6_sharedir}/dbus-1/services/org.kde.kwalletd5.service
|
||||
%{_kf6_sharedir}/dbus-1/services/org.kde.kwalletd6.service
|
||||
%{_kf6_sharedir}/dbus-1/services/org.kde.secretservicecompat.service
|
||||
%dir %{_kf6_sharedir}/xdg-desktop-portal
|
||||
%dir %{_kf6_sharedir}/xdg-desktop-portal/portals
|
||||
%{_kf6_sharedir}/xdg-desktop-portal/portals/kwallet.portal
|
||||
|
||||
%files -n libKF6Wallet6
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_kf6_libdir}/libKF6Wallet.so.*
|
||||
|
||||
%files -n libKF6WalletBackend6
|
||||
%{_kf6_libdir}/libKF6WalletBackend.so.*
|
||||
|
||||
%files tools
|
||||
%{_kf6_bindir}/kwallet-query
|
||||
%{_kf6_mandir}/man1/kwallet-query.1%{?ext_man}
|
||||
|
||||
%files devel
|
||||
%{_kf6_libdir}/libKF6Wallet.so
|
||||
%{_kf6_cmakedir}/KF6Wallet/
|
||||
%{_kf6_includedir}/KWallet/
|
||||
%{_kf6_dbusinterfacesdir}/kf6_org.kde.KWallet.xml
|
||||
|
||||
%files -n kwalletd6-lang -f kwalletd6.lang
|
||||
|
||||
%files -n kf6-kwallet-tools-lang -f kwallet6-query.lang
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user