%global debug_package %{nil} Name: uke-control-microphone-rust-check Version: 1.0.0 Release: 1%{?dist} Summary: Uke Control native microphone module fixture License: MIT ExclusiveArch: aarch64 Source0: %{name}-%{version}.tar.gz BuildRequires: rust pipewire wireplumber BuildRequires: pkgconfig(wireplumber-0.5) pkgconfig(gobject-2.0) %description Exercises the native microphone policy through Fedora WirePlumber. %prep %autosetup sha256sum -c --strict inputs.sha256 %build rustc --edition=2021 --crate-type=cdylib -C opt-level=2 -C panic=abort wireplumber-microphone.rs -o libwireplumber-module-uke-microphone-policy.so %install install -Dm644 inputs.sha256 %{buildroot}%{_docdir}/%{name}/inputs.sha256 %check bash wireplumber-microphone.sh ./libwireplumber-module-uke-microphone-policy.so %{_libdir}/wireplumber-0.5 %files %license LICENSE %{_docdir}/%{name}/inputs.sha256