File terraform.spec of Package terraform

#
# spec file for package terraform
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           terraform
Version:        1.13.5
Release:        0
Group:          System/Management
Distribution:   %{_repository}
Summary:	Tool for building infrastructure safely and efficiently
License:        MPL-2.0
URL:            https://www.terraform.io/
Source0:        %{name}_%{version}_linux_amd64.zip
Requires(pre):  unzip


%description
Terraform is a tool for building, changing, and versioning infrastructure
safely and efficiently. Terraform can manage existing and popular service
providers as well as custom in-house solutions.

%prep
unzip %{SOURCE0}

%build

%install
install -D -m 0755 "%{name}" "%{buildroot}/%{_bindir}/%{name}"

%files
%defattr(-, root, root)
%{_bindir}/%{name}

%changelog

openSUSE Build Service is sponsored by