Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:terraform
terraform-provider-susepubliccloud
terraform-provider-susepubliccloud.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File terraform-provider-susepubliccloud.spec of Package terraform-provider-susepubliccloud
# # spec file for package terraform-provider-susepubliccloud # # Copyright (c) 2020 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/ # %global provider github %global provider_tld com %global project terraform-providers %global repo terraform-provider-susepubliccloud %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} %global registry registry.terraform.io %global namespace hashicorp %global providername susepubliccloud %ifarch aarch64 %define terraformarch amd64 %endif %ifarch ppc64 %define terraformarch ppc64 %endif %ifarch ppc64le %define terraformarch ppc64le %endif %ifarch s390x %define terraformarch s390x %endif %ifarch %{ix86} %define terraformarch i386 %endif %ifarch x86_64 %define terraformarch amd64 %endif %if 0%{?suse_version} %{go_nostrip} %endif Name: terraform-provider-susepubliccloud Version: 0.0.4 Release: 0 Summary: Terraform provider for SUSE public cloud resources License: MPL-2.0 Group: System/Management URL: https://github.com/SUSE/terraform-provider-susepubliccloud Source: %{repo}-%{version}.tar.xz BuildRequires: golang(API) >= 1.12 BuildRequires: golang-packaging BuildRequires: xz Requires: terraform >= 0.11.0 %{go_provides} %description The purpose of this project is to define a set of data sources that make it easier to find the resources managed by SUSE on the different public clouds. The provider gathers data by accessing the public instance of "public-cloud-info-service" managed by SUSE. %prep %setup -q -n %{repo}-%{version} %build %{goprep} %{import_path} %make_build %install install -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name} ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}_v%{version} install -d 755 %{buildroot}%{_datadir}/terraform/providers/%{registry}/%{namespace}/%{providername}/%{version}/linux_%{terraformarch} ln -s %{_bindir}/%{name} %{buildroot}%{_datadir}/terraform/providers/%{registry}/%{namespace}/%{providername}/%{version}/linux_%{terraformarch}/%{name}_v%{version} %files %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}_v%{version} %{_datadir}/terraform %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor