equal
deleted
inserted
replaced
236 PYTHONPATH=lib \ |
236 PYTHONPATH=lib \ |
237 scripts/compare-locales -m ../l10n-merged/$locale \ |
237 scripts/compare-locales -m ../l10n-merged/$locale \ |
238 ../mozilla/browser/locales/l10n.ini ../l10n $locale |
238 ../mozilla/browser/locales/l10n.ini ../l10n $locale |
239 popd |
239 popd |
240 LOCALE_MERGEDIR=../l10n-merged \ |
240 LOCALE_MERGEDIR=../l10n-merged \ |
241 make -C browser/locales libs-$locale |
241 make -C browser/locales langpack-$locale |
242 cp -r dist/xpi-stage/locale-$locale \ |
242 cp -r dist/xpi-stage/locale-$locale \ |
243 $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org |
243 $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org |
244 # check against the fixed common list and sort into the right filelist |
244 # check against the fixed common list and sort into the right filelist |
245 _matched=0 |
245 _matched=0 |
246 for _match in ar ca cs da de en-GB es-AR es-CL es-ES fi fr hu it ja ko nb-NO nl pl pt-BR pt-PT ru sv-SE zh-CN zh-TW; do |
246 for _match in ar ca cs da de en-GB es-AR es-CL es-ES fi fr hu it ja ko nb-NO nl pl pt-BR pt-PT ru sv-SE zh-CN zh-TW; do |
378 %if %localize |
378 %if %localize |
379 |
379 |
380 %files translations-common -f %{_tmppath}/translations.common |
380 %files translations-common -f %{_tmppath}/translations.common |
381 %defattr(-,root,root) |
381 %defattr(-,root,root) |
382 %dir %{progdir} |
382 %dir %{progdir} |
383 %dir %{progdir}/chrome/ |
383 %dir %{progdir}/extensions/ |
384 |
384 |
385 %files translations-other -f %{_tmppath}/translations.other |
385 %files translations-other -f %{_tmppath}/translations.other |
386 %defattr(-,root,root) |
386 %defattr(-,root,root) |
387 %dir %{progdir} |
387 %dir %{progdir} |
388 %dir %{progdir}/chrome/ |
388 %dir %{progdir}/extensions/ |
389 %endif |
389 %endif |
390 |
390 |
391 %files branding-upstream |
391 %files branding-upstream |
392 %defattr(-,root,root) |
392 %defattr(-,root,root) |
393 %dir %{progdir} |
393 %dir %{progdir} |