mirror of
https://abf.rosa.ru/djam/firefox-esr78.git
synced 2025-02-24 18:22:47 +00:00
Adde the spell checking dictionary symlinks for mozilla apps
This commit is contained in:
parent
a65deb2ce5
commit
afecdc7a82
2 changed files with 18 additions and 7 deletions
1
.abf.yml
1
.abf.yml
|
@ -1,2 +1,3 @@
|
||||||
sources:
|
sources:
|
||||||
firefox-61.0.2.source.tar.xz: 6e445d9d7da982452bf212948aff701d47f6f0c0
|
firefox-61.0.2.source.tar.xz: 6e445d9d7da982452bf212948aff701d47f6f0c0
|
||||||
|
firefox-dictionary-61.0.2.tar.bz2: 25929c585dc8568a32d5be49aacc672f0ed2202f
|
||||||
|
|
24
firefox.spec
24
firefox.spec
|
@ -34,7 +34,7 @@ Summary: Next generation web browser
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: %{major}
|
Version: %{major}
|
||||||
Epoch: %{ff_epoch}
|
Epoch: %{ff_epoch}
|
||||||
Release: 1
|
Release: 3
|
||||||
License: MPLv1+
|
License: MPLv1+
|
||||||
Group: Networking/WWW
|
Group: Networking/WWW
|
||||||
Url: http://www.mozilla.com/firefox/
|
Url: http://www.mozilla.com/firefox/
|
||||||
|
@ -44,6 +44,8 @@ Source0: https://hg.mozilla.org/releases/mozilla-release/archive/%{rel_url}.tar.
|
||||||
Source0: https://archive.mozilla.org/pub/firefox/releases/%{realver}/source/%{name}-%{realver}.source.tar.xz
|
Source0: https://archive.mozilla.org/pub/firefox/releases/%{realver}/source/%{name}-%{realver}.source.tar.xz
|
||||||
%endif
|
%endif
|
||||||
Source1: firefox.rpmlintrc
|
Source1: firefox.rpmlintrc
|
||||||
|
# https://www.mozilla.org/en-US/firefox/all/
|
||||||
|
Source2: firefox-dictionary-61.0.2.tar.bz2
|
||||||
Source4: %{name}.desktop
|
Source4: %{name}.desktop
|
||||||
Source7: firefox.cfg
|
Source7: firefox.cfg
|
||||||
Source9: kde.js
|
Source9: kde.js
|
||||||
|
@ -155,17 +157,18 @@ windows, cookies and downloaded files.
|
||||||
%doc AUTHORS CLOBBER LEGAL LICENSE README.txt
|
%doc AUTHORS CLOBBER LEGAL LICENSE README.txt
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/mozilla-firefox
|
%{_bindir}/mozilla-firefox
|
||||||
%{_iconsdir}/hicolor/*/apps/*.png
|
|
||||||
%{_miconsdir}/%{name}.png
|
|
||||||
%{_iconsdir}/%{name}.png
|
|
||||||
%{_liconsdir}/%{name}.png
|
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
|
%{_datadir}/dict/mozilla
|
||||||
|
%{_iconsdir}/%{name}.png
|
||||||
|
%{_iconsdir}/hicolor/*/apps/*.png
|
||||||
%{_libdir}/%{name}-%{major}*
|
%{_libdir}/%{name}-%{major}*
|
||||||
|
%{_liconsdir}/%{name}.png
|
||||||
|
%{_miconsdir}/%{name}.png
|
||||||
|
%dir %{_datadir}/mozilla/extensions/%{firefox_appid}
|
||||||
%dir %{_libdir}/mozilla
|
%dir %{_libdir}/mozilla
|
||||||
%dir %{_libdir}/mozilla/extensions
|
%dir %{_libdir}/mozilla/extensions
|
||||||
%dir %{pluginsdir}
|
|
||||||
%dir %{_libdir}/mozilla/extensions/%{firefox_appid}
|
%dir %{_libdir}/mozilla/extensions/%{firefox_appid}
|
||||||
%dir %{_datadir}/mozilla/extensions/%{firefox_appid}
|
%dir %{pluginsdir}
|
||||||
|
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -329,8 +332,15 @@ cat << EOF > %{buildroot}%{mozillalibdir}/defaults/profile/chrome/userChrome.css
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# use the system myspell dictionaries
|
# use the system myspell dictionaries
|
||||||
|
%if %_use_syshunspell
|
||||||
rm -fr %{buildroot}%{mozillalibdir}/dictionaries
|
rm -fr %{buildroot}%{mozillalibdir}/dictionaries
|
||||||
ln -s %{_datadir}/dict/mozilla/ %{buildroot}%{mozillalibdir}/dictionaries
|
ln -s %{_datadir}/dict/mozilla/ %{buildroot}%{mozillalibdir}/dictionaries
|
||||||
|
%else
|
||||||
|
rm -fr %{buildroot}%{mozillalibdir}/dictionaries
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/dict/mozilla/
|
||||||
|
tar xjf %{SOURCE2} -C %{buildroot}%{_datadir}/dict/mozilla/
|
||||||
|
ln -s %{_datadir}/dict/mozilla/ %{buildroot}%{mozillalibdir}/dictionaries
|
||||||
|
%endif
|
||||||
|
|
||||||
# (lm) touch and %%ghost bookmarks.html to a proper uninstall
|
# (lm) touch and %%ghost bookmarks.html to a proper uninstall
|
||||||
touch %{buildroot}%{mozillalibdir}/defaults/profile/bookmarks.html
|
touch %{buildroot}%{mozillalibdir}/defaults/profile/bookmarks.html
|
||||||
|
|
Loading…
Add table
Reference in a new issue