You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.4 KiB
52 lines
1.4 KiB
2 years ago
|
%global owner gbcox
|
||
|
%global commit fa77017fc78f62dbcf97702512b89b03ed68dc64
|
||
|
%global shortcommit %(c=%{commit}; echo ${c:0:12})
|
||
|
|
||
|
Name: ykocli
|
||
|
Version: 1.0.1
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Front-end script for ykman to obtain TOTP tokens
|
||
|
|
||
|
License: GPL-3.0-or-later
|
||
|
URL: https://bitbucket.org/%{owner}/%{name}
|
||
|
Source0: https://bitbucket.org/%{owner}/%{name}/get/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
|
||
|
Source1: %{name}.rpmlintrc
|
||
|
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: make
|
||
|
Requires: figlet
|
||
|
Requires: copyq
|
||
|
Requires: yubikey-manager
|
||
|
|
||
|
%description
|
||
|
ykocli is a front-end command line utility (actually, a bash script)
|
||
|
that places ykman obtained TOTP tokens into the CopyQ clipboard.
|
||
|
|
||
|
%prep
|
||
|
%autosetup -n %{owner}-%{name}-%{shortcommit}
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
%make_install prefix=%{_prefix} sysconfdir=%{_sysconfdir}
|
||
|
|
||
|
%files
|
||
|
%license LICENSE.md
|
||
|
%doc README.md contributors.txt
|
||
|
%config(noreplace) %{_sysconfdir}/ykocli.conf
|
||
|
%{_bindir}/ykocli
|
||
|
%dir %{_libexecdir}/%{name}
|
||
|
%{_libexecdir}/%{name}/src-yko-set-colors.sh
|
||
|
%{_libexecdir}/%{name}/src-yko-ck-input.sh
|
||
|
%{_libexecdir}/%{name}/src-yko-figlet.sh
|
||
|
%{_libexecdir}/%{name}/src-yko-help.sh
|
||
|
%{_libexecdir}/%{name}/src-yko-time.sh
|
||
|
%{_mandir}/man1/ykocli.1*
|
||
|
|
||
|
%changelog
|
||
|
* Wed Nov 23 2022 Gerald Cox <gbcox@fedoraproject.org> - 1.0.1-1
|
||
|
- Fedora Review rhgz#2144611
|
||
|
|
||
|
* Mon Nov 21 2022 Gerald Cox <gbcox@fedoraproject.org> - 1.0.0-1
|
||
|
- Fedora Review rhbz#2144611
|