2024-01-06 01:28:28 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
|
|
|
|
Name: keysmith
|
2024-01-06 01:28:29 +01:00
|
|
|
Version: 23.08.2
|
2024-01-06 01:28:28 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A KDE application to generate two-factor authentication (2FA) tokens
|
|
|
|
Group: Graphical Desktop/Applications/Security
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://kde.org
|
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/keysmith-%{version}.tar.xz
|
|
|
|
License: GPL, BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libQt5Svg-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libkdbusaddons-devel
|
|
|
|
BuildRequires: libki18n-devel
|
|
|
|
BuildRequires: libkwindowsystem-devel
|
|
|
|
BuildRequires: libsodium-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
BuildRequires: qt5-qtquickcontrols2-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
|
|
|
%description
|
|
|
|
Keysmith is an application to generate two-factor authentication (2FA) tokens when logging in to your (online) accounts. Currently it supports both HOTP and TOTP tokens.
|
|
|
|
Some todo items include:
|
|
|
|
- QR code scanning
|
|
|
|
- Backup and Restore of accounts
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kde5 -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}5_qt.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/keysmith
|
|
|
|
%{_datadir}/applications/org.kde.keysmith.desktop
|
|
|
|
%{_datadir}/metainfo/org.kde.keysmith.appdata.xml
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/keysmith.svg
|
|
|
|
%doc COPYING LICENSES
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 01:28:29 +01:00
|
|
|
* Thu Oct 12 2023 Automatic Build System <autodist@mambasoft.it> 23.08.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:28 +01:00
|
|
|
* Thu Sep 14 2023 Automatic Build System <autodist@mambasoft.it> 23.08.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:28 +01:00
|
|
|
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 23.08.0-1mamba
|
|
|
|
- package created using the webbuild interface
|