generated from demus/basic-rpm-template
Build and provide rpm of github-copilot-cli / Build and deploy an rpm to the demus.dk repo (f42) (release) Successful in 3m20s
Build and provide rpm of github-copilot-cli / Build and deploy an rpm to the demus.dk repo (f43) (release) Failing after 1m21s
Build and provide rpm of github-copilot-cli / Build and deploy an rpm to the demus.dk repo (f44) (release) Failing after 52s
Build and provide rpm of github-copilot-cli / Build and deploy an rpm to the demus.dk repo (rawhide) (release) Failing after 38s
[skip changelog]
45 lines
1.4 KiB
RPMSpec
45 lines
1.4 KiB
RPMSpec
%global debug_package %{nil}
|
|
%ifarch aarch64
|
|
%define dlarch arm64
|
|
%else
|
|
%define dlarch x64
|
|
%endif
|
|
|
|
Name: copilot-cli
|
|
Version: 1.0.20
|
|
Release: %autorelease
|
|
Summary: GitHub Copilot CLI
|
|
License: https://raw.githubusercontent.com/github/copilot-cli/refs/heads/main/LICENSE.md
|
|
URL: https://github.com/github/copilot-cli
|
|
Source0: https://github.com/github/copilot-cli/releases/download/v%{version}/copilot-linux-%{dlarch}.tar.gz
|
|
Source1: https://raw.githubusercontent.com/github/copilot-cli/refs/heads/main/LICENSE.md
|
|
Source2: https://raw.githubusercontent.com/github/copilot-cli/refs/heads/main/README.md
|
|
|
|
ExclusiveArch: x86_64 aarch64
|
|
|
|
%description
|
|
GitHub Copilot CLI brings AI-powered coding assistance directly to your command
|
|
line, enabling you to build, debug, and understand code through natural language
|
|
conversations. Powered by the same agentic harness as GitHub's Copilot coding
|
|
agent, it provides intelligent assistance while staying deeply integrated with
|
|
your GitHub workflow.
|
|
|
|
%prep
|
|
%setup -c -b0
|
|
|
|
%build
|
|
# nothing to do
|
|
|
|
%install
|
|
%{__install} -Dm755 copilot %{buildroot}%{_bindir}/copilot
|
|
%{__install} -Dm644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/README.md
|
|
%{__install} -Dm644 %{SOURCE2} %{buildroot}%{_licensedir}/%{name}/LICENSE.md
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE.md
|
|
%{_bindir}/copilot
|
|
|
|
%changelog
|
|
%autochangelog
|