Initial import (#2183202)

epel10
Fabio Valentini 2 years ago
parent f1bca22f99
commit 4ca5ca0eef
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/anstyle-parse-0.1.1.crate

@ -1,3 +0,0 @@
# rust-anstyle-parse
The rust-anstyle-parse package

@ -0,0 +1,94 @@
# Generated by rust2rpm 24
# * missing dev-dependencies: codegenrs, snapbox
%bcond_with check
%global debug_package %{nil}
%global crate anstyle-parse
Name: rust-anstyle-parse
Version: 0.1.1
Release: %autorelease
Summary: Parse ANSI Style Escapes
License: MIT OR Apache-2.0
URL: https://crates.io/crates/anstyle-parse
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Parse ANSI Style Escapes.}
%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}+core-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+core-devel %{_description}
This package contains library source intended for building other packages which
use the "core" feature of the "%{crate}" crate.
%files -n %{name}+core-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+utf8-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+utf8-devel %{_description}
This package contains library source intended for building other packages which
use the "utf8" feature of the "%{crate}" crate.
%files -n %{name}+utf8-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 (anstyle-parse-0.1.1.crate) = 366fc0a5eb27744eac1f8cfc775734226e937ab5288e1401043d033eca046eeed6918362bc9c1e76f8b2f77ec85e7f0d9a0c801a4b36790f278d62a8fe1d417f
Loading…
Cancel
Save