Initial package (rhbz#2239512)

epel9 imports/e9/rust-gix-prompt-0.7.0-1.el9
blinxen 1 year ago
parent 7a2559c09c
commit 0d0c76debb

1
.gitignore vendored

@ -0,0 +1 @@
/gix-prompt-0.7.0.crate

@ -1,3 +0,0 @@
# rust-gix-prompt
The rust-gix-prompt package

@ -0,0 +1,71 @@
# Generated by rust2rpm 24
# * Drop tests because a dependency is not packaged yet
# * See https://bugzilla.redhat.com/show_bug.cgi?id=2216297
%bcond_with check
%global debug_package %{nil}
%global crate gix-prompt
Name: rust-gix-prompt
Version: 0.7.0
Release: %autorelease
Summary: Of the gitoxide project for handling prompts in the terminal
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-prompt
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A crate of the gitoxide project for handling prompts in the terminal.}
%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}/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
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (gix-prompt-0.7.0.crate) = 8ad2e4790c3b9d414102172b5958d28e3a2ead73909b923ccba5a3b38664f6bfb326d74be15c012db7a22cd579c915bb0356f2a5582970241d2a82fe97c38346
Loading…
Cancel
Save