MozillaFirefox/MozillaFirefox.spec
changeset 630 72f6f8dbdb4f
parent 629 f454588ac85b
child 634 3fbce5dd16c2
equal deleted inserted replaced
618:49dc6da2c835 630:72f6f8dbdb4f
    15 
    15 
    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 19
    20 %define major 20
    21 %define mainver %major.98
    21 %define mainver %major.98
    22 %define update_channel aurora
    22 %define update_channel aurora
       
    23 
       
    24 %if %suse_version > 1220
       
    25 %define gstreamer_ver 1.0
       
    26 %else
       
    27 %define gstreamer_ver 0.10
       
    28 %endif
    23 
    29 
    24 Name:           MozillaFirefox
    30 Name:           MozillaFirefox
    25 BuildRequires:  Mesa-devel
    31 BuildRequires:  Mesa-devel
    26 BuildRequires:  autoconf213
    32 BuildRequires:  autoconf213
    27 BuildRequires:  dbus-1-glib-devel
    33 BuildRequires:  dbus-1-glib-devel
    42 BuildRequires:  libiw-devel
    48 BuildRequires:  libiw-devel
    43 BuildRequires:  libproxy-devel
    49 BuildRequires:  libproxy-devel
    44 %else
    50 %else
    45 BuildRequires:  wireless-tools
    51 BuildRequires:  wireless-tools
    46 %endif
    52 %endif
    47 BuildRequires:  mozilla-nspr-devel >= 4.9.5
    53 BuildRequires:  mozilla-nspr-devel >= 4.9.6
    48 BuildRequires:  mozilla-nss-devel >= 3.14.2
    54 BuildRequires:  mozilla-nss-devel >= 3.14.3
    49 BuildRequires:  nss-shared-helper-devel
    55 BuildRequires:  nss-shared-helper-devel
    50 %if %suse_version > 1140
    56 %if %suse_version > 1140
    51 BuildRequires:  pkgconfig(gstreamer-0.10)
    57 BuildRequires:  pkgconfig(gstreamer-%gstreamer_ver)
    52 BuildRequires:  pkgconfig(gstreamer-app-0.10)
    58 BuildRequires:  pkgconfig(gstreamer-app-%gstreamer_ver)
    53 BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
    59 BuildRequires:  pkgconfig(gstreamer-plugins-base-%gstreamer_ver)
    54 %endif
    60 %endif
    55 Version:        %{mainver}
    61 Version:        %{mainver}
    56 Release:        0
    62 Release:        0
    57 %define         releasedate 2013020200
    63 %define         releasedate 2013030800
    58 Provides:       firefox = %{mainver}
    64 Provides:       firefox = %{mainver}
    59 Provides:       firefox = %{version}-%{release}
    65 Provides:       firefox = %{version}-%{release}
    60 Provides:       web_browser
    66 Provides:       web_browser
    61 Provides:       browser(npapi)
    67 Provides:       browser(npapi)
    62 # this is needed to match this package with the kde4 helper package without the main package
    68 # this is needed to match this package with the kde4 helper package without the main package
    96 Patch11:        mozilla-disable-neon-option.patch
   102 Patch11:        mozilla-disable-neon-option.patch
    97 Patch12:        mozilla-arm-disable-edsp.patch
   103 Patch12:        mozilla-arm-disable-edsp.patch
    98 Patch13:        mozilla-ppc.patch
   104 Patch13:        mozilla-ppc.patch
    99 Patch14:        mozilla-gstreamer-760140.patch
   105 Patch14:        mozilla-gstreamer-760140.patch
   100 Patch15:        mozilla-libproxy-compat.patch
   106 Patch15:        mozilla-libproxy-compat.patch
       
   107 Patch16:        mozilla-gstreamer-1.patch
   101 # Firefox/browser
   108 # Firefox/browser
   102 Patch30:        firefox-browser-css.patch
   109 Patch30:        firefox-browser-css.patch
   103 Patch31:        firefox-kde.patch
   110 Patch31:        firefox-kde.patch
   104 Patch32:        firefox-kde-114.patch
   111 Patch32:        firefox-kde-114.patch
   105 Patch33:        firefox-no-default-ualocale.patch
   112 Patch33:        firefox-no-default-ualocale.patch
   230 #%patch11 -p1
   237 #%patch11 -p1
   231 %patch12 -p1
   238 %patch12 -p1
   232 %patch13 -p1
   239 %patch13 -p1
   233 %patch14 -p1
   240 %patch14 -p1
   234 %patch15 -p1
   241 %patch15 -p1
       
   242 %patch16 -p1
   235 #
   243 #
   236 %patch30 -p1
   244 %patch30 -p1
   237 %if %suse_version >= 1110
   245 %if %suse_version >= 1110
   238 %patch31 -p1
   246 %patch31 -p1
   239 %endif
   247 %endif
   302 ac_add_options --enable-gio
   310 ac_add_options --enable-gio
   303 EOF
   311 EOF
   304 %endif
   312 %endif
   305 %if %suse_version > 1140
   313 %if %suse_version > 1140
   306 cat << EOF >> $MOZCONFIG
   314 cat << EOF >> $MOZCONFIG
   307 ac_add_options --enable-gstreamer
   315 ac_add_options --enable-gstreamer=%{gstreamer_ver}
   308 EOF
   316 EOF
   309 %endif
   317 %endif
   310 %if %branding
   318 %if %branding
   311 cat << EOF >> $MOZCONFIG
   319 cat << EOF >> $MOZCONFIG
   312 ac_add_options --enable-official-branding
   320 ac_add_options --enable-official-branding