1 Summary: Yubikey tool for generating OATH event-based HOTP and time-based TOTP codes
2 Summary(pl.UTF-8): Narzędzie Yubikey do generowania kodów OATH opartych na zdarzeniach (HOTP) i czasie (TOTP)
7 Group: X11/Applications
8 Source0: https://developers.yubico.com/yubioath-desktop/Releases/%{name}-%{version}.tar.gz
9 # Source0-md5: a4a18ba12d8ce63e94f0c0af80194a8a
10 URL: https://developers.yubico.com/yubioath-desktop/
11 BuildRequires: Qt5Gui-devel >= 5
12 BuildRequires: Qt5Qml-devel >= 5
13 BuildRequires: Qt5Quick-devel >= 5
14 BuildRequires: Qt5Widgets-devel >= 5
15 BuildRequires: desktop-file-utils
16 BuildRequires: libstdc++-devel >= 6:4.7
17 BuildRequires: python3 >= 1:3.2
18 BuildRequires: python3-modules >= 1:3.2
19 BuildRequires: qt5-build >= 5
20 BuildRequires: qt5-qmake >= 5
21 Requires(post,postun): desktop-file-utils
22 Requires: pcsc-driver-ccid
23 Requires: python-PySide
24 Requires: yubikey-manager
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The Yubico Authenticator is a graphical desktop tool and CLI for
29 generating Open AuTHentication (OATH) event-based HOTP and time-based
30 TOTP one-time password codes, with the help of a YubiKey that protects
33 %description -l pl.UTF-8
34 Yubico Authenticator to narzędzie graficzne oraz linii poleceń do
35 generowania kodów jednorazowych haseł OATH (Open AuTHentication)
36 opartych na zdarzeniach (HOTP) i czasie (TOTP) z pomocą urządzenia
37 YubiKey, które zabezpiecza współdzielone dane prywatne.
43 # 4.3.4 tarball is broken (pure tar saved as .tar.gz)
44 %setup -q -c -T -n %{name}
45 %{__tar} xf %{SOURCE0} -C ..
50 QMAKE_CXX="%{__cxx}" \
51 QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
52 QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
57 rm -rf $RPM_BUILD_ROOT
60 INSTALL_ROOT=$RPM_BUILD_ROOT \
64 desktop-file-install --dir=$RPM_BUILD_ROOT%{_desktopdir} resources/yubioath-desktop.desktop
66 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
67 cp -p resources/icons/yubioath.png $RPM_BUILD_ROOT%{_pixmapsdir}
70 rm -rf $RPM_BUILD_ROOT
73 %update_desktop_database
76 %update_desktop_database
79 %defattr(644,root,root,755)
80 %doc COPYING NEWS README
81 %attr(755,root,root) %{_bindir}/yubioath-desktop
82 %{_desktopdir}/yubioath-desktop.desktop
83 %{_pixmapsdir}/yubioath.png