|
|
|
%global commit c58db92b64f9676b71c6fd7f6c9f4f0c59a8541e
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
%global owner Yubico
|
|
|
|
|
|
|
|
Name: yubioath-desktop
|
|
|
|
Version: 5.0.1
|
|
|
|
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/%{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++
|
|
|
|
BuildRequires: python3 desktop-file-utils qt5-qtquickcontrols2-devel
|
|
|
|
Requires: pyotherside qt5-qtdeclarative qt5-qtquickcontrols pcsc-lite-ccid yubikey-manager
|
|
|
|
|
|
|
|
## uses Qt5 private api's these help track that
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Yubico Authenticator is a graphical desktop tool and CLI for generating
|
|
|
|
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}-%{commit}
|
|
|
|
sed -i -e "s/python /python3 /" %{name}.pro
|
|
|
|
sed -i -e "1s|^#.*$|#!%{__python3}|g" build_qrc.py py/yubikey.py
|
|
|
|
|
|
|
|
%build
|
|
|
|
%qmake_qt5
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
# desktop file
|
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications resources/yubioath-desktop.desktop
|
|
|
|
|
|
|
|
# icons
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_datadir}/icons/hicolor/128x128/apps resources/icons/yubioath.png
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS README
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/icons/hicolor/128x128/apps/*
|
|
|
|
%{_datadir}/applications/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Oct 16 2019 Gerald Cox <gbcox@fedoraproject.org> - 5.0.1-1.gitc58db92
|
|
|
|
- Upstream release - rhbz#1762309
|
|
|
|
|
|
|
|
* Wed Sep 25 2019 Jan Grulich <jgrulich@redhat.com> - 5.0.0-2.git121efe3
|
|
|
|
- rebuild (qt5)
|
|
|
|
|
|
|
|
* Mon Sep 23 2019 Gerald Cox <gbcox@fedoraproject.org> - 5.0.0-1.git121efe3b
|
|
|
|
- Upstream release - rhbz#1754707
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.5-8.gitd1187b6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 17 2019 Jan Grulich <jgrulich@redhat.com> - 4.3.5-7.gitd1187b6
|
|
|
|
- rebuild (qt5)
|
|
|
|
|
|
|
|
* Wed Jun 05 2019 Jan Grulich <jgrulich@redhat.com> - 4.3.5-6.gitd1187b6
|
|
|
|
- rebuild (qt5)
|
|
|
|
|
|
|
|
* Mon Apr 15 2019 Rex Dieter <rdieter@fedoraproject.org> - 4.3.5-5.gitd1187b6
|
|
|
|
- track Qt private api usage (#1697330)
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.5-4.gitd1187b6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 03 2019 Gerald Cox <gbcox@fedoraproject.org> - 4.3.5-3.gitd1187b6
|
|
|
|
- Upstream release - rhbz#1655888
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Tue Aug 14 2018 Seth Jennings <sethdjennings@gmail.com> - 4.3.3-4
|
|
|
|
- add python-unversioned-command to BuildRequires
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.3.3-2
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
* Wed May 2 2018 Seth Jennings <sethdjennings@gmail.com> - 4.3.3-1
|
|
|
|
- Upstream release
|
|
|
|
|
|
|
|
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.2.0-4
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.0-2
|
|
|
|
- Remove obsolete scriptlets
|
|
|
|
|
|
|
|
* Fri Dec 15 2017 Seth Jennings <sethdjennings@gmail.com> - 4.2.0-1
|
|
|
|
- Upstream release.
|
|
|
|
|
|
|
|
* Mon Aug 21 2017 Seth Jennings <sethdjennings@gmail.com> - 4.1.3-1
|
|
|
|
- Upstream release.
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Sep 27 2016 Seth Jennings <spartacus06@gmail.com> - 3.0.1-2
|
|
|
|
- Fix desktop application executable name
|
|
|
|
|
|
|
|
* Mon Jul 25 2016 Seth Jennings <spartacus06@gmail.com> - 3.0.1-1
|
|
|
|
- Upstream release.
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-4
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 28 2016 Seth Jennings <spartacus06@gmail.com> - 2.3.0-2
|
|
|
|
- Add pyusb as a required package to avoid python ImportError (#1302895).
|
|
|
|
|
|
|
|
* Fri Nov 20 2015 Seth Jennings <spartacus06@gmail.com> - 2.3.0-1
|
|
|
|
- Upstream release.
|
|
|
|
|
|
|
|
* Thu Aug 27 2015 Seth Jennings <spartacus06@gmail.com> - 2.2.1-1
|
|
|
|
- Upstream release.
|
|
|
|
|
|
|
|
* Thu Aug 06 2015 Seth Jennings <spartacus06@gmail.com> - 2.1.1-3
|
|
|
|
- Use __python2 macro.
|
|
|
|
|
|
|
|
* Thu Aug 06 2015 Seth Jennings <spartacus06@gmail.com> - 2.1.1-2
|
|
|
|
- Add pcsc-lite-ccid requirement
|
|
|
|
|
|
|
|
* Thu Aug 06 2015 Seth Jennings <spartacus06@gmail.com> - 2.1.1-1
|
|
|
|
- Initial package release.
|