Files
rpmspecs-tea/rpm/tea.spec
T
2022-02-11 22:55:48 -07:00

41 lines
925 B
RPMSpec

# TODO: Add the autocomplete scripts
%global major_version 0
%global minor_version 8
%global micro_version 0
%define debug_package %{nil}
Name: tea
Version: %{major_version}.%{minor_version}.%{micro_version}
Release: 1%{?dist}
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.16.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
make
%install
install -D -m 755 gitea $RPM_BUILD_ROOT%{_bindir}/tea
%files
%{_bindir}/tea
%changelog
* Fri Feb 11 2022 Louis Abel <tucklesepk@gmail.com> - 0.8.0-1
- Initial release of 0.8.0 for Fedora and Enterprise Linux