Initial package (rhbz#2240680)

epel9 imports/e9/rust-unicode-general-category-0.6.0-1.el9
blinxen 1 year ago
parent 081a19ef8b
commit 7b5d5216cc

1
.gitignore vendored

@ -0,0 +1 @@
/unicode-general-category-0.6.0.crate

@ -1,3 +0,0 @@
# rust-unicode-general-category
The rust-unicode-general-category package

@ -0,0 +1,68 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate unicode-general-category
Name: rust-unicode-general-category
Version: 0.6.0
Release: %autorelease
Summary: Fast lookup of the Unicode General Category property for char
License: Apache-2.0
URL: https://crates.io/crates/unicode-general-category
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Fast lookup of the Unicode General Category property for char.}
%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
%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 (unicode-general-category-0.6.0.crate) = 3e4b50b64ce992fa488441105c1264ca84b1f09181e393dfb6843da2f6e2ec294024cf8b62161aa6e8757bedad360ef99b6ca838379c38fba8b08c5da9cce1d5
Loading…
Cancel
Save