Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
scaleway
scaleway-cli
scaleway-cli.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scaleway-cli.spec of Package scaleway-cli
%global gitrepo scaleway Name: scaleway-cli Version: 1.19 Release: 1%{?dist} License: MIT Summary: Interact with Scaleway API from the command line Url: https://github.com/%{gitrepo}/%{name} Source: https://github.com/%{gitrepo}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz ExclusiveArch: %{golang_arches} BuildRequires: compiler(golang) BuildRequires: golang >= 1.5.1 %description A command-line tool to manage Scaleway servers à-la-Docker. %prep %setup -q -n %{name}-%{version} mkdir -p _build/src/github.com/%{gitrepo} ln -s ../../../.. _build/src/github.com/%{gitrepo}/%{name} ln -s vendor src %build export GOPATH='%{_builddir}/%{?buildsubdir}/_build:%{_builddir}/%{?buildsubdir}:%{gopath}' %gobuild -o scw ./cmd/scw %install install -d %{buildroot}%{_bindir} install -p -m 0755 scw %{buildroot}%{_bindir}/scw %files %defattr(-,root,root) %doc README.md MAINTAINERS.md %license LICENSE.md %{_bindir}/scw
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor