From b708dad0a985f896dae79ca39c32486abb2a4e9a Mon Sep 17 00:00:00 2001 From: Sergey Zhemoitel Date: Sun, 16 Feb 2020 21:30:11 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ gh.spec | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .abf.yml create mode 100644 gh.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..6dbba9a --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + gh-0.5.5.tar.gz: 53c1959214302c105024870bc1fd12f5c2863709 diff --git a/gh.spec b/gh.spec new file mode 100644 index 0000000..7c77014 --- /dev/null +++ b/gh.spec @@ -0,0 +1,33 @@ +%define debug %nil +%define debug_package %nil + + +Name: gh +Version: 0.5.5 +Release: 1 +Summary: github cli +URL: https://cli.github.com/ +Source0: https://github.com/cli/cli/archive/v%{version}/%{name}-%{version}.tar.gz +License: MIT +Group: Development/Other +BuildRequires: go > 1.10 + +%description +gh is GitHub on the command line, and it's now available +in beta. It brings pull requests, issues, and other GitHub +concepts to the terminal next to where you are already +2working with git and your code + +%prep +%setup -qn cli-%{version} + +%build +%make + +%install +install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name} + +%files +%doc README.md LICENSE +%{_bindir}/%{name} +