mirror of
https://github.com/sneexy-boi/copr.git
synced 2025-07-07 08:05:29 +02:00
feat: add zen browser package
This commit is contained in:
parent
c0c552de07
commit
ca0ea6775a
6 changed files with 470 additions and 0 deletions
39
.forgejo/workflows/zen-browser-sync.yml
Normal file
39
.forgejo/workflows/zen-browser-sync.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Controls when the workflow will run
|
||||
on:
|
||||
# Run on commit
|
||||
push:
|
||||
# Triggers the workflow daily
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: docker
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: 'main'
|
||||
|
||||
- name: Gayify the commit
|
||||
run: |
|
||||
git config --local user.name "GayBot"
|
||||
git config --local user.email "the-rizzler@gyatt.com"
|
||||
|
||||
- name: Update zen-browser.spec
|
||||
run: |
|
||||
ZEN_VER=$(curl -s https://api.github.com/repos/zen-browser/desktop/releases | jq -r 'first(.[].tag_name | select(test("^[0-9]")))')
|
||||
sed -i '0,/Version:.*/s//Version: '$ZEN_VER'/' /workspace/sneexy/copr/zen-browser/zen-browser.spec
|
||||
|
||||
- name: Push updated version to the repository
|
||||
id: github-push
|
||||
run: |
|
||||
git config pull.rebase true
|
||||
git add .
|
||||
git diff-index --quiet HEAD || git commit -m "chore(zen-browser): Sync Zen version"
|
||||
git push
|
53
zen-browser/README.md
Normal file
53
zen-browser/README.md
Normal file
|
@ -0,0 +1,53 @@
|
|||
# Zen Browser
|
||||
|
||||
[](https://copr.fedorainfracloud.org/)
|
||||

|
||||
[](https://copr.fedorainfracloud.org/coprs/sneexy/zen-browser/package/zen-browser/)
|
||||
[](https://copr.fedorainfracloud.org/coprs/sneexy/zen-browser/package/zen-browser/)
|
||||
|
||||
Automatically (hopefully) updated spec files for the [Zen Browser](https://zen-browser.app/) packaged for Fedora. Forked from my [Floorp](https://copr.fedorainfracloud.org/coprs/sneexy/floorp) package, based on the works from [the4runner](https://github.com/the4runner/firefox-dev) and [LovecraftianGodsKiller](https://github.com/LovecraftianGodsKiller/floorp). The Copr repo for this package [can be located here](https://copr.fedorainfracloud.org/coprs/sneexy/zen-browser).
|
||||
|
||||
If you have any issues with the package itself, feel free to report but I may not be able to fix it as this is my first time managing a package such as this. Feel free to contribute if you'd like if you can fix any issues yourself!
|
||||
|
||||
## ⚠️ Special Note
|
||||
This is just an RPM packaging for the said software and does not include any licenses of its own. The only additional file included is the `.desktop` file written based on the original executable from the Firefox Release Channel (default).
|
||||
|
||||
## About the Application
|
||||
This is a package of the Zen web browser. 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:
|
||||
<https://github.com/zen-browser/desktop/issues>
|
||||
|
||||
Bugs related to this package should be reported at this Git project:
|
||||
<https://git.gay/sneexy/copr/>
|
||||
|
||||
## Installation Instructions
|
||||
1. Enable `sneexy/zen-browser` [Copr](https://copr.fedorainfracloud.org/) repository according to your package manager.
|
||||
|
||||
```Shell
|
||||
# If you are using dnf... (you need to have 'dnf-plugins-core' installed)
|
||||
sudo dnf copr enable sneexy/zen-browser
|
||||
|
||||
# If you are using yum... (you need to have 'yum-plugins-copr' installed)
|
||||
sudo yum copr enable sneexy/zen-browser
|
||||
```
|
||||
|
||||
2. (Optional) Update your package list.
|
||||
|
||||
```Shell
|
||||
sudo dnf check-update
|
||||
```
|
||||
|
||||
3. Execute the following command to install the package.
|
||||
|
||||
```Shell
|
||||
sudo dnf install zen-browser
|
||||
```
|
||||
|
||||
4. Launch the application from the Application Menu or execute following command in terminal.
|
||||
|
||||
```Shell
|
||||
zen-browser
|
||||
```
|
6
zen-browser/policies.json
Normal file
6
zen-browser/policies.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"policies": {
|
||||
"DisableAppUpdate": true
|
||||
}
|
||||
}
|
||||
|
18
zen-browser/zen-browser
Normal file
18
zen-browser/zen-browser
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
[ -z "$MOZ_DISABLE_WAYLAND" ] && { [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] && [ -n "$WAYLAND_DISPLAY" ] || [ "$XDG_SESSION_TYPE" = "wayland" ]; } && export MOZ_ENABLE_WAYLAND=1 && export MOZ_DBUS_REMOTE=1
|
||||
|
||||
if [ "$XDG_CURRENT_DESKTOP" = "KDE" ] && [ ! -e "${HOME}/.zen/native-messaging-hosts/org.kde.plasma.browser_integration.json" ]; then
|
||||
mkdir -p "${HOME}/.zen/native-messaging-hosts"
|
||||
[ -r /usr/lib64/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json ] && ln -s /usr/lib64/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json "${HOME}/.zen/native-messaging-hosts/org.kde.plasma.browser_integration.json"
|
||||
fi
|
||||
|
||||
if [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] && { [ ! -e "${HOME}/.zen/native-messaging-hosts/org.gnome.browser_connector.json" ] || [ ! -e "${HOME}/.zen/native-messaging-hosts/org.gnome.chrome_gnome_shell.json" ]; }; then
|
||||
mkdir -p "${HOME}/.zen/native-messaging-hosts"
|
||||
[ -r /usr/lib64/mozilla/native-messaging-hosts/org.gnome.browser_connector.json ] && ln -s /usr/lib64/mozilla/native-messaging-hosts/org.gnome.browser_connector.json "${HOME}/.zen/native-messaging-hosts/org.gnome.browser_connector.json"
|
||||
[ -r /usr/lib64/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json ] && ln -s /usr/lib64/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json "${HOME}/.zen/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"
|
||||
fi
|
||||
|
||||
export MOZ_APP_LAUNCHER="$0"
|
||||
|
||||
exec /opt/zen/zen "$@"
|
277
zen-browser/zen-browser.desktop
Normal file
277
zen-browser/zen-browser.desktop
Normal file
|
@ -0,0 +1,277 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Zen Browser
|
||||
GenericName=Web Browser
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=Webový prohlížeč
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[fa]=مرورگر اینترنتی
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[it]=Browser Web
|
||||
GenericName[ja]=ウェブ・ブラウザ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[nn]=Nettlesar
|
||||
GenericName[no]=Nettleser
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador Web
|
||||
GenericName[sk]=Internetový prehliadač
|
||||
GenericName[sv]=Webbläsare
|
||||
Comment=Browse the Web
|
||||
Comment[ca]=Navegueu per el web
|
||||
Comment[cs]=Prohlížení stránek World Wide Webu
|
||||
Comment[de]=Im Internet surfen
|
||||
Comment[es]=Navegue por la web
|
||||
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
|
||||
Comment[fi]=Selaa Internetin WWW-sivuja
|
||||
Comment[fr]=Navigue sur Internet
|
||||
Comment[hu]=A világháló böngészése
|
||||
Comment[it]=Esplora il web
|
||||
Comment[ja]=ウェブを閲覧します
|
||||
Comment[ko]=웹을 돌아 다닙니다
|
||||
Comment[nb]=Surf på nettet
|
||||
Comment[nl]=Verken het internet
|
||||
Comment[nn]=Surf på nettet
|
||||
Comment[no]=Surf på nettet
|
||||
Comment[pl]=Przeglądanie stron WWW
|
||||
Comment[pt]=Navegue na Internet
|
||||
Comment[pt_BR]=Navegue na Internet
|
||||
Comment[sk]=Prehliadanie internetu
|
||||
Comment[sv]=Surfa på webben
|
||||
Exec=zen-browser %u
|
||||
StartupWMClass=Zen Browser
|
||||
Icon=zen-browser
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
StartupNotify=true
|
||||
Keywords=web;browser;internet;
|
||||
Actions=new-window;new-private-window;profile-manager-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
Name[ach]=Dirica manyen
|
||||
Name[af]=Nuwe venster
|
||||
Name[an]=Nueva finestra
|
||||
Name[ar]=نافذة جديدة
|
||||
Name[as]=নতুন উইন্ডো
|
||||
Name[ast]=Ventana nueva
|
||||
Name[az]=Yeni Pəncərə
|
||||
Name[be]=Новае акно
|
||||
Name[bg]=Нов прозорец
|
||||
Name[bn_BD]=নতুন উইন্ডো (N)
|
||||
Name[bn_IN]=নতুন উইন্ডো
|
||||
Name[br]=Prenestr nevez
|
||||
Name[brx]=गोदान उइन्ड'(N)
|
||||
Name[bs]=Novi prozor
|
||||
Name[ca]=Finestra nova
|
||||
Name[cak]=K'ak'a' tzuwäch
|
||||
Name[cs]=Nové okno
|
||||
Name[cy]=Ffenestr Newydd
|
||||
Name[da]=Nyt vindue
|
||||
Name[de]=Neues Fenster
|
||||
Name[dsb]=Nowe wokno
|
||||
Name[el]=Νέο παράθυρο
|
||||
Name[en_GB]=New Window
|
||||
Name[en_US]=New Window
|
||||
Name[en_ZA]=New Window
|
||||
Name[eo]=Nova fenestro
|
||||
Name[es_AR]=Nueva ventana
|
||||
Name[es_CL]=Nueva ventana
|
||||
Name[es_ES]=Nueva ventana
|
||||
Name[es_MX]=Nueva ventana
|
||||
Name[et]=Uus aken
|
||||
Name[eu]=Leiho berria
|
||||
Name[fa]=پنجره جدید
|
||||
Name[ff]=Henorde Hesere
|
||||
Name[fi]=Uusi ikkuna
|
||||
Name[fr]=Nouvelle fenêtre
|
||||
Name[fy_NL]=Nij finster
|
||||
Name[ga_IE]=Fuinneog Nua
|
||||
Name[gd]=Uinneag ùr
|
||||
Name[gl]=Nova xanela
|
||||
Name[gn]=Ovetã pyahu
|
||||
Name[gu_IN]=નવી વિન્ડો
|
||||
Name[he]=חלון חדש
|
||||
Name[hi_IN]=नया विंडो
|
||||
Name[hr]=Novi prozor
|
||||
Name[hsb]=Nowe wokno
|
||||
Name[hu]=Új ablak
|
||||
Name[hy_AM]=Նոր Պատուհան
|
||||
Name[id]=Jendela Baru
|
||||
Name[is]=Nýr gluggi
|
||||
Name[it]=Nuova finestra
|
||||
Name[ja]=新しいウィンドウ
|
||||
Name[ja_JP-mac]=新規ウインドウ
|
||||
Name[ka]=ახალი ფანჯარა
|
||||
Name[kk]=Жаңа терезе
|
||||
Name[km]=បង្អួចថ្មី
|
||||
Name[kn]=ಹೊಸ ಕಿಟಕಿ
|
||||
Name[ko]=새 창
|
||||
Name[kok]=नवें जनेल
|
||||
Name[ks]=نئئ وِنڈو
|
||||
Name[lij]=Neuvo barcon
|
||||
Name[lo]=ຫນ້າຕ່າງໃຫມ່
|
||||
Name[lt]=Naujas langas
|
||||
Name[ltg]=Jauns lūgs
|
||||
Name[lv]=Jauns logs
|
||||
Name[mai]=नव विंडो
|
||||
Name[mk]=Нов прозорец
|
||||
Name[ml]=പുതിയ ജാലകം
|
||||
Name[mr]=नवीन पटल
|
||||
Name[ms]=Tetingkap Baru
|
||||
Name[my]=ဝင်းဒိုးအသစ်
|
||||
Name[nb_NO]=Nytt vindu
|
||||
Name[ne_NP]=नयाँ सञ्झ्याल
|
||||
Name[nl]=Nieuw venster
|
||||
Name[nn_NO]=Nytt vindauge
|
||||
Name[or]=ନୂତନ ୱିଣ୍ଡୋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno
|
||||
Name[pt_BR]=Nova janela
|
||||
Name[pt_PT]=Nova janela
|
||||
Name[rm]=Nova fanestra
|
||||
Name[ro]=Fereastră nouă
|
||||
Name[ru]=Новое окно
|
||||
Name[sat]=नावा विंडो (N)
|
||||
Name[si]=නව කවුළුවක්
|
||||
Name[sk]=Nové okno
|
||||
Name[sl]=Novo okno
|
||||
Name[son]=Zanfun taaga
|
||||
Name[sq]=Dritare e Re
|
||||
Name[sr]=Нови прозор
|
||||
Name[sv_SE]=Nytt fönster
|
||||
Name[ta]=புதிய சாளரம்
|
||||
Name[te]=కొత్త విండో
|
||||
Name[th]=หน้าต่างใหม่
|
||||
Name[tr]=Yeni pencere
|
||||
Name[tsz]=Eraatarakua jimpani
|
||||
Name[uk]=Нове вікно
|
||||
Name[ur]=نیا دریچہ
|
||||
Name[uz]=Yangi oyna
|
||||
Name[vi]=Cửa sổ mới
|
||||
Name[wo]=Palanteer bu bees
|
||||
Name[xh]=Ifestile entsha
|
||||
Name[zh_CN]=新建窗口
|
||||
Name[zh_TW]=開新視窗
|
||||
Exec=zen-browser --new-window %u
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
Name=Open a New Private Window
|
||||
Name[ach]=Dirica manyen me mung
|
||||
Name[af]=Nuwe privaatvenster
|
||||
Name[an]=Nueva finestra privada
|
||||
Name[ar]=نافذة خاصة جديدة
|
||||
Name[as]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[ast]=Ventana privada nueva
|
||||
Name[az]=Yeni Məxfi Pəncərə
|
||||
Name[be]=Новае акно адасаблення
|
||||
Name[bg]=Нов прозорец за поверително сърфиране
|
||||
Name[bn_BD]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[bn_IN]=নতুন ব্যক্তিগত উইন্ডো
|
||||
Name[br]=Prenestr merdeiñ prevez nevez
|
||||
Name[brx]=गोदान प्राइभेट उइन्ड'
|
||||
Name[bs]=Novi privatni prozor
|
||||
Name[ca]=Finestra privada nova
|
||||
Name[cak]=K'ak'a' ichinan tzuwäch
|
||||
Name[cs]=Nové anonymní okno
|
||||
Name[cy]=Ffenestr Breifat Newydd
|
||||
Name[da]=Nyt privat vindue
|
||||
Name[de]=Neues privates Fenster
|
||||
Name[dsb]=Nowe priwatne wokno
|
||||
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
|
||||
Name[en_GB]=New Private Window
|
||||
Name[en_US]=New Private Window
|
||||
Name[en_ZA]=New Private Window
|
||||
Name[eo]=Nova privata fenestro
|
||||
Name[es_AR]=Nueva ventana privada
|
||||
Name[es_CL]=Nueva ventana privada
|
||||
Name[es_ES]=Nueva ventana privada
|
||||
Name[es_MX]=Nueva ventana privada
|
||||
Name[et]=Uus privaatne aken
|
||||
Name[eu]=Leiho pribatu berria
|
||||
Name[fa]=پنجره ناشناس جدید
|
||||
Name[ff]=Henorde Suturo Hesere
|
||||
Name[fi]=Uusi yksityinen ikkuna
|
||||
Name[fr]=Nouvelle fenêtre de navigation privée
|
||||
Name[fy_NL]=Nij priveefinster
|
||||
Name[ga_IE]=Fuinneog Nua Phríobháideach
|
||||
Name[gd]=Uinneag phrìobhaideach ùr
|
||||
Name[gl]=Nova xanela privada
|
||||
Name[gn]=Ovetã ñemi pyahu
|
||||
Name[gu_IN]=નવી ખાનગી વિન્ડો
|
||||
Name[he]=חלון פרטי חדש
|
||||
Name[hi_IN]=नयी निजी विंडो
|
||||
Name[hr]=Novi privatni prozor
|
||||
Name[hsb]=Nowe priwatne wokno
|
||||
Name[hu]=Új privát ablak
|
||||
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
|
||||
Name[id]=Jendela Mode Pribadi Baru
|
||||
Name[is]=Nýr huliðsgluggi
|
||||
Name[it]=Nuova finestra anonima
|
||||
Name[ja]=新しいプライベートウィンドウ
|
||||
Name[ja_JP-mac]=新規プライベートウインドウ
|
||||
Name[ka]=ახალი პირადი ფანჯარა
|
||||
Name[kk]=Жаңа жекелік терезе
|
||||
Name[km]=បង្អួចឯកជនថ្មី
|
||||
Name[kn]=ಹೊಸ ಖಾಸಗಿ ಕಿಟಕಿ
|
||||
Name[ko]=새 사생활 보호 모드
|
||||
Name[kok]=नवो खाजगी विंडो
|
||||
Name[ks]=نْو پرایوٹ وینڈو&
|
||||
Name[lij]=Neuvo barcon privou
|
||||
Name[lo]=ເປີດຫນ້າຕ່າງສວນຕົວຂື້ນມາໃຫມ່
|
||||
Name[lt]=Naujas privataus naršymo langas
|
||||
Name[ltg]=Jauns privatais lūgs
|
||||
Name[lv]=Jauns privātais logs
|
||||
Name[mai]=नया निज विंडो (W)
|
||||
Name[mk]=Нов приватен прозорец
|
||||
Name[ml]=പുതിയ സ്വകാര്യ ജാലകം
|
||||
Name[mr]=नवीन वैयक्तिक पटल
|
||||
Name[ms]=Tetingkap Persendirian Baharu
|
||||
Name[my]=New Private Window
|
||||
Name[nb_NO]=Nytt privat vindu
|
||||
Name[ne_NP]=नयाँ निजी सञ्झ्याल
|
||||
Name[nl]=Nieuw privévenster
|
||||
Name[nn_NO]=Nytt privat vindauge
|
||||
Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ
|
||||
Name[pa_IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
|
||||
Name[pl]=Nowe okno prywatne
|
||||
Name[pt_BR]=Nova janela privativa
|
||||
Name[pt_PT]=Nova janela privada
|
||||
Name[rm]=Nova fanestra privata
|
||||
Name[ro]=Fereastră privată nouă
|
||||
Name[ru]=Новое приватное окно
|
||||
Name[sat]=नावा निजेराक् विंडो (W )
|
||||
Name[si]=නව පුද්ගලික කවුළුව (W)
|
||||
Name[sk]=Nové okno v režime Súkromné prehliadanie
|
||||
Name[sl]=Novo zasebno okno
|
||||
Name[son]=Sutura zanfun taaga
|
||||
Name[sq]=Dritare e Re Private
|
||||
Name[sr]=Нови приватан прозор
|
||||
Name[sv_SE]=Nytt privat fönster
|
||||
Name[ta]=புதிய தனிப்பட்ட சாளரம்
|
||||
Name[te]=కొత్త ఆంతరంగిక విండో
|
||||
Name[th]=หน้าต่างส่วนตัวใหม่
|
||||
Name[tr]=Yeni gizli pencere
|
||||
Name[tsz]=Juchiiti eraatarakua jimpani
|
||||
Name[uk]=Приватне вікно
|
||||
Name[ur]=نیا نجی دریچہ
|
||||
Name[uz]=Yangi maxfiy oyna
|
||||
Name[vi]=Cửa sổ riêng tư mới
|
||||
Name[wo]=Panlanteeru biir bu bees
|
||||
Name[xh]=Ifestile yangasese entsha
|
||||
Name[zh_CN]=新建隐私浏览窗口
|
||||
Name[zh_TW]=新增隱私視窗
|
||||
Exec=zen-browser --private-window %u
|
||||
|
||||
[Desktop Action profile-manager-window]
|
||||
Name=Open the Profile Manager
|
||||
Name[cs]=Správa profilů
|
||||
Name[de]=Profilverwaltung öffnen
|
||||
Name[fr]=Ouvrir le gestionnaire de profils
|
||||
Exec=zen-browser --ProfileManager
|
77
zen-browser/zen-browser.spec
Normal file
77
zen-browser/zen-browser.spec
Normal file
|
@ -0,0 +1,77 @@
|
|||
%global source_name zen-browser
|
||||
%global application_name zen-browser
|
||||
%global full_name zen-browser
|
||||
%global internal_name zen-browser
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: zen-browser
|
||||
Version: 1.0.0-a.29
|
||||
Release: 1%{?dist}
|
||||
Summary: Zen Browser
|
||||
|
||||
License: MPLv2.0
|
||||
URL: https://github.com/zen-browser/desktop
|
||||
Source0: https://github.com/zen-browser/desktop/releases/download/%{version}/ zen.linux-specific.tar.bz2
|
||||
Source1: %{internal_name}.desktop
|
||||
Source2: policies.json
|
||||
Source3: %{internal_name}
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
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. 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:
|
||||
<https://github.com/zen-browser/desktop/issues>
|
||||
|
||||
Bugs related to this package should be reported at this Git project:
|
||||
<https://git.gay/sneexy/copr/>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{source_name}
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%__install -d %{buildroot}{/opt/%{application_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/%{application_name}
|
||||
|
||||
%__install -D -m 0644 %{SOURCE1} -t %{buildroot}%{_datadir}/applications
|
||||
|
||||
%__install -D -m 0444 %{SOURCE2} -t %{buildroot}/opt/%{application_name}/distribution
|
||||
|
||||
%__install -D -m 0755 %{SOURCE3} -t %{buildroot}%{_bindir}
|
||||
|
||||
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{full_name}.png
|
||||
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{full_name}.png
|
||||
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{full_name}.png
|
||||
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{full_name}.png
|
||||
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{full_name}.png
|
||||
|
||||
%post
|
||||
gtk-update-icon-cache -f -t %{_datadir}/icons/hicolor
|
||||
|
||||
%files
|
||||
%{_datadir}/applications/%{internal_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}/%{internal_name}
|
||||
/opt/%{application_name}
|
||||
|
||||
%changelog
|
||||
* Sat Sep 23 2023 Namelesswonder <Namelesswonder@users.noreply.github.com> - 118.0b9-3
|
||||
- firefox-developer-edition.spec: Add weak dependency for each DE browser integration
|
||||
|
||||
* Tue Sep 12 2023 Namelesswonder <Namelesswonder@users.noreply.github.com> - 118.0b7-2
|
||||
- firefox-developer-edition.spec: Trim changelog to resolve date warnings and bump release
|
Loading…
Add table
Add a link
Reference in a new issue