added MPL API key for openmamba [release 92.0.1-2mamba;Fri Sep 24 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:19:15 +01:00
parent e0cf066b9c
commit cfd8f0c0e0

View File

@ -18,7 +18,7 @@
Name: firefox
Version: 92.0.1
Release: 1mamba
Release: 2mamba
Epoch: 1
Summary: The next generation browsing technology from mozilla.org
Group: Graphical Desktop/Applications/Internet
@ -277,9 +277,8 @@ This package contains the %{2} language support files for Firefox.\
#% debug_package
%prep
%setup -q -n mozilla-release-FIREFOX_%{pkgver}_RELEASE
#-D -T
#:<< ___EOF
%setup -q -n mozilla-release-FIREFOX_%{pkgver}_RELEASE -D -T
:<< ___EOF
sed -e 's|__RPM_VERSION_INTERNAL__|%{firefox_internal_version}|' %{PATCH0} | patch -p0
@ -293,10 +292,12 @@ sed -e 's|__RPM_VERSION_INTERNAL__|%{firefox_internal_version}|' %{PATCH0} | pat
#%patch16 -p1
%patch17 -p1
echo -n "AIzaSyBT3wXwxmFuUQcyeMyp0MbHHhhFwNfWKTc" >google-api-key
#echo -n "$_mozilla_api_key" >mozilla-api-key
___EOF
# Google and Mozilla api keys for openmamba
echo -n "AIzaSyBT3wXwxmFuUQcyeMyp0MbHHhhFwNfWKTc" >google-api-key
echo -n "29b6a7b2-7b70-47fd-b3fb-7526fd971b10" >mozilla-api-key
#___EOF
cat > .mozconfig <<END
ac_add_options --enable-application=browser
@ -338,7 +339,7 @@ export MOZ_REQUIRE_SIGNING=1
## Keys
ac_add_options --with-google-location-service-api-keyfile=$PWD/google-api-key
ac_add_options --with-google-safebrowsing-api-keyfile=$PWD/google-api-key
#ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key
ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key
# System libraries
ac_add_options --with-system-nspr
@ -637,6 +638,9 @@ fi
%{_libdir}/pkgconfig/mozilla-plugin.pc
%changelog
* Fri Sep 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 92.0.1-2mamba
- added MPL API key for openmamba
* Thu Sep 23 2021 Automatic Build System <autodist@mambasoft.it> 92.0.1-1mamba
- automatic version update by autodist