mirror of
https://abf.rosa.ru/djam/librewolf.git
synced 2025-02-23 18:22:46 +00:00
update spec files to debug the build
added desktop files and rpmlintrc
This commit is contained in:
parent
df15142447
commit
0b6e77b84e
3 changed files with 516 additions and 28 deletions
386
librewolf.desktop
Normal file
386
librewolf.desktop
Normal file
|
@ -0,0 +1,386 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=LibreWolf
|
||||
Name[ar]=متصفح الويب فَيَرفُكْس
|
||||
Name[ast]=Restolador web LibreWolf
|
||||
Name[bn]=ফায়ারফক্স ওয়েব ব্রাউজার
|
||||
Name[ca]=Navegador web LibreWolf
|
||||
Name[cs]=LibreWolf Webový prohlížeč
|
||||
Name[da]=LibreWolf - internetbrowser
|
||||
Name[el]=Περιηγητής LibreWolf
|
||||
Name[es]=Navegador web LibreWolf
|
||||
Name[et]=LibreWolfi veebibrauser
|
||||
Name[fa]=مرورگر اینترنتی LibreWolf
|
||||
Name[fi]=LibreWolf-selain
|
||||
Name[fr]=Navigateur Web LibreWolf
|
||||
Name[gl]=Navegador web LibreWolf
|
||||
Name[he]=דפדפן האינטרנט LibreWolf
|
||||
Name[hr]=LibreWolf web preglednik
|
||||
Name[hu]=LibreWolf webböngésző
|
||||
Name[it]=LibreWolf Browser Web
|
||||
Name[ja]=LibreWolf ウェブ・ブラウザ
|
||||
Name[ko]=LibreWolf 웹 브라우저
|
||||
Name[ku]=Geroka torê LibreWolf
|
||||
Name[lt]=LibreWolf interneto naršyklė
|
||||
Name[nb]=LibreWolf Nettleser
|
||||
Name[nl]=LibreWolf webbrowser
|
||||
Name[nn]=LibreWolf Nettlesar
|
||||
Name[no]=LibreWolf Nettleser
|
||||
Name[pl]=Przeglądarka WWW LibreWolf
|
||||
Name[pt]=LibreWolf Navegador Web
|
||||
Name[pt_BR]=Navegador Web LibreWolf
|
||||
Name[ro]=LibreWolf – Navigator Internet
|
||||
Name[ru]=Веб-браузер LibreWolf
|
||||
Name[sk]=LibreWolf - internetový prehliadač
|
||||
Name[sl]=LibreWolf spletni brskalnik
|
||||
Name[sv]=LibreWolf webbläsare
|
||||
Name[tr]=LibreWolf Web Tarayıcısı
|
||||
Name[ug]=LibreWolf توركۆرگۈ
|
||||
Name[uk]=Веб-браузер LibreWolf
|
||||
Name[vi]=Trình duyệt web LibreWolf
|
||||
Name[zh_CN]=LibreWolf 网络浏览器
|
||||
Name[zh_TW]=LibreWolf 網路瀏覽器
|
||||
Comment=Browse the World Wide Web
|
||||
Comment[ar]=تصفح الشبكة العنكبوتية العالمية
|
||||
Comment[ast]=Restola pela Rede
|
||||
Comment[bn]=ইন্টারনেট ব্রাউজ করুন
|
||||
Comment[ca]=Navegueu per la web
|
||||
Comment[cs]=Prohlížení stránek World Wide Webu
|
||||
Comment[da]=Surf på internettet
|
||||
Comment[de]=Im Internet surfen
|
||||
Comment[el]=Μπορείτε να περιηγηθείτε στο διαδίκτυο (Web)
|
||||
Comment[es]=Navegue por la web
|
||||
Comment[et]=Lehitse veebi
|
||||
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
|
||||
Comment[fi]=Selaa Internetin WWW-sivuja
|
||||
Comment[fr]=Naviguer sur le Web
|
||||
Comment[gl]=Navegar pola rede
|
||||
Comment[he]=גלישה ברחבי האינטרנט
|
||||
Comment[hr]=Pretražite web
|
||||
Comment[hu]=A világháló böngészése
|
||||
Comment[it]=Esplora il web
|
||||
Comment[ja]=ウェブを閲覧します
|
||||
Comment[ko]=웹을 돌아 다닙니다
|
||||
Comment[ku]=Li torê bigere
|
||||
Comment[lt]=Naršykite internete
|
||||
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[ro]=Navigați pe Internet
|
||||
Comment[ru]=Доступ в Интернет
|
||||
Comment[sk]=Prehliadanie internetu
|
||||
Comment[sl]=Brskajte po spletu
|
||||
Comment[sv]=Surfa på webben
|
||||
Comment[tr]=İnternet'te Gezinin
|
||||
Comment[ug]=دۇنيادىكى توربەتلەرنى كۆرگىلى بولىدۇ
|
||||
Comment[uk]=Перегляд сторінок Інтернету
|
||||
Comment[vi]=Để duyệt các trang web
|
||||
Comment[zh_CN]=浏览互联网
|
||||
Comment[zh_TW]=瀏覽網際網路
|
||||
GenericName=Web Browser
|
||||
GenericName[ar]=متصفح ويب
|
||||
GenericName[ast]=Restolador Web
|
||||
GenericName[bn]=ওয়েব ব্রাউজার
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=Webový prohlížeč
|
||||
GenericName[da]=Webbrowser
|
||||
GenericName[el]=Περιηγητής διαδικτύου
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebibrauser
|
||||
GenericName[fa]=مرورگر اینترنتی
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[gl]=Navegador Web
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hr]=Web preglednik
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[it]=Browser web
|
||||
GenericName[ja]=ウェブ・ブラウザ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[ku]=Geroka torê
|
||||
GenericName[lt]=Interneto naršyklė
|
||||
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[ro]=Navigator Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[sk]=Internetový prehliadač
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[ug]=توركۆرگۈ
|
||||
GenericName[uk]=Веб-браузер
|
||||
GenericName[vi]=Trình duyệt Web
|
||||
GenericName[zh_CN]=网络浏览器
|
||||
GenericName[zh_TW]=網路瀏覽器
|
||||
Keywords=Internet;WWW;Browser;Web;Explorer
|
||||
Keywords[ar]=انترنت;إنترنت;متصفح;ويب;وب
|
||||
Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador
|
||||
Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer
|
||||
Keywords[cs]=Internet;WWW;Prohlížeč;Web;Explorer
|
||||
Keywords[da]=Internet;Internettet;WWW;Browser;Browse;Web;Surf;Nettet
|
||||
Keywords[de]=Internet;WWW;Browser;Web;Explorer;Webseite;Site;surfen;online;browsen
|
||||
Keywords[el]=Internet;WWW;Browser;Web;Explorer;Διαδίκτυο;Περιηγητής;LibreWolf;Φιρεφοχ;Ιντερνετ
|
||||
Keywords[es]=Explorador;Internet;WWW
|
||||
Keywords[fi]=Internet;WWW;Browser;Web;Explorer;selain;Internet-selain;internetselain;verkkoselain;netti;surffaa
|
||||
Keywords[fr]=Internet;WWW;Browser;Web;Explorer;Fureteur;Surfer;Navigateur
|
||||
Keywords[he]=דפדפן;אינטרנט;רשת;אתרים;אתר;פיירפוקס;מוזילה;
|
||||
Keywords[hr]=Internet;WWW;preglednik;Web
|
||||
Keywords[hu]=Internet;WWW;Böngésző;Web;Háló;Net;Explorer
|
||||
Keywords[it]=Internet;WWW;Browser;Web;Navigatore
|
||||
Keywords[is]=Internet;WWW;Vafri;Vefur;Netvafri;Flakk
|
||||
Keywords[ja]=Internet;WWW;Web;インターネット;ブラウザ;ウェブ;エクスプローラ
|
||||
Keywords[nb]=Internett;WWW;Nettleser;Explorer;Web;Browser;Nettside
|
||||
Keywords[nl]=Internet;WWW;Browser;Web;Explorer;Verkenner;Website;Surfen;Online
|
||||
Keywords[pt]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||
Keywords[pt_BR]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||
Keywords[ru]=Internet;WWW;Browser;Web;Explorer;интернет;браузер;веб;файрфокс;огнелис
|
||||
Keywords[sk]=Internet;WWW;Prehliadač;Web;Explorer
|
||||
Keywords[sl]=Internet;WWW;Browser;Web;Explorer;Brskalnik;Splet
|
||||
Keywords[tr]=İnternet;WWW;Tarayıcı;Web;Gezgin;Web sitesi;Site;sörf;çevrimiçi;tara
|
||||
Keywords[uk]=Internet;WWW;Browser;Web;Explorer;Інтернет;мережа;переглядач;оглядач;браузер;веб;файрфокс;вогнелис;перегляд
|
||||
Keywords[vi]=Internet;WWW;Browser;Web;Explorer;Trình duyệt;Trang web
|
||||
Keywords[zh_CN]=Internet;WWW;Browser;Web;Explorer;网页;浏览;上网;火狐;LibreWolf;ff;互联网;网站;
|
||||
Keywords[zh_TW]=Internet;WWW;Browser;Web;Explorer;網際網路;網路;瀏覽器;上網;網頁;火狐
|
||||
Exec=@LIBDIR@/librewolf %u
|
||||
Icon=librewolf
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
|
||||
StartupNotify=true
|
||||
StartupWMClass=LibreWolf
|
||||
Categories=Network;WebBrowser;
|
||||
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=@LIBDIR@/librewolf --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]=Nêuvo barcón privòu
|
||||
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=@LIBDIR@/librewolf --private-window %u
|
||||
|
||||
[Desktop Action profile-manager-window]
|
||||
Name=Open the Profile Manager
|
||||
Name[cs]=Správa profilů
|
||||
Name[de]=Profilverwaltung öffnen
|
||||
Name[es]=Abrir el Gestor de Perfiles
|
||||
Name[fr]=Ouvrir le gestionnaire de profils
|
||||
Exec=@LIBDIR@/librewolf --ProfileManager %u
|
4
librewolf.rpmlintrc
Normal file
4
librewolf.rpmlintrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
addFilter("W: spurious-executable-perm")
|
||||
addFilter("W: script-without-shebang")
|
||||
addFilter("W: non-executable-script")
|
||||
addFilter("W: invalid-license")
|
154
librewolf.spec
154
librewolf.spec
|
@ -1,15 +1,59 @@
|
|||
%global optflags %{optflags} -g1
|
||||
%global real_version 116.0.3-1
|
||||
%global rpm_version %(echo %{real_version} | sed -e "s/-/_/")
|
||||
|
||||
#========= switches of system libraries ==========
|
||||
#=================================================
|
||||
##
|
||||
# in the 202110 platform,
|
||||
# the nss version is lower
|
||||
####
|
||||
%if %{mdvver} < 202310
|
||||
%bcond_with nss
|
||||
%else
|
||||
%bcond_without nss
|
||||
%endif
|
||||
|
||||
%bcond_without nspr
|
||||
%bcond_with icu
|
||||
%bcond_without libevent
|
||||
%bcond_without libvpx
|
||||
%bcond_without webp
|
||||
%bcond_without zlib
|
||||
|
||||
#=================================================
|
||||
##
|
||||
# switches with alternative python 3 and llvm
|
||||
####
|
||||
%bcond_with py3_alt
|
||||
%bcond_without clang_alt
|
||||
|
||||
%global llvm_alt_ver 15
|
||||
#=================================================
|
||||
|
||||
%bcond_with verbose
|
||||
%bcond_without debug
|
||||
|
||||
#=================================================
|
||||
|
||||
%global llvm_alt_ver 17
|
||||
%global llvm_alt_path /opt/llvm%{llvm_alt_ver}
|
||||
|
||||
#=================================================
|
||||
|
||||
%global wolfdir %{_libdir}/%{name}
|
||||
|
||||
%global _privatelibs mozsqlite3.*|mozgtk.*|ipcclientcerts.*|xul.*
|
||||
%global _privatelibs %{_privatelibs}|softokn3.*|mozsandbox.*|nss3.*
|
||||
%global _privatelibs %{_privatelibs}|mozavutil.*|smime3.*|mozwayland.*
|
||||
%global _privatelibs %{_privatelibs}|plds4.*|nssutil3.*|ssl3.*
|
||||
%global _privatelibs %{_privatelibs}|clearkey.*|nspr4.*|lgpllibs.*
|
||||
%global _privatelibs %{_privatelibs}|mozavcodec.*|nssckbi.*|freeblpriv3.*
|
||||
%global _privatelibs %{_privatelibs}|plc4.*
|
||||
|
||||
%global __provides_exclude ^lib(%{_privatelibs}).so.++$
|
||||
%global __requires_exclude ^lib(%{_privatelibs}).so.++$
|
||||
%global __provides_exclude_from ^(%{_libdir}/%{name}/.*\\.so.*)$
|
||||
|
||||
Summary: A custom version of Firefox, focused on privacy, security and freedom
|
||||
Name: librewolf
|
||||
Version: %{rpm_version}
|
||||
|
@ -21,7 +65,8 @@ Url: https://gitlab.com/librewolf-community/browser/source
|
|||
Source0: %{name}-%{real_version}.source.tar.gz
|
||||
Source1: %{name}_get_source
|
||||
Source2: cbindgen-vendor.tar.xz
|
||||
|
||||
Source3: %{name}.desktop
|
||||
Source4: %{name}.rpmlintrc
|
||||
BuildRequires: atomic-devel
|
||||
%if %{without clang_alt}
|
||||
BuildRequires: clang-devel
|
||||
|
@ -40,6 +85,9 @@ BuildRequires: pkgconfig(alsa)
|
|||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
|
||||
%if %{with libevent}
|
||||
BuildRequires: pkgconfig(libevent)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
|
@ -49,7 +97,13 @@ BuildRequires: pkgconfig(xdamage)
|
|||
BuildRequires: pkgconfig(xfixes)
|
||||
BuildRequires: pkgconfig(xi)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: rust
|
||||
BuildRequires: rust rustfmt
|
||||
%if %{with libvpx}
|
||||
BuildRequires: pkgconfig(vpx) >= 1.10.0
|
||||
%endif
|
||||
%if %{with webp}
|
||||
BuildRequires: pkgconfig(libwebp) >= 1.0.2
|
||||
%endif
|
||||
|
||||
%description
|
||||
This project is a custom and independent version of Firefox,
|
||||
|
@ -64,33 +118,32 @@ data collection and annoyances,as well as disabling
|
|||
anti-freedom features like DRM.
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.txt
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_iconsdir}/hicolor/*/apps/%{name}.png
|
||||
%dir %{wolfdir}
|
||||
%{wolfdir}/*
|
||||
|
||||
#------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{real_version}
|
||||
|
||||
mv -v browser/locales/l10n/ru . \
|
||||
&& rm -fvr browser/locales/l10n/* \
|
||||
&& mv -v ru browser/locales/l10n
|
||||
|
||||
# fix version nss rosa2021
|
||||
sed -i -e "s|3.91|3.78|" build/moz.configure/nss.configure
|
||||
#//////////////////////////////////////////////////////////
|
||||
|
||||
%{__cp} -v mozconfig mozconfig_old
|
||||
|
||||
echo "#===========================================" >> mozconfig
|
||||
echo "# options build rosa linux" >> mozconfig
|
||||
echo "#===========================================" >> mozconfig
|
||||
|
||||
echo "export MOZCONFIG="`pwd`"/mozconfig" >> mozconfig
|
||||
echo "export RUSTC_OPT_LEVEL=0" >> mozconfig
|
||||
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{name}" >> mozconfig
|
||||
echo "ac_add_options --host=%{_host}" >> mozconfig
|
||||
echo "ac_add_options --prefix=%{_prefix}" >> mozconfig
|
||||
echo "ac_add_options --libdir=%{_libdir}" >> mozconfig
|
||||
echo "mk_add_options MOZ_PARALLEL_BUILD=%{_smp_build_ncpus}" >> mozconfig
|
||||
|
||||
echo "ac_add_options --enable-default-toolkit=cairo-gtk3-x11-wayland" >> mozconfig
|
||||
|
||||
%if %{with nss}
|
||||
echo "ac_add_options --with-system-nss" >> mozconfig
|
||||
%else
|
||||
|
@ -109,20 +162,41 @@ echo "ac_add_options --with-system-icu" >> mozconfig
|
|||
echo "ac_add_options --without-system-icu" >> mozconfig
|
||||
%endif
|
||||
|
||||
echo "ac_add_options --without-sysroot" >> mozconfig
|
||||
|
||||
%ifarch %{arm64}
|
||||
echo "ac_add_options --disable-elf-hack" >> mozconfig
|
||||
%if %{with libevent}
|
||||
echo "ac_add_options --with-system-libevent" >> mozconfig
|
||||
%else
|
||||
echo "ac_add_options --without-system-libevent" >> mozconfig
|
||||
%endif
|
||||
|
||||
%if %{with libvpx}
|
||||
echo "ac_add_options --with-system-libvpx" >> mozconfig
|
||||
%else
|
||||
echo "ac_add_options --without-system-libvpx" >> mozconfig
|
||||
%endif
|
||||
|
||||
%if %{with webp}
|
||||
echo "ac_add_options --with-system-webp" >> mozconfig
|
||||
%else
|
||||
echo "ac_add_options --without-system-webp" >> mozconfig
|
||||
%endif
|
||||
|
||||
%if %{with zlib}
|
||||
echo "ac_add_options --with-system-zlib" >> mozconfig
|
||||
%else
|
||||
echo "ac_add_options --without-system-zlib" >> mozconfig
|
||||
%endif
|
||||
|
||||
echo "ac_add_options --without-sysroot" >> mozconfig
|
||||
echo "ac_add_options --without-wasm-sandboxed-libraries" >> mozconfig
|
||||
|
||||
sed -i \
|
||||
-e "s|enable-bootstrap|disable-bootstrap|" \
|
||||
-e "s|enable-optimize|disable-optimize|" \
|
||||
mozconfig
|
||||
%{__sed} -i -e "s|enable-bootstrap|disable-bootstrap|" mozconfig
|
||||
|
||||
%if %{with debug}
|
||||
%{__sed} -i -e "s|disable-debug|enable-debug|" mozconfig
|
||||
%endif
|
||||
|
||||
%build
|
||||
%setup_compile_flags
|
||||
|
||||
%if %{with clang_alt}
|
||||
export PATH="%{llvm_alt_path}/bin:$PATH"
|
||||
|
@ -133,10 +207,6 @@ export NM="%{llvm_alt_path}/bin/llvm-nm"
|
|||
export RANLIB="%{llvm_alt_path}/bin/llvm-ranlib"
|
||||
%endif
|
||||
|
||||
export RUSTFLAGS="-Cdebuginfo=0"
|
||||
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
export LDFLAGS="%{ldflags} -Wl,--no-keep-memory"
|
||||
|
||||
%{__mkdir_p} my_rust_vendor
|
||||
|
@ -155,9 +225,37 @@ env CARGO_HOME=.cargo cargo install cbindgen
|
|||
export PATH="`pwd`"/.cargo/bin:$PATH
|
||||
cd -
|
||||
|
||||
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" ./mach build
|
||||
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" \
|
||||
./mach build %{?with_verbose:--verbose}
|
||||
|
||||
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" ./mach package
|
||||
|
||||
%install
|
||||
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" ./mach install
|
||||
|
||||
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" \
|
||||
DESTDIR=%{buildroot} \
|
||||
./mach install
|
||||
|
||||
%{__rm} -rvf %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
cat > %{buildroot}%{_bindir}/%{name} << FOE
|
||||
#! /bin/sh
|
||||
exec %{wolfdir}/%{name} "\$@"
|
||||
FOE
|
||||
|
||||
%{__chmod} +x %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%{__mkdir_p} %{buildroot}%{_datadir}/applications
|
||||
|
||||
%{__install} -Dm 0644 %{SOURCE3} \
|
||||
%{buildroot}%{_datadir}/applications
|
||||
|
||||
%{__sed} -i -e "s|@LIBDIR@|%{wolfdir}|g" \
|
||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
for size in 16 32 48 64 128 ;do
|
||||
%{__mkdir_p} %{buildroot}%{_iconsdir}/hicolor/${size}x${size}/apps
|
||||
ln -sfv %{wolfdir}/browser/chrome/icons/default/default${size}.png \
|
||||
%{buildroot}%{_iconsdir}/hicolor/${size}x${size}/apps/%{name}.png
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue