## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 %global major_version 0 %global minor_version 14 %global micro_version 1 %global goipath code.gitea.io/tea %global forgeurl https://gitea.com/gitea/tea/ %global tag v%{major_version}.%{minor_version}.%{micro_version} %define debug_package %{nil} Version: %{major_version}.%{minor_version}.%{micro_version} %gometa %global _docdir_fmt %{name} %global golicenses DCO LICENSE %global common_description %{expand: 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' } Name: tea Release: %autorelease Summary: The official CLI for Gitea URL: %{gourl} License: MIT Source0: %{gosource} BuildRequires: git make go-rpm-macros Requires: git %description %wordwrap -v common_description %gopkg %prep %goprep %build go mod vendor make %install install -D -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} install -D -m 644 contrib/autocomplete.sh $RPM_BUILD_ROOT%{bash_completions_dir}/%{name} install -D -m 644 contrib/autocomplete.zsh $RPM_BUILD_ROOT%{zsh_completions_dir}/_%{name} %check make test %files %license %{golicenses} %doc %{_bindir}/tea %{bash_completions_dir}/%{name} %{zsh_completions_dir}/_%{name} %changelog ## START: Generated by rpmautospec * Sat May 16 2026 Daniel Demus - 0.14.1-1 - Move specfile to root of git repo to enable rpmautospec to work * Tue Feb 28 2023 Louis Abel - 0.9.2-1 - Rebase to 0.9.2 * Wed Jan 11 2023 Louis Abel - 0.9.0-1 - Rebase to 0.9.0 * Fri Feb 11 2022 Louis Abel - 0.8.0-1 - Initial release of 0.8.0 for Fedora and Enterprise Linux ## END: Generated by rpmautospec