%global forgeurl https://github.com/rafaelmardojai/firefox-gnome-theme Version: 82 %forgemeta Name: firefox-gnome-theme Release: 1%{?dist} Summary: GNOME theme for Firefox License: Unlicense URL: %{forgeurl} Source0: %{forgesource} Source1: README.fedora Source2: firefox-gnome-theme-setup BuildArch: noarch %description This is a bunch of CSS code to make Firefox look closer to GNOME's native apps. %prep %forgeautosetup -p 1 cp %{S:1} . # update import path to reflect installation path sed -e 's|"theme/gnome-theme.css"|"/usr/share/firefox-gnome-theme/theme/gnome-theme.css"|' \ -i userChrome.css %install install -d -m 0755 %{buildroot}%{_datadir}/firefox-gnome-theme cp --recursive --preserve=mode,timestamps configuration theme userChrome.css %{buildroot}%{_datadir}/firefox-gnome-theme install -D -p -m 0755 %{S:2} %{buildroot}%{_bindir}/firefox-gnome-theme-setup %files %license LICENSE %doc README.fedora %{_datadir}/firefox-gnome-theme %{_bindir}/firefox-gnome-theme-setup %changelog * Tue Nov 10 2020 Carl George - 82-1 - Latest upstream * Mon Sep 21 2020 Carl George - 80-1 - Initial package