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