# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate rfd Name: rust-rfd Version: 0.15.3 Release: %autorelease Summary: Rusty File Dialog License: MIT URL: https://crates.io/crates/rfd Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: rfd-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Temporarily downgrade pollster to 0.3 Patch: rfd-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rusty File Dialog.} %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 %doc %{crate_instdir}/CHANGELOG.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}+ashpd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ashpd-devel %{_description} This package contains library source intended for building other packages which use the "ashpd" feature of the "%{crate}" crate. %files -n %{name}+ashpd-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-std-devel %{_description} This package contains library source intended for building other packages which use the "async-std" feature of the "%{crate}" crate. %files -n %{name}+async-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+common-controls-v6-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+common-controls-v6-devel %{_description} This package contains library source intended for building other packages which use the "common-controls-v6" feature of the "%{crate}" crate. %files -n %{name}+common-controls-v6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+file-handle-inner-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+file-handle-inner-devel %{_description} This package contains library source intended for building other packages which use the "file-handle-inner" feature of the "%{crate}" crate. %files -n %{name}+file-handle-inner-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glib-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glib-sys-devel %{_description} This package contains library source intended for building other packages which use the "glib-sys" feature of the "%{crate}" crate. %files -n %{name}+glib-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gobject-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gobject-sys-devel %{_description} This package contains library source intended for building other packages which use the "gobject-sys" feature of the "%{crate}" crate. %files -n %{name}+gobject-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk-sys-devel %{_description} This package contains library source intended for building other packages which use the "gtk-sys" feature of the "%{crate}" crate. %files -n %{name}+gtk-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk3-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk3-devel %{_description} This package contains library source intended for building other packages which use the "gtk3" feature of the "%{crate}" crate. %files -n %{name}+gtk3-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pollster-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pollster-devel %{_description} This package contains library source intended for building other packages which use the "pollster" feature of the "%{crate}" crate. %files -n %{name}+pollster-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+urlencoding-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+urlencoding-devel %{_description} This package contains library source intended for building other packages which use the "urlencoding" feature of the "%{crate}" crate. %files -n %{name}+urlencoding-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xdg-portal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xdg-portal-devel %{_description} This package contains library source intended for building other packages which use the "xdg-portal" feature of the "%{crate}" crate. %files -n %{name}+xdg-portal-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