kubo/kubo.spec

38 lines
657 B
RPMSpec
Raw Permalink Normal View History

2022-08-31 21:07:39 +03:00
%define debug %nil
%define debug_package %nil
Name: kubo
2023-01-24 10:52:43 +03:00
Version: 0.18.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
2023-01-24 10:52:43 +03:00
Provides: ipfs
2022-08-31 21:07:39 +03:00
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