Initial import (bitstream-io 1 compat package)

epel9 imports/e9/rust-bitstream-io1-1.10.0-1.el9
Fabio Valentini 1 year ago
parent 1a66b6cb01
commit eb49f60432
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/bitstream-io-1.10.0.crate

@ -1,3 +0,0 @@
# rust-bitstream-io1
The rust-bitstream-io1 package

@ -0,0 +1,71 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate bitstream-io
Name: rust-bitstream-io1
Version: 1.10.0
Release: %autorelease
Summary: Library for reading/writing un-aligned values from/to streams
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/bitstream-io
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Library for reading/writing un-aligned values from/to streams in big-
endian and little-endian formats.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1,4 @@
[package]
summary = "Library for reading/writing un-aligned values from/to streams"

@ -0,0 +1 @@
SHA512 (bitstream-io-1.10.0.crate) = 72c73231cc5169e602ad493fdd29e0f63f014f4760988bf6b4094d9492500043e0eda73e94c8add8333631c506f7106c8332ab4513ef851723cd8f162c1e2bfc
Loading…
Cancel
Save