mirror of
https://abf.rosa.ru/djam/kubo.git
synced 2025-02-22 23:02:49 +00:00
38 lines
705 B
RPMSpec
38 lines
705 B
RPMSpec
%define debug %nil
|
|
%define debug_package %nil
|
|
|
|
Name: kubo
|
|
Version: 0.33.2
|
|
Release: 1
|
|
Summary: IPFS implementation in Go
|
|
URL: https://ipfs.tech
|
|
Source0: https://github.com/ipfs/kubo/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
License: MIT & ASL 2.0
|
|
Group: Development/Other
|
|
Provides: ipfs
|
|
Conflicts: go-ipfs
|
|
Conflicts: ipfs < 0.15
|
|
BuildRequires: go
|
|
BuildRequires: git-core
|
|
BuildRequires: upx
|
|
|
|
%description
|
|
Kubo (go-ipfs) the earliest and most widely used
|
|
implementation of IPFS.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export GOPROXY=https://proxy.golang.org,direct
|
|
%make build
|
|
|
|
upx cmd/ipfs/ipfs
|
|
|
|
%install
|
|
install -Dm0755 cmd/ipfs/ipfs %{buildroot}%{_bindir}/ipfs
|
|
|
|
%files
|
|
%doc README.md LICENSE*
|
|
%{_bindir}/ipfs
|
|
|