## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 28 %bcond check 1 %global debug_package %{nil} %global crate ashpd Name: rust-ashpd Version: 0.13.11 Release: %autorelease Summary: XDG portals wrapper in Rust using zbus License: MIT URL: https://crates.io/crates/ashpd Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop example program that pulls in gstreamer bindings # * drop reis dev-dependency that is only used in one doctest # * allow quick-xml 0.40: # https://github.com/bilelmoussaoui/ashpd/commit/052cf051257411c0fbaed3af1b32acb1238f5ec7 Patch: ashpd-fix-metadata.diff # * Ignore one doctest that pulls in reis as an additional dev-dependency Patch10: 0001-Ignore-one-doctest-that-pulls-in-reis-as-an-addition.patch # * Prevent including README as Rust documentation: # this includes code that doesn't compile with default feature flags and # breaks building this crate in environments that don't install %%doc files Patch11: 0002-Prevent-including-README-as-Rust-documentation.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: XDG portals wrapper in Rust using zbus.} %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}/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}+account-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+account-devel %{_description} This package contains library source intended for building other packages which use the "account" feature of the "%{crate}" crate. %files -n %{name}+account-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-io-devel %{_description} This package contains library source intended for building other packages which use the "async-io" feature of the "%{crate}" crate. %files -n %{name}+async-io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+backend-devel %{_description} This package contains library source intended for building other packages which use the "backend" feature of the "%{crate}" crate. %files -n %{name}+backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+background-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+background-devel %{_description} This package contains library source intended for building other packages which use the "background" feature of the "%{crate}" crate. %files -n %{name}+background-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+camera-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+camera-devel %{_description} This package contains library source intended for building other packages which use the "camera" feature of the "%{crate}" crate. %files -n %{name}+camera-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+clipboard-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+clipboard-devel %{_description} This package contains library source intended for building other packages which use the "clipboard" feature of the "%{crate}" crate. %files -n %{name}+clipboard-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+documents-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+documents-devel %{_description} This package contains library source intended for building other packages which use the "documents" feature of the "%{crate}" crate. %files -n %{name}+documents-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dynamic_launcher-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dynamic_launcher-devel %{_description} This package contains library source intended for building other packages which use the "dynamic_launcher" feature of the "%{crate}" crate. %files -n %{name}+dynamic_launcher-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+email-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+email-devel %{_description} This package contains library source intended for building other packages which use the "email" feature of the "%{crate}" crate. %files -n %{name}+email-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+file_chooser-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+file_chooser-devel %{_description} This package contains library source intended for building other packages which use the "file_chooser" feature of the "%{crate}" crate. %files -n %{name}+file_chooser-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+flatpak-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+flatpak-devel %{_description} This package contains library source intended for building other packages which use the "flatpak" feature of the "%{crate}" crate. %files -n %{name}+flatpak-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+frontend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+frontend-devel %{_description} This package contains library source intended for building other packages which use the "frontend" feature of the "%{crate}" crate. %files -n %{name}+frontend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+game_mode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+game_mode-devel %{_description} This package contains library source intended for building other packages which use the "game_mode" feature of the "%{crate}" crate. %files -n %{name}+game_mode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gdk4wayland-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gdk4wayland-devel %{_description} This package contains library source intended for building other packages which use the "gdk4wayland" feature of the "%{crate}" crate. %files -n %{name}+gdk4wayland-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gdk4x11-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gdk4x11-devel %{_description} This package contains library source intended for building other packages which use the "gdk4x11" feature of the "%{crate}" crate. %files -n %{name}+gdk4x11-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glib-devel %{_description} This package contains library source intended for building other packages which use the "glib" feature of the "%{crate}" crate. %files -n %{name}+glib-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+global_shortcuts-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+global_shortcuts-devel %{_description} This package contains library source intended for building other packages which use the "global_shortcuts" feature of the "%{crate}" crate. %files -n %{name}+global_shortcuts-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk4-devel %{_description} This package contains library source intended for building other packages which use the "gtk4" feature of the "%{crate}" crate. %files -n %{name}+gtk4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk4_wayland-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk4_wayland-devel %{_description} This package contains library source intended for building other packages which use the "gtk4_wayland" feature of the "%{crate}" crate. %files -n %{name}+gtk4_wayland-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk4_x11-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk4_x11-devel %{_description} This package contains library source intended for building other packages which use the "gtk4_x11" feature of the "%{crate}" crate. %files -n %{name}+gtk4_x11-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+inhibit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+inhibit-devel %{_description} This package contains library source intended for building other packages which use the "inhibit" feature of the "%{crate}" crate. %files -n %{name}+inhibit-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+input_capture-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+input_capture-devel %{_description} This package contains library source intended for building other packages which use the "input_capture" feature of the "%{crate}" crate. %files -n %{name}+input_capture-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+location-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+location-devel %{_description} This package contains library source intended for building other packages which use the "location" feature of the "%{crate}" crate. %files -n %{name}+location-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+memory_monitor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+memory_monitor-devel %{_description} This package contains library source intended for building other packages which use the "memory_monitor" feature of the "%{crate}" crate. %files -n %{name}+memory_monitor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+network_monitor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+network_monitor-devel %{_description} This package contains library source intended for building other packages which use the "network_monitor" feature of the "%{crate}" crate. %files -n %{name}+network_monitor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+notification-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+notification-devel %{_description} This package contains library source intended for building other packages which use the "notification" feature of the "%{crate}" crate. %files -n %{name}+notification-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+open_uri-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+open_uri-devel %{_description} This package contains library source intended for building other packages which use the "open_uri" feature of the "%{crate}" crate. %files -n %{name}+open_uri-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pipewire-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pipewire-devel %{_description} This package contains library source intended for building other packages which use the "pipewire" feature of the "%{crate}" crate. %files -n %{name}+pipewire-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+power_profile_monitor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+power_profile_monitor-devel %{_description} This package contains library source intended for building other packages which use the "power_profile_monitor" feature of the "%{crate}" crate. %files -n %{name}+power_profile_monitor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+print-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+print-devel %{_description} This package contains library source intended for building other packages which use the "print" feature of the "%{crate}" crate. %files -n %{name}+print-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proxy_resolver-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proxy_resolver-devel %{_description} This package contains library source intended for building other packages which use the "proxy_resolver" feature of the "%{crate}" crate. %files -n %{name}+proxy_resolver-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+raw-window-handle-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+raw-window-handle-devel %{_description} This package contains library source intended for building other packages which use the "raw-window-handle" feature of the "%{crate}" crate. %files -n %{name}+raw-window-handle-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+raw_handle-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+raw_handle-devel %{_description} This package contains library source intended for building other packages which use the "raw_handle" feature of the "%{crate}" crate. %files -n %{name}+raw_handle-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+realtime-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+realtime-devel %{_description} This package contains library source intended for building other packages which use the "realtime" feature of the "%{crate}" crate. %files -n %{name}+realtime-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+remote_desktop-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+remote_desktop-devel %{_description} This package contains library source intended for building other packages which use the "remote_desktop" feature of the "%{crate}" crate. %files -n %{name}+remote_desktop-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+screencast-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+screencast-devel %{_description} This package contains library source intended for building other packages which use the "screencast" feature of the "%{crate}" crate. %files -n %{name}+screencast-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+screenshot-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+screenshot-devel %{_description} This package contains library source intended for building other packages which use the "screenshot" feature of the "%{crate}" crate. %files -n %{name}+screenshot-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+secret-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+secret-devel %{_description} This package contains library source intended for building other packages which use the "secret" feature of the "%{crate}" crate. %files -n %{name}+secret-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+settings-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+settings-devel %{_description} This package contains library source intended for building other packages which use the "settings" feature of the "%{crate}" crate. %files -n %{name}+settings-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}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+trash-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+trash-devel %{_description} This package contains library source intended for building other packages which use the "trash" feature of the "%{crate}" crate. %files -n %{name}+trash-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+usb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+usb-devel %{_description} This package contains library source intended for building other packages which use the "usb" feature of the "%{crate}" crate. %files -n %{name}+usb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wallpaper-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wallpaper-devel %{_description} This package contains library source intended for building other packages which use the "wallpaper" feature of the "%{crate}" crate. %files -n %{name}+wallpaper-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-devel %{_description} This package contains library source intended for building other packages which use the "wayland" feature of the "%{crate}" crate. %files -n %{name}+wayland-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-backend-devel %{_description} This package contains library source intended for building other packages which use the "wayland-backend" feature of the "%{crate}" crate. %files -n %{name}+wayland-backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-client-devel %{_description} This package contains library source intended for building other packages which use the "wayland-client" feature of the "%{crate}" crate. %files -n %{name}+wayland-client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-protocols-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-protocols-devel %{_description} This package contains library source intended for building other packages which use the "wayland-protocols" feature of the "%{crate}" crate. %files -n %{name}+wayland-protocols-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 # * skip a test that require data files not included in published crates %cargo_test -- -- --exact --skip tests::all_interfaces_have_implementations %endif %changelog ## START: Generated by rpmautospec * Mon Jun 08 2026 Benjamin A. Beasley - 0.13.11-1 - Update to version 0.13.11; Fixes RHBZ#2458492 * Mon Jun 08 2026 Benjamin A. Beasley - 0.13.9-2 - Allow quick-xml 0.40 * Tue Mar 24 2026 Fabio Valentini - 0.13.9-1 - Update to version 0.13.9; Fixes RHBZ#2447704 * Wed Mar 11 2026 Fabio Valentini - 0.13.5-1 - Update to version 0.13.5; Fixes RHBZ#2441655 * Sat Feb 14 2026 Fabio Valentini - 0.12.2-1 - Update to version 0.12.2; Fixes RHBZ#2439710 * Sat Jan 17 2026 Fedora Release Engineering - 0.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Jan 12 2026 Fabio Valentini - 0.12.1-1 - Update to version 0.12.1; Fixes RHBZ#2428485 * Tue Sep 02 2025 Fabio Valentini - 0.12.0-1 - Update to version 0.12.0; Fixes RHBZ#2390536 * Fri Jul 25 2025 Fedora Release Engineering - 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat Jul 19 2025 Fabio Valentini - 0.11.0-3 - Ship previously hidden wayland support feature * Fri Mar 14 2025 Fabio Valentini - 0.11.0-2 - Enable subpackages for raw_handle feature * Sat Mar 08 2025 Fabio Valentini - 0.11.0-1 - Update to version 0.11.0; Fixes RHBZ#2323141 * Thu Mar 06 2025 Fabio Valentini - 0.10.2-1 - Update to version 0.10.2 * Sun Jan 19 2025 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Oct 20 2024 Fabio Valentini - 0.9.2-1 - Update to version 0.9.2; Fixes RHBZ#2317553 * Sun Sep 15 2024 Fabio Valentini - 0.9.1-1 - Update to version 0.9.1; Fixes RHBZ#2297803 * Fri Jul 19 2024 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Mar 30 2024 Fabio Valentini - 0.8.1-1 - Update to version 0.8.1; Fixes RHBZ#2244118 * Wed Feb 28 2024 Fabio Valentini - 0.6.7-1 - Update to version 0.6.7 * Wed Feb 14 2024 Michel Lind - 0.6.2-4 - Rebuilt for pipewire 0.7 - Convert to rust2rpm.toml * Fri Jan 26 2024 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Oct 01 2023 Kalev Lember - 0.6.2-2 - Enable 'pipewire' and 'pw' features * Tue Sep 19 2023 Kalev Lember - 0.6.2-1 - Update to 0.6.2 (rhbz#2229421) * Fri Aug 11 2023 Kalev Lember - 0.5.0-1 - Update to 0.5.0 * Fri Jul 21 2023 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue May 02 2023 Kalev Lember - 0.4.0-1 - Initial Fedora packaging (rhbz#2184729) ## END: Generated by rpmautospec