MozillaFirefox/MozillaFirefox.spec
branchff-standalone
changeset 158 1406d686ec04
parent 156 37947cc02392
child 162 1a5d5532d5be
equal deleted inserted replaced
156:37947cc02392 158:1406d686ec04
   266 #ac_add_options --enable-debug
   266 #ac_add_options --enable-debug
   267 EOF
   267 EOF
   268 %if 0%{?use_xulrunner}
   268 %if 0%{?use_xulrunner}
   269 cat << EOF >> $MOZCONFIG
   269 cat << EOF >> $MOZCONFIG
   270 ac_add_options --with-libxul-sdk=$SDKDIR
   270 ac_add_options --with-libxul-sdk=$SDKDIR
       
   271 ac_add_options --enable-chrome-format=jar
   271 EOF
   272 EOF
   272 %endif
   273 %endif
   273 %if %branding
   274 %if %branding
   274 cat << EOF >> $MOZCONFIG
   275 cat << EOF >> $MOZCONFIG
   275 ac_add_options --enable-official-branding
   276 ac_add_options --enable-official-branding
   304 cp -rf $RPM_BUILD_DIR/obj/dist/firefox/* $RPM_BUILD_ROOT/%{progdir}
   305 cp -rf $RPM_BUILD_DIR/obj/dist/firefox/* $RPM_BUILD_ROOT/%{progdir}
   305 # install additional locales
   306 # install additional locales
   306 %if %localize
   307 %if %localize
   307 rm -f %{_tmppath}/translations.*
   308 rm -f %{_tmppath}/translations.*
   308 touch %{_tmppath}/translations.{common,other}
   309 touch %{_tmppath}/translations.{common,other}
   309 for locale in $(awk '{ print $1; }' browser/locales/shipped-locales); do
   310 for locale in $(awk '{ print $1; }' ../mozilla/browser/locales/shipped-locales); do
   310   case $locale in
   311   case $locale in
   311    ja-JP-mac|en-US)
   312    ja-JP-mac|en-US)
   312 	;;
   313 	;;
   313    *)
   314    *)
   314    	pushd $RPM_BUILD_DIR/compare-locales
   315    	pushd $RPM_BUILD_DIR/compare-locales