[packages/ka6-keysmith] - updated to 25.04.0
witekfl
witekfl at pld-linux.org
Sat Apr 19 11:08:00 CEST 2025
commit 30faa68944c184a937c95558cfd5a8b9f78e398b
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sat Apr 19 10:03:17 2025 +0200
- updated to 25.04.0
ka6-keysmith.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 86 insertions(+)
---
diff --git a/ka6-keysmith.spec b/ka6-keysmith.spec
new file mode 100644
index 0000000..e3827fe
--- /dev/null
+++ b/ka6-keysmith.spec
@@ -0,0 +1,86 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 25.04.0
+%define kframever 6.8
+%define qtver 6.6
+%define kaname keysmith
+Summary: Program to generate 2FA tokens
+Name: ka6-%{kaname}
+Version: 25.04.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: e268f5411c733a975c8249fbc5dee56e
+URL: http://www.kde.org/
+BuildRequires: Qt6Concurrent-devel >= %{qtver}
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel >= %{qtver}
+BuildRequires: Qt6Qml-devel >= %{qtver}
+BuildRequires: Qt6Quick-devel >= %{qtver}
+BuildRequires: Qt6Widgets-devel
+BuildRequires: cmake >= 3.20
+BuildRequires: gettext-tools
+BuildRequires: gettext-tools
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-kconfig-devel >= %{kframever}
+BuildRequires: kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires: kf6-kdbusaddons-devel >= %{kframever}
+BuildRequires: kf6-ki18n-devel >= %{kframever}
+BuildRequires: kf6-kirigami-devel >= %{kframever}
+BuildRequires: kf6-kwindowsystem-devel >= %{kframever}
+BuildRequires: kf6-qqc2-desktop-style-devel >= %{kframever}
+BuildRequires: libsodium-devel >= 1.0.16
+BuildRequires: ninja
+BuildRequires: openssl
+BuildRequires: python3
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Obsoletes: ka5-%{kaname} < %{version}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+Keysmith jest aplikacją do generowania tokenów dwuskładnikowego
+uwierzytelniania (2FA) gdy logujesz się do twoich kont online. Obecnie
+wspiera tokeny HOTP i TOTP.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/keysmith
+%{_desktopdir}/org.kde.keysmith.desktop
+%{_iconsdir}/hicolor/scalable/apps/org.kde.keysmith.svg
+%{_datadir}/metainfo/org.kde.keysmith.appdata.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-keysmith.git/commitdiff/30faa68944c184a937c95558cfd5a8b9f78e398b
More information about the pld-cvs-commit
mailing list