Initial import (#2237910)

epel9 imports/e9/rust-color-print-0.3.5-1.el9
Fabio Valentini 1 year ago
parent 1bb53ff610
commit 68779df218
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/color-print-0.3.5.crate

@ -1,3 +0,0 @@
# rust-color-print
The rust-color-print package

@ -0,0 +1,106 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate color-print
Name: rust-color-print
Version: 0.3.5
Release: %autorelease
Summary: Colorize and stylize strings for terminal at compile-time, by using an HTML-like syntax
License: MIT OR Apache-2.0
URL: https://crates.io/crates/color-print
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Colorize and stylize strings for terminal at compile-time, by using an
HTML-like syntax.}
%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}+lazy_static-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lazy_static-devel %{_description}
This package contains library source intended for building other packages which
use the "lazy_static" feature of the "%{crate}" crate.
%files -n %{name}+lazy_static-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+terminfo-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+terminfo-devel %{_description}
This package contains library source intended for building other packages which
use the "terminfo" feature of the "%{crate}" crate.
%files -n %{name}+terminfo-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+terminfo_crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+terminfo_crate-devel %{_description}
This package contains library source intended for building other packages which
use the "terminfo_crate" feature of the "%{crate}" crate.
%files -n %{name}+terminfo_crate-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 (color-print-0.3.5.crate) = 79819069e71b120bf9f8bc42fa71d902f8dff569988ee4413454cea9b5500fc2c31a493b9fc28795b327e099c09109ff6336219c65c89ce87aea5507982a0a15
Loading…
Cancel
Save