## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate rfd Name: rust-rfd Version: 0.15.4 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 # * Drop unused support for GTK3 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}+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 ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 0.15.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Aug 27 2025 Fabio Valentini - 0.15.4-3 - Drop unused support for GTK3 * Fri Jul 25 2025 Fedora Release Engineering - 0.15.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat Jul 19 2025 Fabio Valentini - 0.15.4-1 - Update to version 0.15.4; Fixes RHBZ#2379714 * Sat Mar 15 2025 Davide Cavalca - 0.15.3-1 - Initial import; Fixes: RHBZ#2352665 ## END: Generated by rpmautospec