mozilla-xulrunner20/mozilla-xulrunner20.spec
changeset 206 80e6366ea8ce
parent 203 3820fe99f0fe
child 208 37a3246f9d7e
equal deleted inserted replaced
205:71411f8585cd 206:80e6366ea8ce
    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.0b
    34 Release:        1
    34 Release:        1
    35 %define         releasedate 2010120700
    35 %define         releasedate 2010121400
    36 %define         version_internal 2.0b8pre
    36 %define         version_internal 2.0b8
    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
    74 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    75 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    75 Requires:       mozilla-js20 = %{version}
    76 Requires:       mozilla-js20 = %{version}
    76 Requires(post):  update-alternatives coreutils
    77 Requires(post):  update-alternatives coreutils
    77 Requires(preun): update-alternatives coreutils
    78 Requires(preun): update-alternatives coreutils
    78 ### build configuration ###
    79 ### build configuration ###
   209 #%patch10 -p1
   210 #%patch10 -p1
   210 %if %suse_version < 1120
   211 %if %suse_version < 1120
   211 %patch11 -p1
   212 %patch11 -p1
   212 %endif
   213 %endif
   213 %patch12 -p1
   214 %patch12 -p1
       
   215 %patch13 -p1
   214 
   216 
   215 %build
   217 %build
   216 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   218 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   217 if test "$kdehelperversion" != %{kde_helper_version}; then
   219 if test "$kdehelperversion" != %{kde_helper_version}; then
   218   echo fix kde helper version in the .spec file
   220   echo fix kde helper version in the .spec file