Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2023-04-27 23:48:52 +03:00
commit 52b0112a4f
2 changed files with 37 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
terramate-0.2.18.tar.gz: ed2a0fb3aa9016fcc6d2bbea03c3ff3634150f33

35
terramate.spec Normal file
View file

@ -0,0 +1,35 @@
%define debug %nil
%define debug_package %nil
Name: terramate
Version: 0.2.18
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
%make build
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE
%{_bindir}/%{name}