# Generated by rust2rpm 28 %bcond check 0 %global debug_package %{nil} %global crate read-fonts Name: rust-read-fonts Version: 0.38.0 Release: %autorelease Summary: Reading OpenType font files License: MIT OR Apache-2.0 URL: https://crates.io/crates/read-fonts Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch0: read-fonts-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Reading OpenType font files.} %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}/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}+codegen_test-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+codegen_test-devel %{_description} This package contains library source intended for building other packages which use the "codegen_test" feature of the "%{crate}" crate. %files -n %{name}+codegen_test-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+experimental_traverse-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+experimental_traverse-devel %{_description} This package contains library source intended for building other packages which use the "experimental_traverse" feature of the "%{crate}" crate. %files -n %{name}+experimental_traverse-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ift-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ift-devel %{_description} This package contains library source intended for building other packages which use the "ift" feature of the "%{crate}" crate. %files -n %{name}+ift-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libm-devel %{_description} This package contains library source intended for building other packages which use the "libm" feature of the "%{crate}" crate. %files -n %{name}+libm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+scaler_test-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+scaler_test-devel %{_description} This package contains library source intended for building other packages which use the "scaler_test" feature of the "%{crate}" crate. %files -n %{name}+scaler_test-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}+spec_next-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+spec_next-devel %{_description} This package contains library source intended for building other packages which use the "spec_next" feature of the "%{crate}" crate. %files -n %{name}+spec_next-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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