Mageia Bugzilla – Attachment 13607 Details for
Bug 30895
gh (github-cli) - The CLI for GitHub; NEW PKG REQUEST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
New proposal spec file
github-cli.spec (text/x-matlab), 1.35 KB, created by
Kristoffer Grundström
on 2022-12-28 02:41:00 CET
(
hide
)
Description:
New proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2022-12-28 02:41:00 CET
Size:
1.35 KB
patch
obsolete
>%global _missing_build_ids_terminate_build 0 >%global import_path github.com/cli/cli >%define sname cli >%define debug_package %{nil} >Name: github-cli >Version: 2.21.1 >Release: %mkrel 1 >Summary: GitHub's official command line tool >License: MIT >Group: Networking/Remote access >Url: https://github.com/cli/cli >Source: https://github.com/cli/cli/archive/%{sname}-%{version}.tar.gz >BuildRequires: golang > >%description >gh is GitHub on the command line. It brings pull requests, issues, and other >GitHub concepts to the terminal next to where you are already working with git >and your code. > >%prep >%setup -q -n %{sname}-%{version} > >%build >export GOFLAGS="${GOFLAGS-} -mod=mod" >make GH_VERSION="%version" bin/gh manpages >mkdir completions >bin/gh completion -s bash > completions/bash >bin/gh completion -s zsh > completions/zsh >bin/gh completion -s fish > completions/fish > >%install >install -Dm 755 bin/gh %buildroot/%_bindir/gh >install -Dm644 completions/bash %buildroot/%_datadir/bash-completion/completions/gh >install -Dm644 completions/zsh %buildroot/%_datadir/zsh/site-functions/_gh >install -Dm644 completions/fish %buildroot/%_datadir/fish/vendor_completions.d/gh.fish >cp -a share/man -T %buildroot/%_mandir > >%files >%_bindir/gh >%_datadir/bash-completion/completions/gh >%_datadir/zsh/site-functions/_gh >%_datadir/fish/vendor_completions.d/gh.fish >%_mandir/* >%doc *.md
%global _missing_build_ids_terminate_build 0 %global import_path github.com/cli/cli %define sname cli %define debug_package %{nil} Name: github-cli Version: 2.21.1 Release: %mkrel 1 Summary: GitHub's official command line tool License: MIT Group: Networking/Remote access Url: https://github.com/cli/cli Source: https://github.com/cli/cli/archive/%{sname}-%{version}.tar.gz BuildRequires: golang %description gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code. %prep %setup -q -n %{sname}-%{version} %build export GOFLAGS="${GOFLAGS-} -mod=mod" make GH_VERSION="%version" bin/gh manpages mkdir completions bin/gh completion -s bash > completions/bash bin/gh completion -s zsh > completions/zsh bin/gh completion -s fish > completions/fish %install install -Dm 755 bin/gh %buildroot/%_bindir/gh install -Dm644 completions/bash %buildroot/%_datadir/bash-completion/completions/gh install -Dm644 completions/zsh %buildroot/%_datadir/zsh/site-functions/_gh install -Dm644 completions/fish %buildroot/%_datadir/fish/vendor_completions.d/gh.fish cp -a share/man -T %buildroot/%_mandir %files %_bindir/gh %_datadir/bash-completion/completions/gh %_datadir/zsh/site-functions/_gh %_datadir/fish/vendor_completions.d/gh.fish %_mandir/* %doc *.md
View Attachment As Raw
Actions:
View
Attachments on
bug 30895
:
13401
| 13607