Initial import (#2183742)

epel9
Fabio Valentini 2 years ago
parent 0f09095d25
commit 0a05d3fcec
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/clap_mangen-0.2.10.crate

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

@ -0,0 +1,82 @@
# Generated by rust2rpm 24
# * test sources are not included in published crates
%bcond_with check
%global debug_package %{nil}
%global crate clap_mangen
Name: rust-clap_mangen
Version: 0.2.10
Release: %autorelease
Summary: Manpage generator for clap
License: MIT OR Apache-2.0
URL: https://crates.io/crates/clap_mangen
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A manpage generator for clap.}
%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}+debug-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+debug-devel %{_description}
This package contains library source intended for building other packages which
use the "debug" feature of the "%{crate}" crate.
%files -n %{name}+debug-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 (clap_mangen-0.2.10.crate) = afe63fd15c4a4c55420559ed5b6166a9b4a90dc74ac2a2e87c6574cc735f8aeba31ad7b8c704cd5bac338c69a22d01eed1d274befe056c1da36c78098946452b
Loading…
Cancel
Save