]> git.pld-linux.org Git - packages/yubikey-manager-qt.git/blob - yubikey-manager-qt.spec
- new
[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:        0.5.1
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:  0e8c7e09496b18dbd70c619a1c5b733b
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-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 Requires:       python-cryptography
21 Requires:       python-fido2
22 # python-ykman
23 Requires:       yubikey-manager >= 0.7.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This application provides an easy way to perform the most common
28 configuration tasks on a YubiKey.
29
30 %description
31 Ta aplikacja pozwala w łatwy sposób wykonać większość zadań
32 konfiguracyjnych urządzeń YubiKey.
33
34 %prep
35 # broken tarball (tar stored as .tar.gz)
36 %setup -q -c -T -n %{name}
37 %{__tar} xf %{SOURCE0} -C ..
38
39 %build
40 qmake-qt5 yubikey-manager-qt.pro \
41         QMAKE_CXX="%{__cxx}" \
42         QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
43         QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
50
51 %{__make} install \
52         INSTALL_ROOT=$RPM_BUILD_ROOT
53
54 cp -p resources/ykman-gui.desktop $RPM_BUILD_ROOT%{_desktopdir}
55 cp -p resources/icons/ykman.png $RPM_BUILD_ROOT%{_pixmapsdir}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc COPYING NEWS README
63 %attr(755,root,root) %{_bindir}/ykman-gui
64 %{_desktopdir}/ykman-gui.desktop
65 %{_pixmapsdir}/ykman.png
This page took 0.065096 seconds and 3 git commands to generate.