2023-04-27 23:48:52 +03:00
|
|
|
%define debug %nil
|
|
|
|
%define debug_package %nil
|
|
|
|
|
|
|
|
|
|
|
|
Name: terramate
|
2024-06-17 15:17:08 +00:00
|
|
|
Version: 0.9.0
|
2023-04-27 23:48:52 +03:00
|
|
|
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
|
|
|
|
|
|
|
|
%description
|
|
|
|
Terramate adds powerful capabilities such as code
|
|
|
|
generation, stacks, orchestration, change detection,
|
|
|
|
data sharing and more to Terraform.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-03-12 22:00:34 +00:00
|
|
|
export GOPROXY="https://proxy.golang.org/cached-only"
|
2023-04-27 23:48:52 +03:00
|
|
|
%make build
|
|
|
|
upx bin/%{name}
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md LICENSE
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|