# Generated by rust2rpm 28 %bcond check 0 %global debug_package %{nil} %global crate epaint Name: rust-epaint Version: 0.31.1 Release: %autorelease Summary: Minimal 2D graphics library for GUI work License: MIT OR Apache-2.0 URL: https://crates.io/crates/epaint Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: epaint-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Minimal 2D graphics library for GUI work.} %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 # FIXME: no license files detected %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}+_override_unity-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+_override_unity-devel %{_description} This package contains library source intended for building other packages which use the "_override_unity" feature of the "%{crate}" crate. %files -n %{name}+_override_unity-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytemuck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytemuck-devel %{_description} This package contains library source intended for building other packages which use the "bytemuck" feature of the "%{crate}" crate. %files -n %{name}+bytemuck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cint-devel %{_description} This package contains library source intended for building other packages which use the "cint" feature of the "%{crate}" crate. %files -n %{name}+cint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+color-hex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+color-hex-devel %{_description} This package contains library source intended for building other packages which use the "color-hex" feature of the "%{crate}" crate. %files -n %{name}+color-hex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+default_fonts-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default_fonts-devel %{_description} This package contains library source intended for building other packages which use the "default_fonts" feature of the "%{crate}" crate. %files -n %{name}+default_fonts-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}+epaint_default_fonts-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+epaint_default_fonts-devel %{_description} This package contains library source intended for building other packages which use the "epaint_default_fonts" feature of the "%{crate}" crate. %files -n %{name}+epaint_default_fonts-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mint-devel %{_description} This package contains library source intended for building other packages which use the "mint" feature of the "%{crate}" crate. %files -n %{name}+mint-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}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unity-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unity-devel %{_description} This package contains library source intended for building other packages which use the "unity" feature of the "%{crate}" crate. %files -n %{name}+unity-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