mozilla-xulrunner20/mozilla-xulrunner20.spec
branchmozilla-2.0
changeset 266 0c52b02bd7c2
parent 247 71521dfedb0b
child 267 7d9f9229a57d
equal deleted inserted replaced
252:5477a696d8f6 266:0c52b02bd7c2
    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:        MPLv1.1 or GPLv2+ or LGPLv2+
    32 License:        MPLv1.1 or GPLv2+ or LGPLv2+
    33 Version:        2.0.0
    33 Version:        2.0.1
    34 Release:        1
    34 Release:        1
    35 %define         releasedate 2011031700
    35 %define         releasedate 2011041400
    36 %define         version_internal 2.0.0
    36 %define         version_internal 2.0.0
    37 %define         apiversion 2.0
    37 %define         apiversion 2.0
    38 %define         uaweight 200000
    38 %define         uaweight 200100
    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
    42 Provides:       gecko20
    42 Provides:       gecko20
    43 # this is needed to match this package with the kde4 helper package without the main package
    43 # this is needed to match this package with the kde4 helper package without the main package
    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 Patch8:         mozilla-cairo-lcd.patch
    68 # PATCH-FEATURE-SLED FATE#302023, FATE#302024
    68 # PATCH-FEATURE-SLED FATE#302023, FATE#302024
    69 Patch9:         mozilla-gconf-backend.patch
    69 Patch9:         mozilla-gconf-backend.patch
    70 Patch10:         gecko-lockdown.patch
    70 Patch10:        gecko-lockdown.patch
    71 Patch11:        toolkit-ui-lockdown.patch
    71 Patch11:        toolkit-ui-lockdown.patch
    72 # ---
    72 # ---
    73 Patch12:        mozilla-cpuid.patch
    73 Patch12:        mozilla-cpuid.patch
    74 Patch13:        mozilla-language.patch
    74 Patch13:        mozilla-language.patch
    75 Patch14:        mozilla-gio.patch
    75 Patch14:        mozilla-gio.patch
    76 Patch15:        mozilla-cairo-return.patch
    76 Patch15:        mozilla-cairo-return.patch
    77 Patch16:        mozilla-ntlm-full-path.patch
    77 Patch16:        mozilla-ntlm-full-path.patch
    78 Patch17:        mozilla-gecko-version.patch
    78 Patch17:        mozilla-gcc46.patch
    79 Patch18:        mozilla-gcc46.patch
       
    80 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    79 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    81 Requires:       mozilla-js20 = %{version}
    80 Requires:       mozilla-js20 = %{version}
    82 Requires(post):  update-alternatives coreutils
    81 Requires(post):  update-alternatives coreutils
    83 Requires(preun): update-alternatives coreutils
    82 Requires(preun): update-alternatives coreutils
    84 ### build configuration ###
    83 ### build configuration ###
   220 %patch13 -p1
   219 %patch13 -p1
   221 %patch14 -p1
   220 %patch14 -p1
   222 %patch15 -p1
   221 %patch15 -p1
   223 %patch16 -p1
   222 %patch16 -p1
   224 %patch17 -p1
   223 %patch17 -p1
   225 %patch18 -p1
       
   226 
   224 
   227 %build
   225 %build
   228 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)
   229 if test "$kdehelperversion" != %{kde_helper_version}; then
   227 if test "$kdehelperversion" != %{kde_helper_version}; then
   230   echo fix kde helper version in the .spec file
   228   echo fix kde helper version in the .spec file