File rust-gix-features-0.39.spec of Package rust-gix-features-0.39

# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}

%global crate gix-features

Name:           rust-%{crate}-0.39
Version:        0.39.1
Release:        1%{?dist}
Summary:        Integrate various capabilities using compile-time feature flags

License:        MIT OR Apache-2.0
URL:            https://crates.io/crates/gix-features
Source:         https://crates.io/api/v1/crates/%crate/%version/download#/%crate-%version.crate

BuildRequires:  cargo-rpm-macros >= 24

%global _description %{expand:
A crate to integrate various capabilities using compile-time feature
flags.}

%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
%{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}+cache-efficiency-debug-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+cache-efficiency-debug-devel %{_description}

This package contains library source intended for building other packages which
use the "cache-efficiency-debug" feature of the "%{crate}" crate.

%files       -n %{name}+cache-efficiency-debug-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+crc32-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+crc32-devel %{_description}

This package contains library source intended for building other packages which
use the "crc32" feature of the "%{crate}" crate.

%files       -n %{name}+crc32-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+document-features-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+document-features-devel %{_description}

This package contains library source intended for building other packages which
use the "document-features" feature of the "%{crate}" crate.

%files       -n %{name}+document-features-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+fast-sha1-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+fast-sha1-devel %{_description}

This package contains library source intended for building other packages which
use the "fast-sha1" feature of the "%{crate}" crate.

%files       -n %{name}+fast-sha1-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+fs-read-dir-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+fs-read-dir-devel %{_description}

This package contains library source intended for building other packages which
use the "fs-read-dir" feature of the "%{crate}" crate.

%files       -n %{name}+fs-read-dir-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+fs-walkdir-parallel-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+fs-walkdir-parallel-devel %{_description}

This package contains library source intended for building other packages which
use the "fs-walkdir-parallel" feature of the "%{crate}" crate.

%files       -n %{name}+fs-walkdir-parallel-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+io-pipe-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+io-pipe-devel %{_description}

This package contains library source intended for building other packages which
use the "io-pipe" feature of the "%{crate}" crate.

%files       -n %{name}+io-pipe-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+once_cell-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+once_cell-devel %{_description}

This package contains library source intended for building other packages which
use the "once_cell" feature of the "%{crate}" crate.

%files       -n %{name}+once_cell-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+parallel-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+parallel-devel %{_description}

This package contains library source intended for building other packages which
use the "parallel" feature of the "%{crate}" crate.

%files       -n %{name}+parallel-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+prodash-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+prodash-devel %{_description}

This package contains library source intended for building other packages which
use the "prodash" feature of the "%{crate}" crate.

%files       -n %{name}+prodash-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+progress-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+progress-devel %{_description}

This package contains library source intended for building other packages which
use the "progress" feature of the "%{crate}" crate.

%files       -n %{name}+progress-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+progress-unit-bytes-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+progress-unit-bytes-devel %{_description}

This package contains library source intended for building other packages which
use the "progress-unit-bytes" feature of the "%{crate}" crate.

%files       -n %{name}+progress-unit-bytes-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+progress-unit-human-numbers-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+progress-unit-human-numbers-devel %{_description}

This package contains library source intended for building other packages which
use the "progress-unit-human-numbers" feature of the "%{crate}" crate.

%files       -n %{name}+progress-unit-human-numbers-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+rustsha1-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+rustsha1-devel %{_description}

This package contains library source intended for building other packages which
use the "rustsha1" feature of the "%{crate}" crate.

%files       -n %{name}+rustsha1-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+tracing-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+tracing-devel %{_description}

This package contains library source intended for building other packages which
use the "tracing" feature of the "%{crate}" crate.

%files       -n %{name}+tracing-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+tracing-detail-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+tracing-detail-devel %{_description}

This package contains library source intended for building other packages which
use the "tracing-detail" feature of the "%{crate}" crate.

%files       -n %{name}+tracing-detail-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+walkdir-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+walkdir-devel %{_description}

This package contains library source intended for building other packages which
use the "walkdir" feature of the "%{crate}" crate.

%files       -n %{name}+walkdir-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+zlib-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+zlib-devel %{_description}

This package contains library source intended for building other packages which
use the "zlib" feature of the "%{crate}" crate.

%files       -n %{name}+zlib-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+zlib-ng-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+zlib-ng-devel %{_description}

This package contains library source intended for building other packages which
use the "zlib-ng" feature of the "%{crate}" crate.

%files       -n %{name}+zlib-ng-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+zlib-rust-backend-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+zlib-rust-backend-devel %{_description}

This package contains library source intended for building other packages which
use the "zlib-rust-backend" feature of the "%{crate}" crate.

%files       -n %{name}+zlib-rust-backend-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+zlib-stock-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+zlib-stock-devel %{_description}

This package contains library source intended for building other packages which
use the "zlib-stock" feature of the "%{crate}" crate.

%files       -n %{name}+zlib-stock-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