# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate yuvutils-rs Name: rust-yuvutils-rs Version: 0.8.1 Release: %autorelease Summary: High performance utilities for YUV format handling and conversion License: BSD-3-Clause OR Apache-2.0 URL: https://crates.io/crates/yuvutils-rs Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: High performance utilities for YUV format handling and conversion.} %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.md %license %{crate_instdir}/LICENSE.md %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CODE_OF_CONDUCT.md %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}+avx-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+avx-devel %{_description} This package contains library source intended for building other packages which use the "avx" feature of the "%{crate}" crate. %files -n %{name}+avx-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+big_endian-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+big_endian-devel %{_description} This package contains library source intended for building other packages which use the "big_endian" feature of the "%{crate}" crate. %files -n %{name}+big_endian-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fast_mode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fast_mode-devel %{_description} This package contains library source intended for building other packages which use the "fast_mode" feature of the "%{crate}" crate. %files -n %{name}+fast_mode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly_avx512-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly_avx512-devel %{_description} This package contains library source intended for building other packages which use the "nightly_avx512" feature of the "%{crate}" crate. %files -n %{name}+nightly_avx512-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly_f16-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly_f16-devel %{_description} This package contains library source intended for building other packages which use the "nightly_f16" feature of the "%{crate}" crate. %files -n %{name}+nightly_f16-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly_i8mm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly_i8mm-devel %{_description} This package contains library source intended for building other packages which use the "nightly_i8mm" feature of the "%{crate}" crate. %files -n %{name}+nightly_i8mm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+professional_mode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+professional_mode-devel %{_description} This package contains library source intended for building other packages which use the "professional_mode" feature of the "%{crate}" crate. %files -n %{name}+professional_mode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rayon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rayon-devel %{_description} This package contains library source intended for building other packages which use the "rayon" feature of the "%{crate}" crate. %files -n %{name}+rayon-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rdm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rdm-devel %{_description} This package contains library source intended for building other packages which use the "rdm" feature of the "%{crate}" crate. %files -n %{name}+rdm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rdp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rdp-devel %{_description} This package contains library source intended for building other packages which use the "rdp" feature of the "%{crate}" crate. %files -n %{name}+rdp-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sse-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sse-devel %{_description} This package contains library source intended for building other packages which use the "sse" feature of the "%{crate}" crate. %files -n %{name}+sse-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