|
|
@ -6,18 +6,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: yubioath-desktop
|
|
|
|
Name: yubioath-desktop
|
|
|
|
Version: 4.3.5
|
|
|
|
Version: 4.3.5
|
|
|
|
Release: 1.git%{shortcommit}%{?dist}
|
|
|
|
Release: 2.git%{shortcommit}%{?dist}
|
|
|
|
Summary: Yubikey tool for generating OATH event-based HOTP and time-based TOTP codes
|
|
|
|
Summary: Yubikey tool for generating OATH event-based HOTP and time-based TOTP codes
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/%{owner}/yubioath-desktop
|
|
|
|
URL: https://github.com/%{owner}/yubioath-desktop
|
|
|
|
Source: https://github.com/%{owner}/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
|
|
|
|
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: qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtsvg-devel gcc-c++ python3 desktop-file-utils
|
|
|
|
BuildRequires: python3-fido2
|
|
|
|
|
|
|
|
Requires: pyotherside qt5-qtdeclarative qt5-qtquickcontrols pcsc-lite-ccid yubikey-manager
|
|
|
|
Requires: pyotherside qt5-qtdeclarative qt5-qtquickcontrols pcsc-lite-ccid yubikey-manager
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The Yubico Authenticator is a graphical desktop tool and CLI for generating
|
|
|
|
The Yubico Authenticator is a graphical desktop tool and CLI for generating
|
|
|
@ -26,20 +23,21 @@ password codes, with the help of a YubiKey that protects the shared secrets.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{name}-%{commit}
|
|
|
|
%autosetup -n %{name}-%{commit}
|
|
|
|
|
|
|
|
sed -i -e "s/python /python3 /" %{name}.pro
|
|
|
|
|
|
|
|
sed -i -e "1s|^#.*$|#!%{__python3}|g" build_qrc.py py/yubikey.py
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
qmake-qt5
|
|
|
|
%qmake_qt5
|
|
|
|
%make_build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
# desktop file
|
|
|
|
# desktop file
|
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{_builddir}/%{buildsubdir}/resources/yubioath-desktop.desktop
|
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications resources/yubioath-desktop.desktop
|
|
|
|
|
|
|
|
|
|
|
|
# icons
|
|
|
|
# icons
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_datadir}/icons/hicolor/128x128/apps resources/icons/yubioath.png
|
|
|
|
cp %{_builddir}/%{buildsubdir}/resources/icons/yubioath.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
@ -49,7 +47,10 @@ cp %{_builddir}/%{buildsubdir}/resources/icons/yubioath.png %{buildroot}%{_datad
|
|
|
|
%{_datadir}/applications/*
|
|
|
|
%{_datadir}/applications/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Dec 31 2018 Gerald Cox <gbcox@fedoraproject.org> - 4.3.5-1.git{%shortcommit}
|
|
|
|
* Thu Jan 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.3.5-2.git0a8c363
|
|
|
|
|
|
|
|
- Trivial fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 31 2018 Gerald Cox <gbcox@fedoraproject.org> - 4.3.5-1.git0a8c363
|
|
|
|
- Upstream release rhbz#1655888
|
|
|
|
- Upstream release rhbz#1655888
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 14 2018 Seth Jennings <sethdjennings@gmail.com> - 4.3.3-4
|
|
|
|
* Tue Aug 14 2018 Seth Jennings <sethdjennings@gmail.com> - 4.3.3-4
|
|
|
|