[packages/atlas-upload-cli: 1/3] new, version 0.2.0

glen glen at pld-linux.org
Tue Apr 21 06:43:32 CEST 2015


commit 2b549a48a2fce6b8dc8bfe8266d275c9ee2e7465
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 21 07:24:22 2015 +0300

    new, version 0.2.0

 atlas-upload-cli.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
---
diff --git a/atlas-upload-cli.spec b/atlas-upload-cli.spec
new file mode 100644
index 0000000..3a87479
--- /dev/null
+++ b/atlas-upload-cli.spec
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+Summary:	CLI to upload application code to Atlas
+Name:		atlas-upload-cli
+Version:	0.2.0
+Release:	1
+License:	MPL v2.0
+Group:		Applications/System
+Source0:	https://github.com/hashicorp/atlas-upload-cli/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	06fa00b9feb63b0a25e5331831b5b968
+URL:		https://github.com/hashicorp/atlas-upload-cli
+BuildRequires:	golang >= 1.2.1
+BuildRequires:	rpmbuild(macros) >= 1.228
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# binary stripped or something
+%define		_enable_debug_packages 0
+
+%description
+The Atlas Upload CLI is a lightweight command line interface for
+uploading application code to Atlas to kick off deployment processes.
+This is the CLI used to power the vagrant push command and other parts
+of Atlas Go with the Atlas strategy.
+
+It can also be downloaded and used externally with other systems (such
+as a CI service like Jenkins or Travis CI) to initiate Atlas-based
+deploys.
+
+%prep
+%setup -q
+
+# handle external deps:
+#package github.com/hashicorp/atlas-go/archive: cannot download, $GOPATH not set. For more details see: go help gopath
+#package github.com/hashicorp/atlas-go/v1: cannot download, $GOPATH not set. For more details see: go help gopath
+#package github.com/hashicorp/logutils: cannot download, $GOPATH not set. For more details see: go help gopath
+#package github.com/mitchellh/ioprogress: cannot download, $GOPATH not set. For more details see: go help gopath
+
+%build
+export GOPATH=$(pwd)/vendor
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p bin/atlas-upload $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md CHANGELOG.md LICENSE
+%attr(755,root,root) %{_bindir}/atlas-upload
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/atlas-upload-cli.git/commitdiff/ba85c2197a01f3ec94a9bd3cf3b87f893553720a



More information about the pld-cvs-commit mailing list