## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 26 %bcond_without check %global debug_package %{nil} %global crate ashpd Name: rust-ashpd Version: 0.6.7 Release: %autorelease Summary: XDG portals wrapper in Rust using zbus License: MIT URL: https://crates.io/crates/ashpd Source: %{crates_source} 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}+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}+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}+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}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-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}+pw-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pw-devel %{_description} This package contains library source intended for building other packages which use the "pw" feature of the "%{crate}" crate. %files -n %{name}+pw-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 %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 * 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