summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2018-08-13 21:45:56 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2018-08-13 21:45:56 +0000
commit49cceb1f20277fb4299f71f43876d0b2e56de945 (patch)
treeb2cbd56473ac707709a0cdfa9151ebdcd2ee227c
parent83fa4032894efbdac49dd296c56df737c0f1b556 (diff)
automatic import of terraform 0.11.7-1f28epel7
-rw-r--r--gpgkey-hashicorp.gpg30
-rw-r--r--terraform.spec79
-rw-r--r--terraform_0.11.7_SHA256SUMS12
-rw-r--r--terraform_0.11.7_SHA256SUMS.sigbin0 -> 287 bytes
4 files changed, 121 insertions, 0 deletions
diff --git a/gpgkey-hashicorp.gpg b/gpgkey-hashicorp.gpg
new file mode 100644
index 0000000..5364dee
--- /dev/null
+++ b/gpgkey-hashicorp.gpg
@@ -0,0 +1,30 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1
+
+mQENBFMORM0BCADBRyKO1MhCirazOSVwcfTr1xUxjPvfxD3hjUwHtjsOy/bT6p9f
+W2mRPfwnq2JB5As+paL3UGDsSRDnK9KAxQb0NNF4+eVhr/EJ18s3wwXXDMjpIifq
+fIm2WyH3G+aRLTLPIpscUNKDyxFOUbsmgXAmJ46Re1fn8uKxKRHbfa39aeuEYWFA
+3drdL1WoUngvED7f+RnKBK2G6ZEpO+LDovQk19xGjiMTtPJrjMjZJ3QXqPvx5wca
+KSZLr4lMTuoTI/ZXyZy5bD4tShiZz6KcyX27cD70q2iRcEZ0poLKHyEIDAi3TM5k
+SwbbWBFd5RNPOR0qzrb/0p9ksKK48IIfH2FvABEBAAG0K0hhc2hpQ29ycCBTZWN1
+cml0eSA8c2VjdXJpdHlAaGFzaGljb3JwLmNvbT6JATgEEwECACIFAlMORM0CGwMG
+CwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEFGFLYc0j/xMyWIIAIPhcVqiQ59n
+Jc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WBgz9zZO8/rHIiQm1J5zqz0DrDwKBUM9C
+=LYpS
+-----END PGP PUBLIC KEY BLOCK----- \ No newline at end of file
diff --git a/terraform.spec b/terraform.spec
new file mode 100644
index 0000000..42d2dac
--- /dev/null
+++ b/terraform.spec
@@ -0,0 +1,79 @@
+%global file() %%{name}_%%{version}_%%*
+%global mirror_url() https://releases.hashicorp.com/%%{name}/%%{version}/%%*
+%define undefined() %{expand:%%{?%{1}:0}%%{!?%{1}:1}}
+
+Name: terraform
+%if %{undefined bin_version}
+Version: 0.11.7
+%else
+Version: %{bin_version}
+%endif
+Release: 1
+Summary: 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.
+License: Mozilla Public License, version 2.0
+URL: https://www.terraform.io
+# Download this file from the terraform website
+# Ensure that you verify it with the hashicorp private key before allowing this to be built
+Source0: %{mirror_url %{file SHA256SUMS}}
+Source1: %{mirror_url %{file SHA256SUMS.sig}}
+Source2: gpgkey-hashicorp.gpg
+
+BuildRequires: coreutils gpg unzip
+ExclusiveArch: %{ix86} x86_64 ${arm} aarch64
+
+%prep
+# Converting key from ASCII armored format
+keyring=`mktemp --tmpdir keyring.XXXXXXXX.gpg`
+gpg --keyring "$keyring" --import %{SOURCE2}
+
+# Check signature
+gpg --keyring "$keyring" --verify %{SOURCE1} %{SOURCE0}
+
+# Cleanup
+rm -f "$keyring"
+
+%setup -c -T
+%global spec_build_dir %%{_builddir}/%%{name}-%%{version}
+cp -T %{_sourcedir}/%{file SHA256SUMS} %{spec_build_dir}/sha256sum.txt
+
+# Disable debugging for non-compiled package
+%global debug_package %{nil}
+
+%build
+%ifarch %{arm}
+%define bin_arch arm
+%endif
+%ifarch aarch64
+%define bin_arch arm64
+%endif
+%ifarch %{ix86}
+%define bin_arch 386
+%endif
+%ifarch x86_64
+%define bin_arch amd64
+%endif
+
+%define bin_zip %{file linux_%{bin_arch}.zip}
+cd %{spec_build_dir}
+curl -o ./%{bin_zip} -L %{mirror_url %{bin_zip}}
+sha256sum sha256sum.txt
+mkdir -p ./bin
+unzip ./%{bin_zip} -d ./bin/
+
+%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.
+
+Configuration files describe to Terraform the components needed to run a single application or your entire datacenter. Terraform generates an execution plan describing what it will do to reach the desired state, and then executes it to build the described infrastructure. As the configuration changes, Terraform is able to determine what changed and create incremental execution plans which can be applied.
+%install
+mkdir -p $RPM_BUILD_ROOT/%{_bindir}
+install %{spec_build_dir}/bin/* $RPM_BUILD_ROOT/%{_bindir}/
+
+%clean
+rm -rf
+
+%files
+%{_bindir}/*
+
+%changelog
+* Fri Oct 13 2017 Daniel Fallon <dfallon@dvtrading.co - 1.2.5
+- Initial version of the package \ No newline at end of file
diff --git a/terraform_0.11.7_SHA256SUMS b/terraform_0.11.7_SHA256SUMS
new file mode 100644
index 0000000..7112d57
--- /dev/null
+++ b/terraform_0.11.7_SHA256SUMS
@@ -0,0 +1,12 @@
+6514a8fe5a344c5b8819c7f32745cd571f58092ffc9bbe9ea3639799b97ced5f terraform_0.11.7_darwin_amd64.zip
+807e1c0001a3b066a35a78cfad4a4deccb825d2832e237ebfe0c819a6648b785 terraform_0.11.7_freebsd_386.zip
+8884917de66fde86937c45ad62e6f8c8dd4d0f05fba84ad2ecdf3e2be72ad851 terraform_0.11.7_freebsd_amd64.zip
+aaacf7fdaf2c64e43eee30b1d469302077bc66a0795f090336ea0ebf3e8fc430 terraform_0.11.7_freebsd_arm.zip
+62749ecc930dccc0469a32f652534a6647f52d7c0c924106e15491d518acc190 terraform_0.11.7_linux_386.zip
+6b8ce67647a59b2a3f70199c304abca0ddec0e49fd060944c26f666298e23418 terraform_0.11.7_linux_amd64.zip
+bd0bb7ede0864b7c71f0b575ba79f5ea5d656d8d22d554dadb544e781cf66788 terraform_0.11.7_linux_arm.zip
+01662c7c14aa414a81ce53044ec18f6fc0188965b7ad97155d4cea60fcf19518 terraform_0.11.7_openbsd_386.zip
+d1a115f78963f4d38192d23e686135c2a15c8cbe581cf2bead9322acc489770b terraform_0.11.7_openbsd_amd64.zip
+8403d87f17122bed8d0964dc73a546da2e100712924f69ef6129d0b6e378812e terraform_0.11.7_solaris_amd64.zip
+4e4b50de1143d72d348e6300d78aed596acae09714516d697bd4f0d9443aa7d3 terraform_0.11.7_windows_386.zip
+5fd003ef20f7a6a85ced4ad30bf95698afd4d0bfd477541583ff014e96026d6c terraform_0.11.7_windows_amd64.zip
diff --git a/terraform_0.11.7_SHA256SUMS.sig b/terraform_0.11.7_SHA256SUMS.sig
new file mode 100644
index 0000000..4897cec
--- /dev/null
+++ b/terraform_0.11.7_SHA256SUMS.sig
Binary files differ