mozilla-xulrunner20/mozilla-xulrunner20.spec
changeset 237 676030198746
parent 236 a4f5954df3a3
child 239 99a267a3f1d3
equal deleted inserted replaced
236:a4f5954df3a3 237:676030198746
    62 Patch3:         idldir.patch
    62 Patch3:         idldir.patch
    63 Patch4:         mozilla-nongnome-proxies.patch
    63 Patch4:         mozilla-nongnome-proxies.patch
    64 Patch5:         mozilla-prefer_plugin_pref.patch
    64 Patch5:         mozilla-prefer_plugin_pref.patch
    65 Patch6:         mozilla-shared-nss-db.patch
    65 Patch6:         mozilla-shared-nss-db.patch
    66 Patch7:         mozilla-kde.patch
    66 Patch7:         mozilla-kde.patch
       
    67 Patch8:         mozilla-cairo-lcd.patch
    67 # PATCH-FEATURE-SLED FATE#302023, FATE#302024
    68 # PATCH-FEATURE-SLED FATE#302023, FATE#302024
    68 Patch8:         mozilla-gconf-backend.patch
    69 Patch9:         mozilla-gconf-backend.patch
    69 Patch9:         gecko-lockdown.patch
    70 Patch10:         gecko-lockdown.patch
    70 Patch10:        toolkit-ui-lockdown.patch
    71 Patch11:        toolkit-ui-lockdown.patch
    71 # ---
    72 # ---
    72 Patch11:        mozilla-cpuid.patch
    73 Patch12:        mozilla-cpuid.patch
    73 Patch12:        mozilla-language.patch
    74 Patch13:        mozilla-language.patch
    74 Patch13:        mozilla-gio.patch
    75 Patch14:        mozilla-gio.patch
    75 Patch14:        mozilla-cairo-return.patch
    76 Patch15:        mozilla-cairo-return.patch
    76 Patch15:        mozilla-ntlm-full-path.patch
    77 Patch16:        mozilla-ntlm-full-path.patch
    77 Patch16:        mozilla-gecko-version.patch
    78 Patch17:        mozilla-gecko-version.patch
    78 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    79 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    79 Requires:       mozilla-js20 = %{version}
    80 Requires:       mozilla-js20 = %{version}
    80 Requires(post):  update-alternatives coreutils
    81 Requires(post):  update-alternatives coreutils
    81 Requires(preun): update-alternatives coreutils
    82 Requires(preun): update-alternatives coreutils
    82 ### build configuration ###
    83 ### build configuration ###
   161 %package translations-other
   162 %package translations-other
   162 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   163 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   163 Summary:        Extra translations for XULRunner 2.0
   164 Summary:        Extra translations for XULRunner 2.0
   164 Group:          System/Localization
   165 Group:          System/Localization
   165 Requires:       %{name} = %{version}
   166 Requires:       %{name} = %{version}
   166 Provides:       locale(%{name}:af;ak;ast;be;bg;bn_BD;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;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)
   167 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)
   167 Obsoletes:      %{name}-translations < %{version}-%{release}
   168 Obsoletes:      %{name}-translations < %{version}-%{release}
   168 
   169 
   169 %description translations-other
   170 %description translations-other
   170 XULRunner is a single installable package that can be used to bootstrap
   171 XULRunner is a single installable package that can be used to bootstrap
   171 multiple XUL+XPCOM applications that are as rich as Firefox and
   172 multiple XUL+XPCOM applications that are as rich as Firefox and
   206 %patch3 -p1
   207 %patch3 -p1
   207 %patch4 -p1
   208 %patch4 -p1
   208 %patch5 -p1
   209 %patch5 -p1
   209 %patch6 -p1
   210 %patch6 -p1
   210 %patch7 -p1
   211 %patch7 -p1
   211 #%patch8 -p1
   212 %patch8 -p1
   212 #%patch9 -p1
   213 #%patch9 -p1
   213 #%patch10 -p1
   214 #%patch10 -p1
       
   215 #%patch11 -p1
   214 %if %suse_version < 1120
   216 %if %suse_version < 1120
   215 #%patch11 -p1
   217 #%patch12 -p1
   216 %endif
   218 %endif
   217 %patch12 -p1
       
   218 %patch13 -p1
   219 %patch13 -p1
   219 %patch14 -p1
   220 %patch14 -p1
   220 %patch15 -p1
   221 %patch15 -p1
   221 %patch16 -p1
   222 %patch16 -p1
       
   223 %patch17 -p1
   222 
   224 
   223 %build
   225 %build
   224 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   226 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   225 if test "$kdehelperversion" != %{kde_helper_version}; then
   227 if test "$kdehelperversion" != %{kde_helper_version}; then
   226   echo fix kde helper version in the .spec file
   228   echo fix kde helper version in the .spec file