golang-gitea-actions-proto-rpm/golang-gitea-actions-proto.spec
2025-01-04 12:32:04 +01:00

61 lines
1.2 KiB
RPMSpec

# Generated by go2rpm 1.14.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://gitea.com/gitea/actions-proto-go
%global goipath code.gitea.io/actions-proto-go
%global forgeurl https://gitea.com/gitea/actions-proto-go
Version: 0.4.0
%global gosource %{forgeurl}/archive/v%{version}.tar.gz
%gometa -f -i
%global common_description %{expand:
# FIXME}
%global golicenses LICENSE
%global godocs README.md
Name: golang-gitea-actions-proto
Release: %autorelease
Summary: None
Provides: golang(code.gitea.io/actions-proto-go/ping/v1)
Provides: golang(code.gitea.io/actions-proto-go/runner/v1)
License: MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%godevelpkg
%prep
%goprep -A
%dnl %autopatch -p1
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog