%global full_name zen-browser %global application_name zen %global debug_package %{nil} Name: zen-browser Version: 1.0.1.a.19 Release: 1%{?dist} Summary: Zen Browser License: MPLv2.0 URL: https://github.com/zen-browser/desktop Source0: https://github.com/ArchitektApx/zen-browser-arm64-copr/releases/download/1.0.1-a.19/zen.linux-generic.tar.bz2 Source1: %{full_name}.desktop Source2: policies.json Source3: %{full_name} ExclusiveArch: aarch64 Recommends: (plasma-browser-integration if plasma-workspace) Recommends: (gnome-browser-connector if gnome-shell) Requires(post): gtk-update-icon-cache %description This is a package of the Zen web browser for aarch64. Zen Browser is a fork of Firefox that aims to improve the browsing experience by focusing on a simple, performant, private and beautifully designed browser. Bugs related to Zen should be reported directly to the Zen Browser GitHub repo: Bugs related to this package should be reported at this Git project: %prep %setup -q -n %{application_name} %install %__rm -rf %{buildroot} %__install -d %{buildroot}{/opt/%{full_name},%{_bindir},%{_datadir}/applications,%{_datadir}/icons/hicolor/128x128/apps,%{_datadir}/icons/hicolor/64x64/apps,%{_datadir}/icons/hicolor/48x48/apps,%{_datadir}/icons/hicolor/32x32/apps,%{_datadir}/icons/hicolor/16x16/apps} %__cp -r * %{buildroot}/opt/%{full_name} %__install -D -m 0644 %{SOURCE1} -t %{buildroot}%{_datadir}/applications %__install -D -m 0444 %{SOURCE2} -t %{buildroot}/opt/%{full_name}/distribution %__install -D -m 0755 %{SOURCE3} -t %{buildroot}%{_bindir} %__ln_s ../../../../../../opt/%{full_name}/browser/chrome/icons/default/default128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{full_name}.png %__ln_s ../../../../../../opt/%{full_name}/browser/chrome/icons/default/default64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{full_name}.png %__ln_s ../../../../../../opt/%{full_name}/browser/chrome/icons/default/default48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{full_name}.png %__ln_s ../../../../../../opt/%{full_name}/browser/chrome/icons/default/default32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{full_name}.png %__ln_s ../../../../../../opt/%{full_name}/browser/chrome/icons/default/default16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{full_name}.png if [ -d /usr/share/hunspell ]; then ln -Tsf /usr/share/hunspell %{buildroot}/opt/%{full_name}/dictionaries; fi if [ -d /usr/share/hyphen ]; then ln -Tsf /usr/share/hyphen %{buildroot}/opt/%{full_name}/hyphenation; fi %post gtk-update-icon-cache -f -t %{_datadir}/icons/hicolor %files %{_datadir}/applications/%{full_name}.desktop %{_datadir}/icons/hicolor/128x128/apps/%{full_name}.png %{_datadir}/icons/hicolor/64x64/apps/%{full_name}.png %{_datadir}/icons/hicolor/48x48/apps/%{full_name}.png %{_datadir}/icons/hicolor/32x32/apps/%{full_name}.png %{_datadir}/icons/hicolor/16x16/apps/%{full_name}.png %{_bindir}/%{full_name} /opt/%{full_name} %changelog * Tue Nov 19 2024 ArchitektApx - 1.0.1.a.19 - Upstream: Fix: adjust vertical tab background opacity for improved visibility * Sat Nov 16 2024 ArchitektApx - 1.0.1.a.18 - Upstream: (style) Modify button active state to exclude workspace button - Inital arm64 build release