## 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 25 %bcond_without check %global debug_package %{nil} %global crate pipewire Name: rust-pipewire Version: 0.7.2 Release: %autorelease Summary: Rust bindings for PipeWire License: MIT URL: https://crates.io/crates/pipewire Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * tighten libspa-sys, pipewire, pipewire-sys dependency from 0 to 0.7 Patch: pipewire-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings for PipeWire.} %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}+v0_3_32-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_32-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_32" feature of the "%{crate}" crate. %files -n %{name}+v0_3_32-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_33-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_33-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_33" feature of the "%{crate}" crate. %files -n %{name}+v0_3_33-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_34-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_34-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_34" feature of the "%{crate}" crate. %files -n %{name}+v0_3_34-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_39-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_39-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_39" feature of the "%{crate}" crate. %files -n %{name}+v0_3_39-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_40-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_40-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_40" feature of the "%{crate}" crate. %files -n %{name}+v0_3_40-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_41-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_41-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_41" feature of the "%{crate}" crate. %files -n %{name}+v0_3_41-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_43-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_43-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_43" feature of the "%{crate}" crate. %files -n %{name}+v0_3_43-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_44-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_44-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_44" feature of the "%{crate}" crate. %files -n %{name}+v0_3_44-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_45-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_45-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_45" feature of the "%{crate}" crate. %files -n %{name}+v0_3_45-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_53-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_53-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_53" feature of the "%{crate}" crate. %files -n %{name}+v0_3_53-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_57-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_57-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_57" feature of the "%{crate}" crate. %files -n %{name}+v0_3_57-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_64-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_64" feature of the "%{crate}" crate. %files -n %{name}+v0_3_64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_65-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_65-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_65" feature of the "%{crate}" crate. %files -n %{name}+v0_3_65-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_3_77-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_3_77-devel %{_description} This package contains library source intended for building other packages which use the "v0_3_77" feature of the "%{crate}" crate. %files -n %{name}+v0_3_77-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 14 2024 Michel Lind - 0.7.2-1 - Update to 0.7.2 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Feb 21 2023 Fabio Valentini - 0.6.0-1 - Update to version 0.6.0; Fixes RHBZ#2169169 * Sat Jan 21 2023 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Apr 21 2022 Michel Alexandre Salim - 0.5.0-2 - Ungate tests nwo that libspa is fixed * Thu Mar 31 2022 Michel Alexandre Salim - 0.5.0-1 - Update to 0.5.0 * Sat Feb 12 2022 Fabio Valentini - 0.4.1-4 - Add missing LICENSE file * Tue Feb 01 2022 Michel Alexandre Salim - 0.4.1-3 - Rework patches * Tue Feb 01 2022 Michel Alexandre Salim - 0.4.1-2 - Flip the test gating * Tue Feb 01 2022 Michel Alexandre Salim - 0.4.1-1 - Initial Fedora package ## END: Generated by rpmautospec