1 Summary: Tool for managing your YubiKey configuration
2 Summary(pl.UTF-8): Narzędzie do zarządzania urządzeniami YubiKey
3 Name: yubikey-manager-qt
7 Group: Applications/System
8 Source0: https://developers.yubico.com/yubikey-manager-qt/Releases/%{name}-%{version}.tar.gz
9 # Source0-md5: 036dd3f0cf2b77c68edef4c471d19c66
10 URL: https://developers.yubico.com/yubikey-manager-qt/
11 BuildRequires: Qt5Core-devel >= 5
12 BuildRequires: Qt5Gui-devel >= 5
13 BuildRequires: Qt5Qml-devel >= 5
14 BuildRequires: Qt5Quick-controls2-devel >= 5
15 BuildRequires: Qt5Widgets-devel >= 5
16 BuildRequires: libstdc++-devel >= 6:4.7
17 BuildRequires: qt5-build >= 5
18 BuildRequires: qt5-linguist >= 5
19 BuildRequires: qt5-qmake >= 5
20 # dependencies from ykman-gui/py/yubikey.py (built into C++ qrc_resources.cpp)
21 Requires: Qt5Qml-module-pyotherside
22 Requires: python3-cryptography
23 Requires: python3-fido2
24 Requires: python3-pyscard
26 Requires: yubikey-manager >= 5.0.1
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This application provides an easy way to perform the most common
31 configuration tasks on a YubiKey.
33 %description -l pl.UTF-8
34 Ta aplikacja pozwala w łatwy sposób wykonać większość zadań
35 konfiguracyjnych urządzeń YubiKey.
38 %setup -q -n yubikey-manager-qt
41 qmake-qt5 yubikey-manager-qt.pro \
42 QMAKE_CXX="%{__cxx}" \
43 QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
44 QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53 INSTALL_ROOT=$RPM_BUILD_ROOT
55 cp -p resources/ykman-gui.desktop $RPM_BUILD_ROOT%{_desktopdir}
56 cp -p resources/icons/ykman.png $RPM_BUILD_ROOT%{_pixmapsdir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc COPYING NEWS README
64 %attr(755,root,root) %{_bindir}/ykman-gui
65 %{_desktopdir}/ykman-gui.desktop
66 %{_pixmapsdir}/ykman.png