|
|
|
@ -1,29 +1,20 @@
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# yubioath-desktop
|
|
|
|
|
%global commit0 098b81444c6f1d4cd1352d60ffe6902f6459da67
|
|
|
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
# qt-solutions
|
|
|
|
|
%global commit2 5eac28ccd8bfdcad0000d053519547c8ad8991fe
|
|
|
|
|
%global shortcommit2 %(c=%{commit2}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
# yubikey-manager
|
|
|
|
|
%global commit3 8d7756f7a3218615ec4254a9d7569959ca05df1d
|
|
|
|
|
%global shortcommit3 %(c=%{commit3}; echo ${c:0:7})
|
|
|
|
|
%global commit 0a8c3638aef4507f14ac629b3a670dc5f195fa04
|
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
%global owner Yubico
|
|
|
|
|
|
|
|
|
|
Name: yubioath-desktop
|
|
|
|
|
Version: 4.3.3
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 4.3.5
|
|
|
|
|
Release: 1.git%{shortcommit}%{?dist}
|
|
|
|
|
Summary: Yubikey tool for generating OATH event-based HOTP and time-based TOTP codes
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://github.com/Yubico/yubioath-desktop
|
|
|
|
|
Source0: https://github.com/Yubico/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
|
|
|
|
Source2: https://github.com/qtproject/qt-solutions/archive/%{commit2}.tar.gz#/qt-solutions-%{shortcommit2}.tar.gz
|
|
|
|
|
Source3: https://github.com/Yubico/yubikey-manager/archive/%{commit3}.tar.gz#/yubikey-manager-%{shortcommit3}.tar.gz
|
|
|
|
|
URL: https://github.com/%{owner}/yubioath-desktop
|
|
|
|
|
Source: https://github.com/%{owner}/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtsvg-devel gcc-c++ python2 python-unversioned-command desktop-file-utils
|
|
|
|
|
BuildRequires: python3-fido2
|
|
|
|
|
Requires: pyotherside qt5-qtdeclarative qt5-qtquickcontrols pcsc-lite-ccid yubikey-manager
|
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
@ -34,12 +25,7 @@ Open AuTHentication (OATH) event-based HOTP and time-based TOTP one-time
|
|
|
|
|
password codes, with the help of a YubiKey that protects the shared secrets.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{commit0}
|
|
|
|
|
%setup -D -n %{name}-%{commit0} -a 2
|
|
|
|
|
%setup -D -n %{name}-%{commit0} -a 3
|
|
|
|
|
rmdir vendor/*
|
|
|
|
|
mv -f qt-solutions-%{commit2} vendor/qt-solutions
|
|
|
|
|
mv -f yubikey-manager-%{commit3} vendor/yubikey-manager
|
|
|
|
|
%autosetup -n %{name}-%{commit}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
qmake-qt5
|
|
|
|
@ -63,6 +49,9 @@ cp %{_builddir}/%{buildsubdir}/resources/icons/yubioath.png %{buildroot}%{_datad
|
|
|
|
|
%{_datadir}/applications/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 31 2018 Gerald Cox <gbcox@fedoraproject.org> - 4.3.5-1.git{%shortcommit}
|
|
|
|
|
- Upstream release rhbz#1655888
|
|
|
|
|
|
|
|
|
|
* Tue Aug 14 2018 Seth Jennings <sethdjennings@gmail.com> - 4.3.3-4
|
|
|
|
|
- add python-unversioned-command to BuildRequires
|
|
|
|
|
|
|
|
|
|