Files
gitea-runner-rpm/gitea-act-runner.spec
T
2025-01-22 11:30:15 +01:00

44 lines
886 B
RPMSpec

%global common_description %{expand:
A runner for Gitea based on act.}
%global debug_package %{nil}
%global golicenses LICENSE
%global godocs examples README.md
%global goipath gitea.com/gitea/act_runner
Name: gitea-act-runner
Version: 0.2.10
Release: %autorelease
Summary: A runner for Gitea based on act.
License: MIT
URL: https://gitea.com/gitea/act_runner
Source0: https://gitea.com/gitea/act_runner/archive/v%{version}.tar.gz
BuildRequires: go >= 1.22
BuildRequires: go-rpm-macros
%gometa -L -f -i
%description %{common_description}
%prep
%autosetup -C
%build
go build -o bin/act_runner %{goipath}
%install
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%changelog
%autochangelog