mozilla-xulrunner192/mozilla-xulrunner192.spec
changeset 46 c743908ffe6f
parent 45 f4afdb80c73c
child 50 00ee07727e73
equal deleted inserted replaced
45:f4afdb80c73c 46:c743908ffe6f
     1 #
     1 #
     2 # spec file for package mozilla-xulrunner192 (Version 1.9.2b5)
     2 # spec file for package mozilla-xulrunner192 (Version 1.9.2rc1)
     3 #
     3 #
     4 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
     4 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
     5 #               2006-2010 Wolfgang Rosenauer
     5 #               2006-2010 Wolfgang Rosenauer
     6 #
     6 #
     7 # All modifications and additions to the file contributed by third parties
     7 # All modifications and additions to the file contributed by third parties
    37 BuildRequires:  libproxy-devel
    37 BuildRequires:  libproxy-devel
    38 %else
    38 %else
    39 BuildRequires:  wireless-tools
    39 BuildRequires:  wireless-tools
    40 %endif
    40 %endif
    41 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    41 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    42 Version:        1.9.2b5
    42 Version:        1.9.2rc1
    43 Release:        1
    43 Release:        1
    44 %define         releasedate 2009120400
    44 %define         releasedate 2010010500
    45 %define         version_internal 1.9.2b5
    45 %define         version_internal 1.9.2.0
    46 %define         apiversion 1.9.2
    46 %define         apiversion 1.9.2
    47 %define         uaweight 191999
    47 %define         uaweight 192000
    48 Summary:        Mozilla Runtime Environment 1.9.2
    48 Summary:        Mozilla Runtime Environment 1.9.2
    49 Url:            http://www.mozilla.org
    49 Url:            http://www.mozilla.org
    50 Group:          Productivity/Other
    50 Group:          Productivity/Other
    51 Provides:       gecko192
    51 Provides:       gecko192
    52 %if %suse_version >= 1110
    52 %if %suse_version >= 1110
    80 # PATCH-FEATURE-SLED FATE#302023, FATE#302024
    80 # PATCH-FEATURE-SLED FATE#302023, FATE#302024
    81 Patch11:        mozilla-gconf-backend.patch
    81 Patch11:        mozilla-gconf-backend.patch
    82 Patch12:        gecko-lockdown.patch
    82 Patch12:        gecko-lockdown.patch
    83 Patch13:        toolkit-ui-lockdown.patch
    83 Patch13:        toolkit-ui-lockdown.patch
    84 # ---
    84 # ---
    85 Patch14:        mozilla-breakpad.patch
    85 Patch14:        mozilla-breakpad-update.patch
    86 Patch15:        mozilla-breakpad-update.patch
    86 Patch15:        mozilla-milestone.patch
    87 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    87 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    88 Requires(post):  update-alternatives coreutils
    88 Requires(post):  update-alternatives coreutils
    89 Requires(preun): update-alternatives coreutils
    89 Requires(preun): update-alternatives coreutils
    90 ### build configuration ###
    90 ### build configuration ###
    91 %ifarch %ix86
    91 %ifarch %ix86
   161 %package translations-other
   161 %package translations-other
   162 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   162 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   163 Summary:        Extra translations for XULRunner 1.9.2
   163 Summary:        Extra translations for XULRunner 1.9.2
   164 Group:          System/Localization
   164 Group:          System/Localization
   165 Requires:       %{name} = %{version}
   165 Requires:       %{name} = %{version}
   166 Provides:       locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi)
   166 Provides:       locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;ku;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi)
   167 Obsoletes:      %{name}-translations < %{version}-%{release}
   167 Obsoletes:      %{name}-translations < %{version}-%{release}
   168 
   168 
   169 %description translations-other
   169 %description translations-other
   170 XULRunner is a single installable package that can be used to bootstrap
   170 XULRunner is a single installable package that can be used to bootstrap
   171 multiple XUL+XPCOM applications that are as rich as Firefox and
   171 multiple XUL+XPCOM applications that are as rich as Firefox and
   216 %endif
   216 %endif
   217 %patch11 -p1
   217 %patch11 -p1
   218 %patch12 -p1
   218 %patch12 -p1
   219 %patch13 -p1
   219 %patch13 -p1
   220 %patch14 -p1
   220 %patch14 -p1
   221 #%patch15 -p1
   221 %patch15 -p1
   222 
   222 
   223 %build
   223 %build
   224 %if %suse_version >= 1110
   224 %if %suse_version >= 1110
   225 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   225 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   226 if test "$kdehelperversion" != %{kde_helper_version}; then
   226 if test "$kdehelperversion" != %{kde_helper_version}; then