## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 # TODO: Add the autocomplete scripts %global major_version 0 %global minor_version 12 %global micro_version 0 %define debug_package %{nil} Name: tea Version: %{major_version}.%{minor_version}.%{micro_version} Release: %autorelease Summary: The official CLI for Gitea License: MIT URL: https://gitea.com/gitea/tea Source0: https://gitea.com/gitea/tea/archive/v%{version}.tar.gz BuildRequires: go >= 1.25.0 BuildRequires: git BuildRequires: make BuildRequires: go-srpm-macros Requires: git %description Tea is the official CLI tool for Gitea. It can be used to manage most entities on one or more Gitea instances and provides local helpers like 'tea pull checkout' %prep %setup -q -n %{name} %build go mod vendor make %install install -D -m 755 tea $RPM_BUILD_ROOT%{_bindir}/tea %files %{_bindir}/tea %changelog ## START: Generated by rpmautospec * Fri Feb 20 2026 John Doe - 0.12.0-1 - Uncommitted changes ## END: Generated by rpmautospec