MozillaFirefox/MozillaFirefox.spec
branchfirefox31
changeset 755 8aa069920665
parent 750 e996b96840ba
child 770 a17aa3347767
equal deleted inserted replaced
754:b294bc0cb51e 755:8aa069920665
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    17 #
    17 #
    18 
    18 
    19 
    19 
    20 %define major 31
    20 %define major 31
    21 %define mainver %major.0
    21 %define mainver %major.1.0
    22 %define update_channel release
    22 %define update_channel esr31
    23 
    23 
    24 %if %suse_version > 1210
    24 %if %suse_version > 1210
    25 %if %suse_version > 1310
    25 %if %suse_version > 1310
    26 %define gstreamer_ver 1.0
    26 %define gstreamer_ver 1.0
    27 %define gstreamer 1
    27 %define gstreamer 1
    38 BuildRequires:  gcc-c++
    38 BuildRequires:  gcc-c++
    39 BuildRequires:  libcurl-devel
    39 BuildRequires:  libcurl-devel
    40 BuildRequires:  libgnomeui-devel
    40 BuildRequires:  libgnomeui-devel
    41 BuildRequires:  libidl-devel
    41 BuildRequires:  libidl-devel
    42 BuildRequires:  libnotify-devel
    42 BuildRequires:  libnotify-devel
       
    43 %if %suse_version > 1140
    43 BuildRequires:  makeinfo
    44 BuildRequires:  makeinfo
       
    45 %endif
    44 BuildRequires:  python-devel
    46 BuildRequires:  python-devel
    45 BuildRequires:  startup-notification-devel
    47 BuildRequires:  startup-notification-devel
    46 BuildRequires:  unzip
    48 BuildRequires:  unzip
    47 BuildRequires:  update-desktop-files
    49 BuildRequires:  update-desktop-files
    48 BuildRequires:  xorg-x11-libXt-devel
    50 BuildRequires:  xorg-x11-libXt-devel
       
    51 BuildRequires:  xz
    49 BuildRequires:  yasm
    52 BuildRequires:  yasm
    50 BuildRequires:  zip
    53 BuildRequires:  zip
    51 %if %suse_version > 1110
    54 %if %suse_version > 1110
    52 BuildRequires:  libiw-devel
    55 BuildRequires:  libiw-devel
    53 BuildRequires:  libproxy-devel
    56 BuildRequires:  libproxy-devel
    72 Recommends:     gstreamer-0_10-plugins-ffmpeg
    75 Recommends:     gstreamer-0_10-plugins-ffmpeg
    73 %endif
    76 %endif
    74 %endif
    77 %endif
    75 Version:        %{mainver}
    78 Version:        %{mainver}
    76 Release:        0
    79 Release:        0
    77 %define         releasedate 2014072000
    80 %define         releasedate 2014082900
    78 Provides:       firefox = %{mainver}
    81 Provides:       firefox = %{mainver}
    79 Provides:       firefox = %{version}-%{release}
    82 Provides:       firefox = %{version}-%{release}
    80 Provides:       web_browser
    83 Provides:       web_browser
    81 Provides:       browser(npapi)
    84 Provides:       browser(npapi)
    82 # this is needed to match this package with the kde4 helper package without the main package
    85 # this is needed to match this package with the kde4 helper package without the main package
   115 Patch10:        mozilla-sle11.patch
   118 Patch10:        mozilla-sle11.patch
   116 Patch11:        mozilla-icu-strncat.patch
   119 Patch11:        mozilla-icu-strncat.patch
   117 Patch12:        mozilla-arm-disable-edsp.patch
   120 Patch12:        mozilla-arm-disable-edsp.patch
   118 Patch13:        mozilla-ppc.patch
   121 Patch13:        mozilla-ppc.patch
   119 Patch14:        mozilla-libproxy-compat.patch
   122 Patch14:        mozilla-libproxy-compat.patch
       
   123 Patch15:        mozilla-nullptr-gcc45.patch
   120 # Gecko/Toolkit AArch64 Porting
   124 # Gecko/Toolkit AArch64 Porting
   121 Patch30:        mozilla-aarch64-bmo-810631.patch
   125 Patch30:        mozilla-aarch64-bmo-810631.patch
   122 
   126 
   123 # Firefox/browser
   127 # Firefox/browser
   124 Patch101:       firefox-kde.patch
   128 Patch101:       firefox-kde.patch
   257 %endif
   261 %endif
   258 %patch11 -p1
   262 %patch11 -p1
   259 %patch12 -p1
   263 %patch12 -p1
   260 %patch13 -p1
   264 %patch13 -p1
   261 %patch14 -p1
   265 %patch14 -p1
       
   266 %patch15 -p1
   262 %patch30 -p1
   267 %patch30 -p1
   263 
   268 
   264 # Firefox
   269 # Firefox
   265 %patch101 -p1
   270 %patch101 -p1
   266 %if %suse_version >= 1140
   271 %if %suse_version >= 1140