Name: hushboard Version: 2021.03.17.git.c16611c539 Release: 1%{?dist} Summary: Mute your mic while you’re typing Group: applications/multimedia License: MIT URL: https://github.com/stuartlangridge/hushboard Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-setuptools %description Never listen to the thundering sounds of someone typing on a video call ever again! Well, nobody who talks to you will have to listen to it. If you don’t want to listen to it either, encourage your friends and colleagues to install Hushboard. While you’re typing, your mic is muted. When you stop, it unmutes again. That’s it. Hushboard. Sssshhhh. %prep %autosetup -c %build %py3_build sed -re 's!^(Icon=)\$\{SNAP\}/.*/([^/]+)[[:space:]]*$!\1\2!' \ -e 's!^(Categories=)(.*)$!\1AudioVideo;Audio;!' \ snap/gui/hushboard.desktop > hushboard.desktop %install %py3_install install -d ${RPM_BUILD_ROOT}%{_datadir}/applications install -m 644 %{name}.desktop ${RPM_BUILD_ROOT}%{_datadir}/applications/ install -d ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/scalable/apps install -m 644 %{name}/icons/%{name}.svg ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/scalable/apps/ %files %license LICENSE %doc README.md %{python3_sitelib}/* %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog * Sat Mar 12 2022 Philippe Troin - 2021.03.17.git.c16611c539-1 - Created.