mirror of
https://abf.rosa.ru/djam/pulumi.git
synced 2025-02-23 09:12:50 +00:00
Imported from SRPM
This commit is contained in:
commit
8702db907a
2 changed files with 40 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
pulumi-3.10.3.tar.gz: 9d8336b308e83962f65500a84ab9d24533a4842d
|
38
pulumi.spec
Normal file
38
pulumi.spec
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
|
||||||
|
Name: pulumi
|
||||||
|
Version: 3.10.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Modern Infrastructure as Code
|
||||||
|
URL: https://www.pulumi.com
|
||||||
|
Source0: https://github.com/pulumi/pulumi/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: ASL 2.0
|
||||||
|
Group: Development/Other
|
||||||
|
BuildRequires: go >= 1.16
|
||||||
|
BuildRequires: git-core
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pulumi's Infrastructure as Code SDK is the easiest way to
|
||||||
|
create and deploy cloud software that use containers,
|
||||||
|
serverless functions, hosted services, and infrastructure,
|
||||||
|
on any cloud.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
pushd pkg
|
||||||
|
go mod download
|
||||||
|
go generate ./codegen/docs/gen.go
|
||||||
|
GO111MODULE=on go build "-buildmode=pie" -ldflags "-X github.com/pulumi/pulumi/pkg/v3/version.Version=%{version}" -o ../bin/%{name} ./cmd/pulumi
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
Loading…
Add table
Reference in a new issue