kubo/kubo.spec
Your Name f792e712b3
All checks were successful
Run CI/CD... / main (push) Successful in 12m25s
0.33.2
2025-02-20 10:01:40 +00:00

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