automatic version update by autodist [release 91.0.2-1mamba;Wed Aug 25 2021]

This commit is contained in:
Automatic Build System 2024-01-05 22:19:14 +01:00
parent 7d56e68b2b
commit fd8764b8eb
2 changed files with 20 additions and 9 deletions

View File

@ -1,5 +1,4 @@
#!/bin/sh
# gil
FIREFOX_VERSION=$1
ARCH=x86_64
@ -16,4 +15,6 @@ cd firefox-$FIREFOX_VERSION
wget -r -N -l 1 -np -nd -A "*.xpi" https://ftp.mozilla.org/pub/firefox/releases/$FIREFOX_VERSION/linux-$ARCH/xpi/
rm -f robots.txt
tar -cj *.xpi > ../firefox-$FIREFOX_VERSION-langpacks.tar.bz2
#rm -rf firefox-$FIREFOX_VERSION
rm -f *.xpi
cd ..
rmdir firefox-$FIREFOX_VERSION

View File

@ -17,7 +17,7 @@
%define pkgver %(echo %version | tr . _)
Name: firefox
Version: 91.0.1
Version: 91.0.2
Release: 1mamba
Epoch: 1
Summary: The next generation browsing technology from mozilla.org
@ -160,7 +160,7 @@ This package contains the %{2} language support files for Firefox.\
\
%files langpack-%{1}\
%defattr(-,root,root)\
%{firefoxappdir}/browser/extensions/langpack-%{1}@firefox.mozilla.org.xpi
%{firefoxappdir}/distribution/extensions/langpack-%{1}@firefox.mozilla.org.xpi
%lang_subpkg ach Acholi
%lang_subpkg af Afrikaans
@ -172,11 +172,13 @@ This package contains the %{2} language support files for Firefox.\
%lang_subpkg az Azerbaijani
%lang_subpkg be Belarusian
%lang_subpkg bg Bulgarian
%lang_subpkg bn Bengali
#% lang_subpkg bn-BD %{quote:Bengali (Bangladesh)}
#% lang_subpkg bn-IN %{quote:Bengali (India)}
%lang_subpkg br Breton
%lang_subpkg bs Bosanski
%lang_subpkg ca Catalan
%lang_subpkg ca-valencia %{quote:Catalan (Valencia)}
%lang_subpkg cak Kaqchikel
%lang_subpkg cs Czech
#% lang_subpkg csb Kashubian
@ -249,6 +251,7 @@ This package contains the %{2} language support files for Firefox.\
%lang_subpkg rm Rumantsch
%lang_subpkg ro Romanian
%lang_subpkg ru Russian
%lang_subpkg sco Scots
%lang_subpkg si %{quote:Sinhala (si-LK)}
%lang_subpkg sk Slovak
%lang_subpkg sl Slovenian
@ -256,10 +259,13 @@ This package contains the %{2} language support files for Firefox.\
%lang_subpkg sq Albanian
%lang_subpkg sr %{quote:Српски (sr)}
%lang_subpkg sv-SE Swedish
%lang_subpkg szl Silesian
#% lang_subpkg ta-LK %{quote:Tamil (Sri Lanka)}
%lang_subpkg ta Tamil
%lang_subpkg te %{quote:Telugu (IN)}
%lang_subpkg th Thai
%lang_subpkg tl %{quote:East Timor}
%lang_subpkg trs Triqui
%lang_subpkg tr Turkish
%lang_subpkg ur Urdu
%lang_subpkg uk %{quote:Ukrainian (UA)}
@ -464,7 +470,8 @@ rm -rf %{buildroot}%{firefoxappdir}/firefox
ln -s firefox-bin %{buildroot}%{firefoxappdir}/firefox
# install langpacks
install -d %{buildroot}%{firefoxappdir}/browser/extensions
# see also: https://support.mozilla.org/en-US/kb/deploying-firefox-language-packs
install -d %{buildroot}%{firefoxappdir}/distribution/extensions
install -d firefox-langpacks && tar -C firefox-langpacks -xjf %{S:1}
@ -472,7 +479,7 @@ find firefox-langpacks/ -type f -name \*.xpi | \
while read filename; do
lang=$(basename $filename .xpi)
install -Dm644 $filename \
%{buildroot}%{firefoxappdir}/browser/extensions/langpack-$lang@firefox.mozilla.org.xpi
%{buildroot}%{firefoxappdir}/distribution/extensions/langpack-$lang@firefox.mozilla.org.xpi
# extensiondir="\
#%{buildroot}%{firefoxappdir}/browser/extensions/langpack-$lang@firefox.mozilla.org"
# install -d $extensiondir
@ -511,7 +518,7 @@ includedir=%{firefoxincludedir}
Name: Mozilla Plug-In API
Description: Mozilla Plug-In API
Version: 91.0.1
Version: 91.0.2
Cflags: -I\${includedir} -DXP_UNIX
_EOF
@ -584,6 +591,7 @@ fi
%{firefoxappdir}/browser/omni.ja
%dir %{firefoxappdir}/distribution
%{firefoxappdir}/distribution/distribution.ini
%dir %{firefoxappdir}/distribution/extensions
#%attr(644, root, root) %{firefoxappdir}/browser/blocklist.xml
%dir %{firefoxappdir}/browser
%dir %{firefoxappdir}/browser/chrome
@ -591,9 +599,8 @@ fi
%dir %{firefoxappdir}/browser/chrome/icons/default
%{firefoxappdir}/browser/crashreporter-override.ini
%attr(644, root, root) %{firefoxappdir}/browser/chrome/icons/default/default*.png
%dir %{firefoxappdir}/browser/extensions
#%dir %{firefoxappdir}/browser/extensions
%{firefoxappdir}/browser/features/*.xpi
%exclude %{firefoxappdir}/browser/extensions/langpack-*
%{firefoxappdir}/firefox-bin
#%{firefoxappdir}/chrome.manifest
%{firefoxappdir}/libmozsandbox.so
@ -632,6 +639,9 @@ fi
%{_libdir}/pkgconfig/mozilla-plugin.pc
%changelog
* Wed Aug 25 2021 Automatic Build System <autodist@mambasoft.it> 91.0.2-1mamba
- automatic version update by autodist
* Wed Aug 18 2021 Automatic Build System <autodist@mambasoft.it> 91.0.1-1mamba
- automatic version update by autodist