From dfa8b44178f831dedc2297bfbb259ec761130522 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:04:18 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.9.2-1mamba;Fri Dec 29 2023] --- README.md | 1 + gitea-tea.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 gitea-tea.spec diff --git a/README.md b/README.md index ae099e0..c23fdfd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # gitea-tea +A command line tool to interact with Gitea servers. diff --git a/gitea-tea.spec b/gitea-tea.spec new file mode 100644 index 0000000..293cf73 --- /dev/null +++ b/gitea-tea.spec @@ -0,0 +1,46 @@ +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 +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 0.9.2-1mamba +- package created using the webbuild interface