%global gitdate 20231003.213013 %global cmakever 5.240.0 %global commit0 7c91f3dd2c158444644a00a43aaa20f6e66b84a0 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global framework kwallet Name: kf6-%{framework} Version: %{cmakever}^%{gitdate}.%{shortcommit0} Release: 1%{?dist} Summary: KDE Frameworks 6 Tier 3 solution for password management License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later URL: https://invent.kde.org/frameworks/%{framework} Source0: https://invent.kde.org/frameworks/%{framework}/-/archive/%{commit0}/%{framework}-%{shortcommit0}.tar.gz BuildRequires: cmake(Qca-qt6) BuildRequires: cmake(Qt6Core5Compat) BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: extra-cmake-modules >= %{cmakever} BuildRequires: gcc-c++ BuildRequires: libgcrypt-devel BuildRequires: cmake BuildRequires: qt6-qtbase-devel BuildRequires: cmake(Qt6Core5Compat) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6DBusAddons) BuildRequires: cmake(KF6DocTools) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6Service) BuildRequires: cmake(KF6WidgetsAddons) BuildRequires: cmake(KF6WindowSystem) BuildRequires: kf6-rpm-macros BuildRequires: cmake(KF6ColorScheme) BuildRequires: pkgconfig(xkbcommon) BuildRequires: cmake(Gpgmepp) Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: kf6-filesystem Requires: pinentry-gui %description KWallet is a secure and unified container for user passwords. %package libs Summary: KWallet framework libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description libs Provides API to access KWallet data from applications. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: qt6-qtbase-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{framework}-%{commit0} -p1 %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang %{name} --all-name --with-man %files -f %{name}.lang %doc README.md %license LICENSES/*.txt %{_kf6_bindir}/kwallet-query %{_kf6_bindir}/kwalletd6 %{_kf6_datadir}/applications/org.kde.kwalletd6.desktop %{_kf6_datadir}/dbus-1/services/org.kde.kwalletd5.service %{_kf6_datadir}/dbus-1/services/org.kde.kwalletd6.service %{_kf6_datadir}/knotifications6/kwalletd6.notifyrc %{_kf6_datadir}/qlogging-categories6/%{framework}* %{_mandir}/man1/kwallet-query.1* %files libs %{_kf6_libdir}/libKF6Wallet.so.* %{_libdir}/libKF6WalletBackend.so.* %files devel %{_kf6_datadir}/dbus-1/interfaces/kf6_org.kde.KWallet.xml %{_kf6_includedir}/KWallet/ %{_kf6_libdir}/cmake/KF6Wallet/ %{_kf6_libdir}/libKF6Wallet.so %changelog * Mon Oct 09 2023 Steve Cossette - 5.240.0^20231003.213013.7c91f3d-1 - Initial Release