Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2022-08-31 21:07:39 +03:00
commit 587f47053f
2 changed files with 39 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
kubo-0.15.0.tar.gz: 0705c26a42363e8ae5a832393bb908c34f58b557

37
kubo.spec Normal file
View file

@ -0,0 +1,37 @@
%define debug %nil
%define debug_package %nil
Name: kubo
Version: 0.15.0
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
make build
upx cmd/ipfs/ipfs
%install
install -Dm0755 cmd/ipfs/ipfs %{buildroot}%{_bindir}/ipfs
%files
%doc README.md LICENSE*
%{_bindir}/ipfs