]> git.pld-linux.org Git - packages/yubikey-manager-qt.git/blob - yubikey-manager-qt.spec
- updated to 1.2.5
[packages/yubikey-manager-qt.git] / yubikey-manager-qt.spec
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
4 Version:        1.2.5
5 Release:        1
6 License:        BSD
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
25 # python-ykman
26 Requires:       yubikey-manager >= 5.0.1
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This application provides an easy way to perform the most common
31 configuration tasks on a YubiKey.
32
33 %description -l pl.UTF-8
34 Ta aplikacja pozwala w łatwy sposób wykonać większość zadań
35 konfiguracyjnych urządzeń YubiKey.
36
37 %prep
38 %setup -q -n yubikey-manager-qt
39
40 %build
41 qmake-qt5 yubikey-manager-qt.pro \
42         QMAKE_CXX="%{__cxx}" \
43         QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
44         QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
51
52 %{__make} install \
53         INSTALL_ROOT=$RPM_BUILD_ROOT
54
55 cp -p resources/ykman-gui.desktop $RPM_BUILD_ROOT%{_desktopdir}
56 cp -p resources/icons/ykman.png $RPM_BUILD_ROOT%{_pixmapsdir}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
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
This page took 0.151284 seconds and 4 git commands to generate.