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-gix-features/rust-gix-features.spec

288 lines
8.1 KiB

# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate gix-features
Name: rust-gix-features
Version: 0.30.0
Release: %autorelease
Summary: Integrate various capabilities using compile-time feature flags
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-features
Source: %{crates_source}
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
%doc %{crate_instdir}/CHANGELOG.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}+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-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}+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}+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-ng-compat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zlib-ng-compat-devel %{_description}
This package contains library source intended for building other packages which
use the "zlib-ng-compat" feature of the "%{crate}" crate.
%files -n %{name}+zlib-ng-compat-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_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