MozillaFirefox/MozillaFirefox.spec
changeset 281 0bdc059f7280
parent 279 eb9e33036fb4
child 282 78a523efc513
equal deleted inserted replaced
280:37650d092283 281:0bdc059f7280
    33 BuildRequires:  mozilla-nss-devel >= 3.12.8
    33 BuildRequires:  mozilla-nss-devel >= 3.12.8
    34 BuildRequires:  nss-shared-helper-devel
    34 BuildRequires:  nss-shared-helper-devel
    35 License:        MPLv1.1 or GPLv2+ or LGPLv2+
    35 License:        MPLv1.1 or GPLv2+ or LGPLv2+
    36 Version:        %{mainver}
    36 Version:        %{mainver}
    37 Release:        1
    37 Release:        1
    38 %define         releasedate 2011061300
    38 %define         releasedate 2011061400
    39 Provides:       web_browser
    39 Provides:       web_browser
    40 Provides:       firefox = %{version}-%{release}
    40 Provides:       firefox = %{version}-%{release}
    41 Provides:       firefox = %{mainver}
    41 Provides:       firefox = %{mainver}
    42 # this is needed to match this package with the kde4 helper package without the main package
    42 # this is needed to match this package with the kde4 helper package without the main package
    43 # having a hard requirement on the kde4 package
    43 # having a hard requirement on the kde4 package
   144 of MozillaFirefox.
   144 of MozillaFirefox.
   145 
   145 
   146 %package translations-other
   146 %package translations-other
   147 Summary:        Extra translations for MozillaFirefox
   147 Summary:        Extra translations for MozillaFirefox
   148 License:        MPLv1.1 or GPLv2+ or LGPLv2+
   148 License:        MPLv1.1 or GPLv2+ or LGPLv2+
   149 Provides:       locale(%{name}:af;ak;ast;be;bg;bn_BD;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;zu)
   149 Provides:       locale(%{name}:af;ak;ast;be;bg;bn_BD;bn_IN;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu)
   150 Group:          System/Localization
   150 Group:          System/Localization
   151 Requires:       %{name} = %{version}
   151 Requires:       %{name} = %{version}
   152 Obsoletes:      %{name}-translations < %{version}-%{release}
   152 Obsoletes:      %{name}-translations < %{version}-%{release}
   153 
   153 
   154 %description translations-other
   154 %description translations-other
   317 %if %localize
   317 %if %localize
   318 rm -f %{_tmppath}/translations.*
   318 rm -f %{_tmppath}/translations.*
   319 touch %{_tmppath}/translations.{common,other}
   319 touch %{_tmppath}/translations.{common,other}
   320 for locale in $(awk '{ print $1; }' ../mozilla/browser/locales/shipped-locales); do
   320 for locale in $(awk '{ print $1; }' ../mozilla/browser/locales/shipped-locales); do
   321   case $locale in
   321   case $locale in
   322    ja-JP-mac|en-US|bn-IN)
   322    ja-JP-mac|en-US)
   323 	;;
   323 	;;
   324    *)
   324    *)
   325    	pushd $RPM_BUILD_DIR/compare-locales
   325    	pushd $RPM_BUILD_DIR/compare-locales
   326 	PYTHONPATH=lib \
   326 	PYTHONPATH=lib \
   327 	  scripts/compare-locales -m ../l10n-merged/$locale \
   327 	  scripts/compare-locales -m ../l10n-merged/$locale \