From 587f47053fe0e32c1cd6f476cc81cc7daf6067f8 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Wed, 31 Aug 2022 21:07:39 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ kubo.spec | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .abf.yml create mode 100644 kubo.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..15ee01c --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + kubo-0.15.0.tar.gz: 0705c26a42363e8ae5a832393bb908c34f58b557 diff --git a/kubo.spec b/kubo.spec new file mode 100644 index 0000000..418d10e --- /dev/null +++ b/kubo.spec @@ -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 +