rust-ipfs/rust-ipfs.spec
Vladislav Tsarev d9523f5c15
Some checks failed
Rust IPFS / ${{ matrix.platform.name }} (map[cross:false host:ubuntu-latest name:ubuntu target:x86_64-unknown-linux-gnu], map[rust:stable]) (push) Failing after 22s
Rust IPFS / lint-rust (push) Failing after 20s
Rust IPFS / ${{ matrix.platform.name }} (map[cross:false host:macos-latest name:macos target:x86_64-apple-darwin], map[rust:stable]) (push) Has been cancelled
Rust IPFS / ${{ matrix.platform.name }} (map[cross:false host:windows-2019 name:windows target:x86_64-pc-windows-msvc], map[rust:stable]) (push) Has been cancelled
Rust IPFS / ci (push) Has been cancelled
update spec
2024-10-18 14:09:53 +03:00

37 lines
1.2 KiB
RPMSpec

Name: rust-ipfs
Version: 0.2.1
Release: alt1
Summary: The Interplanetary File System (IPFS), implemented in Rust
License: MIT
URL: https://github.com/rs-ipfs/rust-ipfs
Group: File tools
Source0: %name-%version.tar
Source1: %name-%version-vendor.tar
BuildRequires(pre): rpm-build-rust
BuildRequires: rust-cargo
BuildRequires: /proc
BuildRequires: protobuf-compiler
BuildRequires: libssl-devel
BuildRequires: zlib-devel
%description
This repository contains the crates for the IPFS core implementation which includes a blockstore, a libp2p integration which includes DHT content discovery and pubsub support, and HTTP API bindings. Our goal is to leverage both the unique properties of Rust to create powerful, performant software that works even in resource-constrained environments, while also maximizing interoperability with the other "flavors" of IPFS, namely JavaScript and Go.
%prep
%setup
%build
%rust_build --workspace
%install
install -Dm 755 "target/release/ipfs-http" "%buildroot%_bindir/ipfs-http"
%files
%doc *.md
%_bindir/*
%changelog
* Fri Oct 18 2024 Vladislav Tsarev <tsarevvv@altlinux.org> 0.2.1-alt1
- 0.2.1