mirror of
https://abf.rosa.ru/djam/firefox-esr78.git
synced 2025-02-25 02:32:48 +00:00
Updated to 51.0
This commit is contained in:
parent
8f01c869b5
commit
762649c64c
1 changed files with 15 additions and 15 deletions
30
firefox.spec
30
firefox.spec
|
@ -78,7 +78,7 @@ BuildRequires: pkgconfig(libIDL-2.0)
|
|||
BuildRequires: makedepend
|
||||
BuildRequires: nss-devel >= 2:3.24
|
||||
BuildRequires: nss-static-devel
|
||||
BuildRequires: nspr-devel >= 2:4.12
|
||||
BuildRequires: pkgconfig(nspr)
|
||||
BuildRequires: startup-notification-devel
|
||||
BuildRequires: dbus-glib-devel
|
||||
#BuildRequires: pkgconfig(sqlite3) >= 3.8.10.1
|
||||
|
@ -341,7 +341,7 @@ EOF
|
|||
mkdir -p %{buildroot}%{mozillalibdir}/defaults/profile/chrome
|
||||
cat << EOF > %{buildroot}%{mozillalibdir}/defaults/profile/chrome/userChrome.css
|
||||
#appmenu-toolbar-button {
|
||||
list-style-image: url("chrome://branding/content/icon16.png");
|
||||
list-style-image: url("chrome://branding/content/icon16.png");
|
||||
}
|
||||
EOF
|
||||
|
||||
|
@ -356,13 +356,13 @@ touch %{buildroot}%{mozillalibdir}/defaults/profile/bookmarks.html
|
|||
mkdir -p %{buildroot}%{_sys_macros_dir}
|
||||
cat <<FIN >%{buildroot}%{_sys_macros_dir}/%{name}.macros
|
||||
# Macros from %{name} package
|
||||
%%firefox_major %{major}
|
||||
%%firefox_epoch %{ff_epoch}
|
||||
%%firefox_version %{major}%{?prel:-0.%prel}
|
||||
%%firefox_mozillapath %{mozillalibdir}
|
||||
%%firefox_pluginsdir %{pluginsdir}
|
||||
%%firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
||||
%%firefox_extdir %%(if [ "%%_target_cpu" = "noarch" ]; then echo %%{_datadir}/mozilla/extensions/%%{firefox_appid}; else echo %%{_libdir}/mozilla/extensions/%%{firefox_appid}; fi)
|
||||
%%firefox_major %{major}
|
||||
%%firefox_epoch %{ff_epoch}
|
||||
%%firefox_version %{major}%{?prel:-0.%prel}
|
||||
%%firefox_mozillapath %{mozillalibdir}
|
||||
%%firefox_pluginsdir %{pluginsdir}
|
||||
%%firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
||||
%%firefox_extdir %%(if [ "%%_target_cpu" = "noarch" ]; then echo %%{_datadir}/mozilla/extensions/%%{firefox_appid}; else echo %%{_libdir}/mozilla/extensions/%%{firefox_appid}; fi)
|
||||
FIN
|
||||
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
|
@ -374,10 +374,10 @@ fi
|
|||
|
||||
%post
|
||||
if [ ! -r /etc/sysconfig/oem ]; then
|
||||
case `grep META_CLASS /etc/sysconfig/system` in
|
||||
*powerpack) bookmark="mozilla-powerpack.html" ;;
|
||||
*desktop) bookmark="mozilla-one.html";;
|
||||
*) bookmark="mozilla-download.html";;
|
||||
esac
|
||||
ln -s -f ../../../../share/mdk/bookmarks/mozilla/$bookmark %{mozillalibdir}/defaults/profile/bookmarks.html
|
||||
case `grep META_CLASS /etc/sysconfig/system` in
|
||||
*powerpack) bookmark="mozilla-powerpack.html" ;;
|
||||
*desktop) bookmark="mozilla-one.html";;
|
||||
*) bookmark="mozilla-download.html";;
|
||||
esac
|
||||
ln -s -f ../../../../share/mdk/bookmarks/mozilla/$bookmark %{mozillalibdir}/defaults/profile/bookmarks.html
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue