mozilla-xulrunner20/mozilla-xulrunner20.spec
changeset 208 37a3246f9d7e
parent 206 80e6366ea8ce
child 210 f4f4388b26a8
equal deleted inserted replaced
207:2c6c3d0a8b61 208:37a3246f9d7e
     1 #
     1 #
     2 # spec file for package mozilla-xulrunner20 (Version 2.0b)
     2 # spec file for package mozilla-xulrunner20 (Version 2.0b8)
     3 #
     3 #
     4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
     4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
     5 #               2006-2010 Wolfgang Rosenauer
     5 #               2006-2011 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
     8 # remain the property of their copyright owners, unless otherwise agreed
     8 # remain the property of their copyright owners, unless otherwise agreed
     9 # upon. The license for this file, and modifications and additions to the
     9 # upon. The license for this file, and modifications and additions to the
    10 # file, is the same license as for the pristine package itself (unless the
    10 # file, is the same license as for the pristine package itself (unless the
    28 BuildRequires:  libproxy-devel
    28 BuildRequires:  libproxy-devel
    29 %else
    29 %else
    30 BuildRequires:  wireless-tools
    30 BuildRequires:  wireless-tools
    31 %endif
    31 %endif
    32 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    32 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    33 Version:        2.0b
    33 Version:        2.0b8
    34 Release:        1
    34 Release:        1
    35 %define         releasedate 2010121400
    35 %define         releasedate 2011010500
    36 %define         version_internal 2.0b8
    36 %define         version_internal 2.0b9pre
    37 %define         apiversion 2.0
    37 %define         apiversion 2.0
    38 %define         uaweight 199900
    38 %define         uaweight 199900
    39 Summary:        Mozilla Runtime Environment 2.0
    39 Summary:        Mozilla Runtime Environment 2.0
    40 Url:            http://www.mozilla.org
    40 Url:            http://www.mozilla.org
    41 Group:          Productivity/Other
    41 Group:          Productivity/Other
    69 Patch9:         gecko-lockdown.patch
    69 Patch9:         gecko-lockdown.patch
    70 Patch10:        toolkit-ui-lockdown.patch
    70 Patch10:        toolkit-ui-lockdown.patch
    71 # ---
    71 # ---
    72 Patch11:        mozilla-cpuid.patch
    72 Patch11:        mozilla-cpuid.patch
    73 Patch12:        mozilla-language.patch
    73 Patch12:        mozilla-language.patch
    74 Patch13:        mozilla-firefox-sync.patch
       
    75 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    74 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    76 Requires:       mozilla-js20 = %{version}
    75 Requires:       mozilla-js20 = %{version}
    77 Requires(post):  update-alternatives coreutils
    76 Requires(post):  update-alternatives coreutils
    78 Requires(preun): update-alternatives coreutils
    77 Requires(preun): update-alternatives coreutils
    79 ### build configuration ###
    78 ### build configuration ###
   210 #%patch10 -p1
   209 #%patch10 -p1
   211 %if %suse_version < 1120
   210 %if %suse_version < 1120
   212 %patch11 -p1
   211 %patch11 -p1
   213 %endif
   212 %endif
   214 %patch12 -p1
   213 %patch12 -p1
   215 %patch13 -p1
       
   216 
   214 
   217 %build
   215 %build
   218 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   216 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   219 if test "$kdehelperversion" != %{kde_helper_version}; then
   217 if test "$kdehelperversion" != %{kde_helper_version}; then
   220   echo fix kde helper version in the .spec file
   218   echo fix kde helper version in the .spec file