Name: keepassxc Version: 2.8.0 Release: %autorelease Summary: Cross-platform password manager License: BSL-1.0 AND LicenseRef-Callaway-BSD AND CC0-1.0 AND GPL-3.0-only AND LicenseRef-Callaway-LGPLv2 AND LicenseRef-Callaway-LGPLv2+ AND LGPL-3.0-or-later AND LicenseRef-Callaway-Public-Domain URL: https://keepassxc.org/ Source0: https://github.com/keepassxreboot/keepassxc/releases/download/%{version}/keepassxc-%{version}-src.tar.xz BuildRequires: botan3-devel BuildRequires: cmake >= 3.16 BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: glibc-langpack-en BuildRequires: keyutils-libs-devel BuildRequires: libusb1-devel BuildRequires: minizip-ng-compat-devel BuildRequires: pcsc-lite-devel BuildRequires: pkgconfig(xkbcommon) BuildRequires: qrencode-devel BuildRequires: readline-devel BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtsvg-devel BuildRequires: qt6-qttools-devel BuildRequires: zlib-devel BuildRequires: zxcvbn-c-devel # KeePassXC bundles a modified version of ykcore. Provides: bundled(ykcore) %description KeePassXC is a cross-platform password manager that stores and manages sensitive information in encrypted databases. It supports password generation, browser integration, SSH Agent, hardware security keys, and the freedesktop.org Secret Service API. %prep %autosetup %build %cmake \ -DKEEPASSXC_BUILD_TYPE=Release \ -DKPXC_MINIMAL=OFF \ -DKPXC_FEATURE_BROWSER=ON \ -DKPXC_FEATURE_SSHAGENT=ON \ -DKPXC_FEATURE_FDOSECRETS=ON \ -DKPXC_FEATURE_NETWORK=ON \ -DKPXC_FEATURE_UPDATES=OFF \ -DKPXC_FEATURE_DOCS=OFF \ -DWITH_X11=OFF \ -DWITH_TESTS=ON \ -DWITH_GUI_TESTS=OFF %cmake_build %install %cmake_install desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ --delete-original \ --add-mime-type application/x-keepassxc \ %{buildroot}%{_datadir}/applications/org.%{name}.KeePassXC.desktop %check QT_QPA_PLATFORM=offscreen %ctest --output-on-failure %files %license COPYING LICENSE.GPL-2 LICENSE.GPL-3 %{_bindir}/keepassxc %{_bindir}/keepassxc-cli %{_bindir}/keepassxc-proxy %{_datadir}/keepassxc %{_datadir}/applications/org.%{name}.KeePassXC.desktop %{_datadir}/metainfo/org.%{name}.KeePassXC.appdata.xml %{_datadir}/polkit-1/actions/org.%{name}.KeePassXC.policy %{_datadir}/mime/packages/*.xml %{_datadir}/icons/hicolor/*/*/*keepassxc* %changelog %autochangelog