From e3f2dc64dfff481e0ff5bc1e8dfbfbec7ae48b02 Mon Sep 17 00:00:00 2001 From: pipelinebuilder_pel7ppc64bebuilder0 Date: Sun, 18 Aug 2019 22:26:24 +0200 Subject: [PATCH] cds package creation Signed-off-by: pipelinebuilder_pel7ppc64bebuilder0 --- SPECS/cds.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 SPECS/cds.spec diff --git a/SPECS/cds.spec b/SPECS/cds.spec new file mode 100644 index 0000000..00b063e --- /dev/null +++ b/SPECS/cds.spec @@ -0,0 +1,40 @@ +Name: cds +Version: 0.40.0 +Release: 1%{?dist} +Summary: Pipeline +Group: System/Pipeline +License: GPLv2 +URL: https://github.com/ovh/cds +BuildRequires: git +BuildRequires: golang +#Requires: + + +%description + + +%prep +%setup -q -T -c %{name}-%{version} +export GOPATH=`pwd` +mkdir -p src/github.com/ovh/ +cd src/github.com/ovh/ +git clone https://github.com/ovh/cds/ + + +%build +export GOPATH=`pwd` +export GEN_PATH="$GOPATH/src/github.com/ovh/cds/docs/content/docs/components" +cd src/github.com/ovh/cds/ +make -C cli/cdsctl +make + + +%install + + +%files + + + +%changelog +