You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-clap_builder/rust-clap_builder.spec

276 lines
7.4 KiB

# Generated by rust2rpm 27
# * test sources are not included in published crates
%bcond check 0
%global debug_package %{nil}
%global crate clap_builder
Name: rust-clap_builder
Version: 4.5.23
Release: %autorelease
Summary: Simple to use, efficient, and full-featured Command Line Argument Parser
License: MIT OR Apache-2.0
URL: https://crates.io/crates/clap_builder
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A simple to use, efficient, and full-featured Command Line Argument
Parser.}
%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}+cargo-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+cargo-devel %{_description}
This package contains library source intended for building other packages which
use the "cargo" feature of the "%{crate}" crate.
%files -n %{name}+cargo-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+color-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+color-devel %{_description}
This package contains library source intended for building other packages which
use the "color" feature of the "%{crate}" crate.
%files -n %{name}+color-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
%package -n %{name}+deprecated-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+deprecated-devel %{_description}
This package contains library source intended for building other packages which
use the "deprecated" feature of the "%{crate}" crate.
%files -n %{name}+deprecated-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+env-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+env-devel %{_description}
This package contains library source intended for building other packages which
use the "env" feature of the "%{crate}" crate.
%files -n %{name}+env-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+error-context-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+error-context-devel %{_description}
This package contains library source intended for building other packages which
use the "error-context" feature of the "%{crate}" crate.
%files -n %{name}+error-context-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+help-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+help-devel %{_description}
This package contains library source intended for building other packages which
use the "help" feature of the "%{crate}" crate.
%files -n %{name}+help-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+string-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+string-devel %{_description}
This package contains library source intended for building other packages which
use the "string" feature of the "%{crate}" crate.
%files -n %{name}+string-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+suggestions-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+suggestions-devel %{_description}
This package contains library source intended for building other packages which
use the "suggestions" feature of the "%{crate}" crate.
%files -n %{name}+suggestions-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unicode-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-devel %{_description}
This package contains library source intended for building other packages which
use the "unicode" feature of the "%{crate}" crate.
%files -n %{name}+unicode-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-doc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-doc-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable-doc" feature of the "%{crate}" crate.
%files -n %{name}+unstable-doc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-ext-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-ext-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable-ext" feature of the "%{crate}" crate.
%files -n %{name}+unstable-ext-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-styles-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-styles-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable-styles" feature of the "%{crate}" crate.
%files -n %{name}+unstable-styles-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-v5-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-v5-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable-v5" feature of the "%{crate}" crate.
%files -n %{name}+unstable-v5-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+usage-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+usage-devel %{_description}
This package contains library source intended for building other packages which
use the "usage" feature of the "%{crate}" crate.
%files -n %{name}+usage-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+wrap_help-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+wrap_help-devel %{_description}
This package contains library source intended for building other packages which
use the "wrap_help" feature of the "%{crate}" crate.
%files -n %{name}+wrap_help-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog