Initial package (rhbz#2242617)

epel9 imports/e9/rust-termini-1.0.0-1.el9
blinxen 1 year ago
parent 0bbabf5620
commit 4a332dddea

1
.gitignore vendored

@ -0,0 +1 @@
/termini-1.0.0.crate

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

@ -0,0 +1,69 @@
# Generated by rust2rpm 24
# Deactivate tests because of missing files in the published crate
%bcond_with check
%global debug_package %{nil}
%global crate termini
Name: rust-termini
Version: 1.0.0
Release: %autorelease
Summary: Minimal terminfo libary
License: MIT
URL: https://crates.io/crates/termini
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Minimal terminfo libary.}
%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 (termini-1.0.0.crate) = 3296af101d3687d3863881e96e0344fa9ec6b14f997791cafef99616af646a71e2369fc3f08e40d08a0a7d25c01a9e17149291dc95ee210e37c501a087ae9f4d
Loading…
Cancel
Save