28 lines
753 B
RPMSpec
28 lines
753 B
RPMSpec
Name: codex
|
|
Version: 0.141.0
|
|
Release: 1%{?dist}
|
|
Summary: OpenAI Codex command line interface
|
|
License: Apache-2.0
|
|
URL: https://github.com/openai/codex
|
|
Source0: https://github.com/openai/codex/releases/download/rust-v%{version}/codex-x86_64-unknown-linux-musl.tar.gz
|
|
Source1: https://raw.githubusercontent.com/openai/codex/rust-v%{version}/LICENSE
|
|
Requires: bubblewrap
|
|
ExclusiveArch: x86_64
|
|
%global debug_package %{nil}
|
|
|
|
%description
|
|
OpenAI Codex is a lightweight coding agent that runs in your terminal.
|
|
|
|
%prep
|
|
%autosetup -c
|
|
cp %{SOURCE1} LICENSE
|
|
|
|
%build
|
|
|
|
%install
|
|
install -Dm0755 codex-x86_64-unknown-linux-musl %{buildroot}%{_bindir}/codex
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_bindir}/codex
|