]> git.pld-linux.org Git - packages/atlas-upload-cli.git/commitdiff
new, version 0.2.0
authorElan Ruusamäe <glen@delfi.ee>
Tue, 21 Apr 2015 04:24:22 +0000 (07:24 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 21 Apr 2015 04:26:30 +0000 (07:26 +0300)
atlas-upload-cli.spec [new file with mode: 0644]

diff --git a/atlas-upload-cli.spec b/atlas-upload-cli.spec
new file mode 100644 (file)
index 0000000..3a87479
--- /dev/null
@@ -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
This page took 0.134044 seconds and 4 git commands to generate.