Blame rust-clap.spec

30c7e66
# Generated by rust2rpm 26
067f9cb
# * test sources are not included in published crates
4e69951
%bcond_with check
317048d
%global debug_package %{nil}
317048d
30c7e66
# prevent executables from being installed
30c7e66
%global cargo_install_bin 0
30c7e66
317048d
%global crate clap
317048d
3e1694c
Name:           rust-clap
30c7e66
Version:        4.5.3
99b4e33
Release:        %autorelease
80783fe
Summary:        Simple to use, efficient, and full-featured Command Line Argument Parser
317048d
7830094
License:        MIT OR Apache-2.0
317048d
URL:            https://crates.io/crates/clap
7097cef
Source:         %{crates_source}
317048d
30c7e66
BuildRequires:  cargo-rpm-macros >= 26
317048d
80783fe
%global _description %{expand:
909e2eb
A simple to use, efficient, and full-featured Command Line Argument
909e2eb
Parser.}
6a5b0bb
6a5b0bb
%description %{_description}
317048d
317048d
%package        devel
317048d
Summary:        %{summary}
317048d
BuildArch:      noarch
317048d
6a5b0bb
%description    devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files          devel
0a59d8f
%license %{crate_instdir}/LICENSE-APACHE
0a59d8f
%license %{crate_instdir}/LICENSE-MIT
0a59d8f
%doc %{crate_instdir}/README.md
0a59d8f
%{crate_instdir}/
6a5b0bb
6a5b0bb
%package     -n %{name}+default-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+default-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "default" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+default-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
54a977c
%package     -n %{name}+cargo-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
54a977c
%description -n %{name}+cargo-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "cargo" feature of the "%{crate}" crate.
6a5b0bb
54a977c
%files       -n %{name}+cargo-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
6a5b0bb
%package     -n %{name}+color-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+color-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "color" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+color-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+debug-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+debug-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "debug" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+debug-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
7830094
%package     -n %{name}+deprecated-devel
7830094
Summary:        %{summary}
7830094
BuildArch:      noarch
7830094
7830094
%description -n %{name}+deprecated-devel %{_description}
7830094
7830094
This package contains library source intended for building other packages which
7830094
use the "deprecated" feature of the "%{crate}" crate.
7830094
7830094
%files       -n %{name}+deprecated-devel
7830094
%ghost %{crate_instdir}/Cargo.toml
7830094
54a977c
%package     -n %{name}+derive-devel
54a977c
Summary:        %{summary}
54a977c
BuildArch:      noarch
54a977c
54a977c
%description -n %{name}+derive-devel %{_description}
54a977c
4e69951
This package contains library source intended for building other packages which
4e69951
use the "derive" feature of the "%{crate}" crate.
54a977c
54a977c
%files       -n %{name}+derive-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
c89d3d6
%package     -n %{name}+env-devel
49f0406
Summary:        %{summary}
49f0406
BuildArch:      noarch
49f0406
c89d3d6
%description -n %{name}+env-devel %{_description}
49f0406
4e69951
This package contains library source intended for building other packages which
4e69951
use the "env" feature of the "%{crate}" crate.
49f0406
c89d3d6
%files       -n %{name}+env-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
49f0406
909e2eb
%package     -n %{name}+error-context-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
909e2eb
%description -n %{name}+error-context-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
909e2eb
use the "error-context" feature of the "%{crate}" crate.
6a5b0bb
909e2eb
%files       -n %{name}+error-context-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
909e2eb
%package     -n %{name}+help-devel
54a977c
Summary:        %{summary}
54a977c
BuildArch:      noarch
54a977c
909e2eb
%description -n %{name}+help-devel %{_description}
54a977c
4e69951
This package contains library source intended for building other packages which
909e2eb
use the "help" feature of the "%{crate}" crate.
54a977c
909e2eb
%files       -n %{name}+help-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
54a977c
%package     -n %{name}+std-devel
54a977c
Summary:        %{summary}
54a977c
BuildArch:      noarch
54a977c
54a977c
%description -n %{name}+std-devel %{_description}
54a977c
4e69951
This package contains library source intended for building other packages which
4e69951
use the "std" feature of the "%{crate}" crate.
54a977c
54a977c
%files       -n %{name}+std-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
909e2eb
%package     -n %{name}+string-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
909e2eb
%description -n %{name}+string-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
909e2eb
use the "string" feature of the "%{crate}" crate.
6a5b0bb
909e2eb
%files       -n %{name}+string-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+suggestions-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+suggestions-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "suggestions" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+suggestions-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
c89d3d6
%package     -n %{name}+unicode-devel
c89d3d6
Summary:        %{summary}
c89d3d6
BuildArch:      noarch
c89d3d6
c89d3d6
%description -n %{name}+unicode-devel %{_description}
c89d3d6
4e69951
This package contains library source intended for building other packages which
4e69951
use the "unicode" feature of the "%{crate}" crate.
c89d3d6
c89d3d6
%files       -n %{name}+unicode-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
c89d3d6
4e69951
%package     -n %{name}+unstable-doc-devel
4e69951
Summary:        %{summary}
4e69951
BuildArch:      noarch
4e69951
4e69951
%description -n %{name}+unstable-doc-devel %{_description}
4e69951
4e69951
This package contains library source intended for building other packages which
4e69951
use the "unstable-doc" feature of the "%{crate}" crate.
4e69951
4e69951
%files       -n %{name}+unstable-doc-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
4e69951
476d10d
%package     -n %{name}+unstable-styles-devel
476d10d
Summary:        %{summary}
476d10d
BuildArch:      noarch
476d10d
476d10d
%description -n %{name}+unstable-styles-devel %{_description}
476d10d
476d10d
This package contains library source intended for building other packages which
476d10d
use the "unstable-styles" feature of the "%{crate}" crate.
476d10d
476d10d
%files       -n %{name}+unstable-styles-devel
476d10d
%ghost %{crate_instdir}/Cargo.toml
476d10d
909e2eb
%package     -n %{name}+unstable-v5-devel
0a59d8f
Summary:        %{summary}
0a59d8f
BuildArch:      noarch
0a59d8f
909e2eb
%description -n %{name}+unstable-v5-devel %{_description}
0a59d8f
0a59d8f
This package contains library source intended for building other packages which
909e2eb
use the "unstable-v5" feature of the "%{crate}" crate.
0a59d8f
909e2eb
%files       -n %{name}+unstable-v5-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
909e2eb
%package     -n %{name}+usage-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
909e2eb
%description -n %{name}+usage-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
909e2eb
use the "usage" feature of the "%{crate}" crate.
6a5b0bb
909e2eb
%files       -n %{name}+usage-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
909e2eb
%package     -n %{name}+wrap_help-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
909e2eb
%description -n %{name}+wrap_help-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
909e2eb
use the "wrap_help" feature of the "%{crate}" crate.
6a5b0bb
909e2eb
%files       -n %{name}+wrap_help-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
317048d
317048d
%prep
20d6a84
%autosetup -n %{crate}-%{version} -p1
317048d
%cargo_prep
317048d
baf9bc6
%generate_buildrequires
baf9bc6
%cargo_generate_buildrequires
baf9bc6
317048d
%build
317048d
%cargo_build
317048d
317048d
%install
317048d
%cargo_install
317048d
317048d
%if %{with check}
317048d
%check
317048d
%cargo_test
317048d
%endif
317048d
317048d
%changelog
99b4e33
%autochangelog