Initial import (#2244276)

epel9 imports/e9/rust-powerfmt-0.2.0-1.el9
Fabio Valentini 1 year ago
parent 510108b4fe
commit 6b7768bbac
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/powerfmt-0.2.0.crate

@ -1,3 +0,0 @@
# rust-powerfmt
The rust-powerfmt package

@ -0,0 +1,108 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate powerfmt
Name: rust-powerfmt
Version: 0.2.0
Release: %autorelease
Summary: Utilities for formatting values
License: MIT OR Apache-2.0
URL: https://crates.io/crates/powerfmt
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
`powerfmt` is a library that provides utilities for formatting values.
This crate makes it significantly easier to support filling to a
minimum width with alignment, avoid heap allocation, and avoid
repetitive calculations.}
%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
%package -n %{name}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+macros-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+macros-devel %{_description}
This package contains library source intended for building other packages which
use the "macros" feature of the "%{crate}" crate.
%files -n %{name}+macros-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-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,2 @@
[package]
summary = "Utilities for formatting values"

@ -0,0 +1 @@
SHA512 (powerfmt-0.2.0.crate) = 0623f92e4d6ab284b3f6dae58220d79d9185df4a738999d68040c50d72fe0380d70358cb622f079c629bab53bb03c6e085e165d5bddfbeea84245864fed90029
Loading…
Cancel
Save