## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec 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 ## START: Generated by rpmautospec * Mon Apr 06 2026 Daniel Demus - 0.36.0-3 - Mark files in the docs folder %%doc * Fri Nov 22 2024 Your Name - 0.17.1-1 - Initial package ## END: Generated by rpmautospec