Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9 imports/e9/rust-print-positions-0.6.1-1.el9
Michel Alexandre Salim 2 years ago
parent ae3da3c6c3
commit aba67bc64d
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/print-positions-0.6.1.crate

@ -0,0 +1,72 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate print-positions
Name: rust-print-positions
Version: 0.6.1
Release: %autorelease
Summary: String segmentation library for grapheme clusters and ANSI escape sequences
License: MIT OR Apache-2.0
URL: https://crates.io/crates/print-positions
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A library providing string segmentation on grapheme clusters and ANSI
escape sequences for accurate length arithmetic based on visible print
positions.}
%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.txt
%license %{crate_instdir}/LICENSE-MIT.txt
%doc %{crate_instdir}/CHANGELOG.md
%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_no_tilde} -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 @@
SHA512 (print-positions-0.6.1.crate) = c6f3cf45093da391bd02ef312ea03f33fe04aeb001cf827e0c410924ad121e389f6664359a239ebe2ad2e65127b797f506ac017698e389c34085f0afe39ea66c
Loading…
Cancel
Save