Browse Source
Signed-off-by: pipelinebuilder_pel7ppc64bebuilder0 <pipelinebuilder@powerel.org>master
pipelinebuilder_pel7ppc64bebuilder0
5 years ago
1 changed files with 40 additions and 0 deletions
@ -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 |
||||||
|
|
Loading…
Reference in new issue