diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7d557d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ykocli-fa77017fc78f.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..0e14b63 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ykocli-fa77017fc78f.tar.gz) = 957af5a289ed8b0d53f89233b903f4905b974b03cf3f49e9474c27ead58dc977c59668db34680e98243ea193f7611bf7c97955bbd9c7aa265582e9399b84c110 diff --git a/ykocli.rpmlintrc b/ykocli.rpmlintrc new file mode 100644 index 0000000..ca0dbdf --- /dev/null +++ b/ykocli.rpmlintrc @@ -0,0 +1,2 @@ +# SPELLING ERRORS +addFilter(r" spelling-error .* (Transcode|lossy|transcodes)") diff --git a/ykocli.spec b/ykocli.spec new file mode 100644 index 0000000..365b371 --- /dev/null +++ b/ykocli.spec @@ -0,0 +1,51 @@ +%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 - 1.0.1-1 +- Fedora Review rhgz#2144611 + +* Mon Nov 21 2022 Gerald Cox - 1.0.0-1 +- Fedora Review rhbz#2144611