Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:ipfs
gx
gx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gx.spec of Package gx
# # spec file for package gx # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define repo github.com/whyrusleeping/gx Name: gx Version: 0.14.1 Release: 0 Summary: Language-agnostic, universal package manager License: MIT Group: Productivity/Networking/Other URL: https://%{repo} Source0: https://%{repo}/archive/v%{version}.tar.gz Source1: gx-deps.tar.gz BuildRequires: go >= 1.11 %description gx is a packaging tool built around the distributed, content addressed filesystem IPFS. It aims to be flexible, powerful and simple. gx is Alpha Quality. It's not perfect yet, but it's proven dependable enough for managing dependencies in go-ipfs and ready for pioneering developers and early users to try out and explore. %prep %setup -q mkdir -p ../src/%{repo} mv * ../src/%{repo} mv ../src . tar xf %{S:1} %build export GOPATH="$(pwd)" export PATH=$PATH:"$(pwd)"/bin env cd src/%{repo} go build -buildmode=pie %install mkdir -p %{buildroot}%{_bindir} install -p -m 755 src/%{repo}/gx %{buildroot}%{_bindir} %files %{_bindir}/gx %license src/%{repo}/LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor