generated from demus/basic-rpm-template
Build and provide rpm of gemini-cli-rpm / Build src rpm and send it to COPR (f42) (release) Successful in 6m49s
Build and provide rpm of gemini-cli-rpm / Build src rpm and send it to COPR (f43) (release) Successful in 10m26s
Build and provide rpm of gemini-cli-rpm / Build src rpm and send it to COPR (rawhide) (release) Successful in 4m47s
39 lines
1.1 KiB
RPMSpec
39 lines
1.1 KiB
RPMSpec
Name: gemini-cli
|
|
Version: 0.36.0
|
|
Release: %autorelease
|
|
Summary: Google Gemini CLI tool
|
|
|
|
License: Apache-2.0
|
|
URL: https://github.com/google-gemini/gemini-cli
|
|
Source0: https://registry.npmjs.org/@google/%{name}/-/%{name}-%{version}.tgz
|
|
|
|
BuildArch: noarch
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
Requires: nodejs
|
|
BuildRequires: nodejs-packaging
|
|
|
|
%description
|
|
CLI tool for interacting with Google's Gemini AI models from the command line.
|
|
|
|
%prep
|
|
%setup -q -n package
|
|
|
|
%build
|
|
# no build needed
|
|
%install
|
|
%{__install} -d %{buildroot}%{nodejs_sitelib}/%{name}/bundle %{buildroot}%{_bindir}
|
|
%{__install} package.json %{buildroot}%{nodejs_sitelib}/%{name}
|
|
%{__cp} -r bundle/* %{buildroot}%{nodejs_sitelib}/%{name}/bundle
|
|
%{__ln_s} -rf %{buildroot}%{nodejs_sitelib}/%{name}/bundle/gemini.js %{buildroot}%{_bindir}/gemini
|
|
find %{buildroot} -type f -printf /%%P\\n | grep -v /docs/ > gemini-cli-files.txt
|
|
|
|
%files -f gemini-cli-files.txt
|
|
%license LICENSE
|
|
%doc README.md
|
|
%doc %{nodejs_sitelib}/%{name}/bundle/docs
|
|
%dir %{nodejs_sitelib}/%{name}
|
|
%{_bindir}/gemini
|
|
|
|
%changelog
|
|
%autochangelog
|