mozilla-xulrunner20/mozilla-xulrunner20.spec
changeset 226 6bf3bb4c115e
parent 224 f6a61d48d483
child 228 9ba8fb8909c4
equal deleted inserted replaced
225:5a7504b93699 226:6bf3bb4c115e
     1 #
     1 #
     2 # spec file for package mozilla-xulrunner20 (Version 2.0b10)
     2 # spec file for package mozilla-xulrunner20 (Version 2.0b11)
     3 #
     3 #
     4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
     4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
     5 #               2006-2011 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
    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.0b10
    33 Version:        2.0b11
    34 Release:        1
    34 Release:        1
    35 %define         releasedate 2011012100
    35 %define         releasedate 2011020200
    36 %define         version_internal 2.0b10
    36 %define         version_internal 2.0b11
    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
    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-gio.patch
    74 Patch13:        mozilla-gio.patch
       
    75 Patch14:        mozilla-cairo-return.patch
    75 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    76 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    76 Requires:       mozilla-js20 = %{version}
    77 Requires:       mozilla-js20 = %{version}
    77 Requires(post):  update-alternatives coreutils
    78 Requires(post):  update-alternatives coreutils
    78 Requires(preun): update-alternatives coreutils
    79 Requires(preun): update-alternatives coreutils
    79 ### build configuration ###
    80 ### build configuration ###
   211 %if %suse_version < 1120
   212 %if %suse_version < 1120
   212 #%patch11 -p1
   213 #%patch11 -p1
   213 %endif
   214 %endif
   214 %patch12 -p1
   215 %patch12 -p1
   215 %patch13 -p1
   216 %patch13 -p1
       
   217 %patch14 -p1
   216 
   218 
   217 %build
   219 %build
   218 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   220 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   219 if test "$kdehelperversion" != %{kde_helper_version}; then
   221 if test "$kdehelperversion" != %{kde_helper_version}; then
   220   echo fix kde helper version in the .spec file
   222   echo fix kde helper version in the .spec file