Name: passff-host Version: 1.2.3 Release: 1%{?dist} Summary: Host app for the WebExtension PassFF BuildArch: noarch License: GPL URL: https://github.com/passff/passff-host Source0: https://github.com/passff/passff-host/archive/refs/tags/%{version}/passff-host-%{version}.tar.gz Patch0: passff-host-destdir-support.patch BuildRequires: make BuildRequires: pass BuildRequires: python3 >= 3.5 Requires: pass Requires: python3 >= 3.5 %description %{summary} %package firefox Summary: %{summary} contains Firefox binaries Requires: %{name} == %{version} %description firefox %{summary} %package librewolf Summary: %{summary} contains Librewolf binaries Requires: %{name} == %{version} %description librewolf %{summary} %package chromium Summary: %{summary} contains Chromium binaries Requires: %{name} == %{version} %description chromium %{summary} %package chrome Summary: %{summary} contains Chrome binaries Requires: %{name} == %{version} %description chrome %{summary} %prep %autosetup -p1 %build %install for browser in firefox librewolf chrome chromium;do %make_install BROWSER=${browser} VERSION=%{version} done %check %files %license LICENSE %doc README.md %files firefox %defattr(-,root,root,-) %{_prefix}/lib/mozilla/native-messaging-hosts/* %files librewolf %defattr(-,root,root,-) %{_prefix}/lib/librewolf/native-messaging-hosts/* %files chromium %defattr(-,root,root,-) %{_sysconfdir}/chromium/native-messaging-hosts/* %files chrome %defattr(-,root,root,-) %{_sysconfdir}/opt/chrome/native-messaging-hosts/* %changelog * Thu Dec 16 2021 Jerzy Drożdż - 1.2.3-1 - Initial build