gitea-tea/gitea-tea.spec

47 lines
1.3 KiB
RPMSpec
Raw Normal View History

Name: gitea-tea
Version: 0.9.2
Release: 1mamba
Summary: A command line tool to interact with Gitea servers
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitea.com/gitea/tea
Source: https+git://gitea.com/gitea/tea.git/v%{version}/tea-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
A command line tool to interact with Gitea servers.
#% debug_package
%prep
%setup -q -n tea-%{version}
%build
make vendor
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 tea %{buildroot}%{_bindir}/gitea-cli
install -D -m0644 contrib/autocomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/gitea-cli
install -D -m0644 contrib/autocomplete.zsh %{buildroot}%{_datadir}/zsh/site-functions/_gitea-cli
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/gitea-cli
%{_datadir}/bash-completion/completions/gitea-cli
%{_datadir}/zsh/site-functions/_gitea-cli
%doc LICENSE
%changelog
* Fri Dec 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba
- package created using the webbuild interface