MozillaFirefox/MozillaFirefox.spec
changeset 382 67f876aafae8
parent 378 dfb824794771
child 386 7784e72b1a3a
equal deleted inserted replaced
380:0887a88b1e85 382:67f876aafae8
    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 10
    20 %define major 10
    21 %define mainver %major.0
    21 %define mainver %major.99
    22 
    22 
    23 Name:           MozillaFirefox
    23 Name:           MozillaFirefox
    24 BuildRequires:  Mesa-devel
    24 BuildRequires:  Mesa-devel
    25 BuildRequires:  autoconf213
    25 BuildRequires:  autoconf213
    26 BuildRequires:  dbus-1-glib-devel
    26 BuildRequires:  dbus-1-glib-devel
    40 BuildRequires:  libiw-devel
    40 BuildRequires:  libiw-devel
    41 BuildRequires:  libproxy-devel
    41 BuildRequires:  libproxy-devel
    42 %else
    42 %else
    43 BuildRequires:  wireless-tools
    43 BuildRequires:  wireless-tools
    44 %endif
    44 %endif
    45 BuildRequires:  mozilla-nspr-devel >= 4.8.9
    45 BuildRequires:  mozilla-nspr-devel >= 4.9.0
    46 BuildRequires:  mozilla-nss-devel >= 3.13.1
    46 BuildRequires:  mozilla-nss-devel >= 3.13.2
    47 BuildRequires:  nss-shared-helper-devel
    47 BuildRequires:  nss-shared-helper-devel
    48 Version:        %{mainver}
    48 Version:        %{mainver}
    49 Release:        0
    49 Release:        0
    50 %define         releasedate 2012012900
    50 %define         releasedate 2012020300
    51 Provides:       web_browser
    51 Provides:       web_browser
    52 Provides:       firefox = %{version}-%{release}
    52 Provides:       firefox = %{version}-%{release}
    53 Provides:       firefox = %{mainver}
    53 Provides:       firefox = %{mainver}
    54 # this is needed to match this package with the kde4 helper package without the main package
    54 # this is needed to match this package with the kde4 helper package without the main package
    55 # having a hard requirement on the kde4 package
    55 # having a hard requirement on the kde4 package
    84 Patch8:         mozilla-ntlm-full-path.patch
    84 Patch8:         mozilla-ntlm-full-path.patch
    85 Patch9:         mozilla-repo.patch
    85 Patch9:         mozilla-repo.patch
    86 Patch10:        mozilla-dump_syms-static.patch
    86 Patch10:        mozilla-dump_syms-static.patch
    87 Patch11:        mozilla-sle11.patch
    87 Patch11:        mozilla-sle11.patch
    88 Patch12:        mozilla-linux3.patch
    88 Patch12:        mozilla-linux3.patch
    89 Patch13:        mozilla-a11y.patch
       
    90 Patch14:        mozilla-disable-neon-option.patch
    89 Patch14:        mozilla-disable-neon-option.patch
    91 Patch15:        mozilla-bmo703534.patch
    90 Patch15:        mozilla-yarr-pcre.patch
    92 Patch16:        mozilla-yarr-pcre.patch
       
    93 # Firefox/browser
    91 # Firefox/browser
    94 Patch31:        firefox-browser-css.patch
    92 Patch31:        firefox-browser-css.patch
    95 Patch32:        firefox-cross-desktop.patch
    93 Patch32:        firefox-cross-desktop.patch
    96 Patch33:        firefox-kde.patch
    94 Patch33:        firefox-kde.patch
    97 Patch34:        firefox-kde-114.patch
    95 Patch34:        firefox-kde-114.patch
   214 %patch10 -p1
   212 %patch10 -p1
   215 %if %suse_version < 1120
   213 %if %suse_version < 1120
   216 %patch11 -p1
   214 %patch11 -p1
   217 %endif
   215 %endif
   218 %patch12 -p1
   216 %patch12 -p1
   219 %patch13 -p1
       
   220 %patch14 -p1
   217 %patch14 -p1
   221 %patch15 -p1
   218 %patch15 -p1
   222 %patch16 -p1
       
   223 #
   219 #
   224 %patch31 -p1
   220 %patch31 -p1
   225 %patch32 -p1
   221 %patch32 -p1
   226 %if %suse_version >= 1110
   222 %if %suse_version >= 1110
   227 #%patch33 -p1
   223 #%patch33 -p1
   280 ac_add_options --disable-updater
   276 ac_add_options --disable-updater
   281 ac_add_options --disable-tests
   277 ac_add_options --disable-tests
   282 ac_add_options --disable-debug
   278 ac_add_options --disable-debug
   283 ac_add_options --enable-startup-notification
   279 ac_add_options --enable-startup-notification
   284 #ac_add_options --enable-chrome-format=jar
   280 #ac_add_options --enable-chrome-format=jar
   285 ac_add_options --enable-update-channel=release
   281 ac_add_options --enable-update-channel=beta
   286 EOF
   282 EOF
   287 %if %suse_version > 1130
   283 %if %suse_version > 1130
   288 cat << EOF >> $MOZCONFIG
   284 cat << EOF >> $MOZCONFIG
   289 ac_add_options --disable-gnomevfs
   285 ac_add_options --disable-gnomevfs
   290 ac_add_options --enable-gio
   286 ac_add_options --enable-gio