# Generated by rust2rpm 27 # * test fixtures are not included in published crates %bcond check 0 %global debug_package %{nil} %global crate gufo Name: rust-gufo Version: 0.2.1 Release: %autorelease Summary: Gufo License: MPL-2.0 OR LGPL-2.1-or-later URL: https://crates.io/crates/gufo Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Gufo.} %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 %license %{crate_instdir}/LICENSE-LGPL-2.1 %license %{crate_instdir}/LICENSE-MPL-2.0 %{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}+all-image-formats-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+all-image-formats-devel %{_description} This package contains library source intended for building other packages which use the "all-image-formats" feature of the "%{crate}" crate. %files -n %{name}+all-image-formats-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+jpeg-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+jpeg-devel %{_description} This package contains library source intended for building other packages which use the "jpeg" feature of the "%{crate}" crate. %files -n %{name}+jpeg-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+png-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+png-devel %{_description} This package contains library source intended for building other packages which use the "png" feature of the "%{crate}" crate. %files -n %{name}+png-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tiff-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tiff-devel %{_description} This package contains library source intended for building other packages which use the "tiff" feature of the "%{crate}" crate. %files -n %{name}+tiff-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webp-devel %{_description} This package contains library source intended for building other packages which use the "webp" feature of the "%{crate}" crate. %files -n %{name}+webp-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