mirror of
https://abf.rosa.ru/djam/terramate.git
synced 2025-02-22 17:43:00 +00:00
38 lines
787 B
RPMSpec
38 lines
787 B
RPMSpec
%define debug %nil
|
|
%define debug_package %nil
|
|
|
|
|
|
Name: terramate
|
|
Version: 0.12.0
|
|
Release: 1
|
|
Summary: Terraform addons
|
|
URL: https://terramate.io
|
|
Source0: https://github.com/mineiros-io/terramate/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
License: ASL 2.0
|
|
Group: Development/Other
|
|
BuildRequires: go
|
|
BuildRequires: git-core
|
|
BuildRequires: upx
|
|
BuildRequires: make
|
|
BuildRequires: pkgconfig(openssl3.3)
|
|
|
|
%description
|
|
Terramate adds powerful capabilities such as code
|
|
generation, stacks, orchestration, change detection,
|
|
data sharing and more to Terraform.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export GOPROXY="https://proxy.golang.org/cached-only"
|
|
%make build
|
|
upx bin/%{name}
|
|
|
|
%install
|
|
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
%files
|
|
%doc README.md LICENSE
|
|
%{_bindir}/%{name}
|
|
|