## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: tty-copy Version: 0.2.2 Release: %autorelease Summary: Copy content to system clipboard via TTY and terminal using ANSI OSC52 sequence License: MIT URL: https://github.com/jirutka/tty-copy Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: asciidoctor BuildRequires: gcc BuildRequires: make %description tty-copy is a utility for copying content to the system clipboard from anywhere via a TTY and terminal using the ANSI OSC52 sequence. It works in any terminal session, whether local, remote (e.g. SSH), or even nested therein. %prep %autosetup -p1 %build %set_build_flags %make_build %install %make_install PREFIX=%{_prefix} %check # no test suite, so just smoke test it, as they do on CI %{buildroot}%{_bindir}/tty-copy -V %files %license LICENSE %doc README.adoc %{_bindir}/tty-copy %{_mandir}/man1/tty-copy.1* %changelog * Sat Jul 23 2022 Fedora Release Engineering 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Mar 22 2022 Miro HronĨok 0.2.2-1 - Initial package import, fixes: rhbz#2066755