# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate relm4-icons Name: rust-relm4-icons Version: 0.8.3 Release: %autorelease Summary: Icons for gtk-rs and Relm4 applications License: Apache-2.0 OR MIT URL: https://crates.io/crates/relm4-icons Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Icons for gtk-rs and Relm4 applications.} %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 %license %{crate_instdir}/icons/icon-development-kit/license-cc-symbolic.svg %license %{crate_instdir}/icons/icon-development-kit/license-copyleft-symbolic.svg %license %{crate_instdir}/icons/icon-development-kit/license-copyright-symbolic.svg %license %{crate_instdir}/icons/icon-development-kit/license-symbolic.svg %doc %{crate_instdir}/README.md %doc %{crate_instdir}/icons16.md %doc %{crate_instdir}/icons32.md %doc %{crate_instdir}/icons64.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}+all-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+all-devel %{_description} This package contains library source intended for building other packages which use the "all" feature of the "%{crate}" crate. %files -n %{name}+all-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fluent-system-icons-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fluent-system-icons-devel %{_description} This package contains library source intended for building other packages which use the "fluent-system-icons" feature of the "%{crate}" crate. %files -n %{name}+fluent-system-icons-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+icon-development-kit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+icon-development-kit-devel %{_description} This package contains library source intended for building other packages which use the "icon-development-kit" feature of the "%{crate}" crate. %files -n %{name}+icon-development-kit-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