kubo/kubo.spec

38 lines
658 B
RPMSpec
Raw Normal View History

2022-08-31 21:07:39 +03:00
%define debug %nil
%define debug_package %nil
Name: kubo
2022-11-22 19:34:00 +03:00
Version: 0.17.0
2022-08-31 21:07:39 +03:00
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